AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
CreateDomainResult.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/connecthealth/model/DomainStatus.h>
9#include <aws/connecthealth/model/EncryptionContext.h>
10#include <aws/connecthealth/model/WebAppConfiguration.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ConnectHealth {
27namespace Model {
29 public:
30 AWS_CONNECTHEALTH_API CreateDomainResult() = default;
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
45 CreateDomainResult& WithDomainId(DomainIdT&& value) {
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
62 CreateDomainResult& WithArn(ArnT&& value) {
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
79 CreateDomainResult& WithName(NameT&& value) {
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
90 template <typename KmsKeyArnT = Aws::String>
91 void SetKmsKeyArn(KmsKeyArnT&& value) {
92 m_kmsKeyArnHasBeenSet = true;
93 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
94 }
95 template <typename KmsKeyArnT = Aws::String>
96 CreateDomainResult& WithKmsKeyArn(KmsKeyArnT&& value) {
97 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
98 return *this;
99 }
101
103
106 inline const EncryptionContext& GetEncryptionContext() const { return m_encryptionContext; }
107 template <typename EncryptionContextT = EncryptionContext>
108 void SetEncryptionContext(EncryptionContextT&& value) {
109 m_encryptionContextHasBeenSet = true;
110 m_encryptionContext = std::forward<EncryptionContextT>(value);
111 }
112 template <typename EncryptionContextT = EncryptionContext>
113 CreateDomainResult& WithEncryptionContext(EncryptionContextT&& value) {
114 SetEncryptionContext(std::forward<EncryptionContextT>(value));
115 return *this;
116 }
118
120
123 inline DomainStatus GetStatus() const { return m_status; }
124 inline void SetStatus(DomainStatus value) {
125 m_statusHasBeenSet = true;
126 m_status = value;
127 }
129 SetStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetWebAppUrl() const { return m_webAppUrl; }
139 template <typename WebAppUrlT = Aws::String>
140 void SetWebAppUrl(WebAppUrlT&& value) {
141 m_webAppUrlHasBeenSet = true;
142 m_webAppUrl = std::forward<WebAppUrlT>(value);
143 }
144 template <typename WebAppUrlT = Aws::String>
145 CreateDomainResult& WithWebAppUrl(WebAppUrlT&& value) {
146 SetWebAppUrl(std::forward<WebAppUrlT>(value));
147 return *this;
148 }
150
152
155 inline const WebAppConfiguration& GetWebAppConfiguration() const { return m_webAppConfiguration; }
156 template <typename WebAppConfigurationT = WebAppConfiguration>
157 void SetWebAppConfiguration(WebAppConfigurationT&& value) {
158 m_webAppConfigurationHasBeenSet = true;
159 m_webAppConfiguration = std::forward<WebAppConfigurationT>(value);
160 }
161 template <typename WebAppConfigurationT = WebAppConfiguration>
162 CreateDomainResult& WithWebAppConfiguration(WebAppConfigurationT&& value) {
163 SetWebAppConfiguration(std::forward<WebAppConfigurationT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) {
175 m_createdAtHasBeenSet = true;
176 m_createdAt = std::forward<CreatedAtT>(value);
177 }
178 template <typename CreatedAtT = Aws::Utils::DateTime>
179 CreateDomainResult& WithCreatedAt(CreatedAtT&& value) {
180 SetCreatedAt(std::forward<CreatedAtT>(value));
181 return *this;
182 }
184
186
187 inline const Aws::String& GetRequestId() const { return m_requestId; }
188 template <typename RequestIdT = Aws::String>
189 void SetRequestId(RequestIdT&& value) {
190 m_requestIdHasBeenSet = true;
191 m_requestId = std::forward<RequestIdT>(value);
192 }
193 template <typename RequestIdT = Aws::String>
194 CreateDomainResult& WithRequestId(RequestIdT&& value) {
195 SetRequestId(std::forward<RequestIdT>(value));
196 return *this;
197 }
199 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
200
201 private:
202 Aws::String m_domainId;
203
204 Aws::String m_arn;
205
206 Aws::String m_name;
207
208 Aws::String m_kmsKeyArn;
209
210 EncryptionContext m_encryptionContext;
211
213
214 Aws::String m_webAppUrl;
215
216 WebAppConfiguration m_webAppConfiguration;
217
218 Aws::Utils::DateTime m_createdAt{};
219
220 Aws::String m_requestId;
221 Aws::Http::HttpResponseCode m_HttpResponseCode;
222 bool m_domainIdHasBeenSet = false;
223 bool m_arnHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_kmsKeyArnHasBeenSet = false;
226 bool m_encryptionContextHasBeenSet = false;
227 bool m_statusHasBeenSet = false;
228 bool m_webAppUrlHasBeenSet = false;
229 bool m_webAppConfigurationHasBeenSet = false;
230 bool m_createdAtHasBeenSet = false;
231 bool m_requestIdHasBeenSet = false;
232};
233
234} // namespace Model
235} // namespace ConnectHealth
236} // namespace Aws
CreateDomainResult & WithWebAppConfiguration(WebAppConfigurationT &&value)
const EncryptionContext & GetEncryptionContext() const
CreateDomainResult & WithCreatedAt(CreatedAtT &&value)
AWS_CONNECTHEALTH_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithDomainId(DomainIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CONNECTHEALTH_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTHEALTH_API CreateDomainResult()=default
void SetEncryptionContext(EncryptionContextT &&value)
CreateDomainResult & WithKmsKeyArn(KmsKeyArnT &&value)
CreateDomainResult & WithWebAppUrl(WebAppUrlT &&value)
const WebAppConfiguration & GetWebAppConfiguration() const
void SetWebAppConfiguration(WebAppConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDomainResult & WithStatus(DomainStatus value)
CreateDomainResult & WithArn(ArnT &&value)
CreateDomainResult & WithRequestId(RequestIdT &&value)
CreateDomainResult & WithEncryptionContext(EncryptionContextT &&value)
CreateDomainResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue