AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateCustomDomainAssociationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift {
24namespace Model {
26 public:
27 AWS_REDSHIFT_API CreateCustomDomainAssociationResult() = default;
30
32
35 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
36 template <typename CustomDomainNameT = Aws::String>
37 void SetCustomDomainName(CustomDomainNameT&& value) {
38 m_customDomainNameHasBeenSet = true;
39 m_customDomainName = std::forward<CustomDomainNameT>(value);
40 }
41 template <typename CustomDomainNameT = Aws::String>
43 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
54 template <typename CustomDomainCertificateArnT = Aws::String>
55 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
56 m_customDomainCertificateArnHasBeenSet = true;
57 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
58 }
59 template <typename CustomDomainCertificateArnT = Aws::String>
61 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
71 template <typename ClusterIdentifierT = Aws::String>
72 void SetClusterIdentifier(ClusterIdentifierT&& value) {
73 m_clusterIdentifierHasBeenSet = true;
74 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
75 }
76 template <typename ClusterIdentifierT = Aws::String>
78 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetCustomDomainCertExpiryTime() const { return m_customDomainCertExpiryTime; }
88 template <typename CustomDomainCertExpiryTimeT = Aws::String>
89 void SetCustomDomainCertExpiryTime(CustomDomainCertExpiryTimeT&& value) {
90 m_customDomainCertExpiryTimeHasBeenSet = true;
91 m_customDomainCertExpiryTime = std::forward<CustomDomainCertExpiryTimeT>(value);
92 }
93 template <typename CustomDomainCertExpiryTimeT = Aws::String>
95 SetCustomDomainCertExpiryTime(std::forward<CustomDomainCertExpiryTimeT>(value));
96 return *this;
97 }
99
101
102 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
103 template <typename ResponseMetadataT = ResponseMetadata>
104 void SetResponseMetadata(ResponseMetadataT&& value) {
105 m_responseMetadataHasBeenSet = true;
106 m_responseMetadata = std::forward<ResponseMetadataT>(value);
107 }
108 template <typename ResponseMetadataT = ResponseMetadata>
110 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_customDomainName;
118
119 Aws::String m_customDomainCertificateArn;
120
121 Aws::String m_clusterIdentifier;
122
123 Aws::String m_customDomainCertExpiryTime;
124
125 ResponseMetadata m_responseMetadata;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_customDomainNameHasBeenSet = false;
128 bool m_customDomainCertificateArnHasBeenSet = false;
129 bool m_clusterIdentifierHasBeenSet = false;
130 bool m_customDomainCertExpiryTimeHasBeenSet = false;
131 bool m_responseMetadataHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace Redshift
136} // namespace Aws
CreateCustomDomainAssociationResult & WithClusterIdentifier(ClusterIdentifierT &&value)
CreateCustomDomainAssociationResult & WithCustomDomainCertExpiryTime(CustomDomainCertExpiryTimeT &&value)
CreateCustomDomainAssociationResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateCustomDomainAssociationResult & WithCustomDomainName(CustomDomainNameT &&value)
CreateCustomDomainAssociationResult & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
AWS_REDSHIFT_API CreateCustomDomainAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API CreateCustomDomainAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument