AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
ModifyCustomDomainAssociationResult.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 ModifyCustomDomainAssociationResult() = default;
30
32
36 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
37 template <typename CustomDomainNameT = Aws::String>
38 void SetCustomDomainName(CustomDomainNameT&& value) {
39 m_customDomainNameHasBeenSet = true;
40 m_customDomainName = std::forward<CustomDomainNameT>(value);
41 }
42 template <typename CustomDomainNameT = Aws::String>
44 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
55 template <typename CustomDomainCertificateArnT = Aws::String>
56 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
57 m_customDomainCertificateArnHasBeenSet = true;
58 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
59 }
60 template <typename CustomDomainCertificateArnT = Aws::String>
62 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
73 template <typename ClusterIdentifierT = Aws::String>
74 void SetClusterIdentifier(ClusterIdentifierT&& value) {
75 m_clusterIdentifierHasBeenSet = true;
76 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
77 }
78 template <typename ClusterIdentifierT = Aws::String>
80 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetCustomDomainCertExpiryTime() const { return m_customDomainCertExpiryTime; }
91 template <typename CustomDomainCertExpiryTimeT = Aws::String>
92 void SetCustomDomainCertExpiryTime(CustomDomainCertExpiryTimeT&& value) {
93 m_customDomainCertExpiryTimeHasBeenSet = true;
94 m_customDomainCertExpiryTime = std::forward<CustomDomainCertExpiryTimeT>(value);
95 }
96 template <typename CustomDomainCertExpiryTimeT = Aws::String>
98 SetCustomDomainCertExpiryTime(std::forward<CustomDomainCertExpiryTimeT>(value));
99 return *this;
100 }
102
104
105 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
106 template <typename ResponseMetadataT = ResponseMetadata>
107 void SetResponseMetadata(ResponseMetadataT&& value) {
108 m_responseMetadataHasBeenSet = true;
109 m_responseMetadata = std::forward<ResponseMetadataT>(value);
110 }
111 template <typename ResponseMetadataT = ResponseMetadata>
113 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
114 return *this;
115 }
117 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
118
119 private:
120 Aws::String m_customDomainName;
121
122 Aws::String m_customDomainCertificateArn;
123
124 Aws::String m_clusterIdentifier;
125
126 Aws::String m_customDomainCertExpiryTime;
127
128 ResponseMetadata m_responseMetadata;
129 Aws::Http::HttpResponseCode m_HttpResponseCode;
130 bool m_customDomainNameHasBeenSet = false;
131 bool m_customDomainCertificateArnHasBeenSet = false;
132 bool m_clusterIdentifierHasBeenSet = false;
133 bool m_customDomainCertExpiryTimeHasBeenSet = false;
134 bool m_responseMetadataHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Redshift
139} // namespace Aws
ModifyCustomDomainAssociationResult & WithCustomDomainName(CustomDomainNameT &&value)
ModifyCustomDomainAssociationResult & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
AWS_REDSHIFT_API ModifyCustomDomainAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyCustomDomainAssociationResult & WithCustomDomainCertExpiryTime(CustomDomainCertExpiryTimeT &&value)
AWS_REDSHIFT_API ModifyCustomDomainAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyCustomDomainAssociationResult & WithResponseMetadata(ResponseMetadataT &&value)
ModifyCustomDomainAssociationResult & WithClusterIdentifier(ClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument