AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateDomainResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/DataStoreResponse.h>
12#include <aws/customer-profiles/model/MatchingResponse.h>
13#include <aws/customer-profiles/model/RuleBasedMatchingResponse.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 CustomerProfiles {
27namespace Model {
29 public:
30 AWS_CUSTOMERPROFILES_API CreateDomainResult() = default;
33
35
38 inline const Aws::String& GetDomainName() const { return m_domainName; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
45 CreateDomainResult& WithDomainName(DomainNameT&& value) {
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
55 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
56 inline void SetDefaultExpirationDays(int value) {
57 m_defaultExpirationDaysHasBeenSet = true;
58 m_defaultExpirationDays = value;
59 }
62 return *this;
63 }
65
67
72 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
73 template <typename DefaultEncryptionKeyT = Aws::String>
74 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
75 m_defaultEncryptionKeyHasBeenSet = true;
76 m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value);
77 }
78 template <typename DefaultEncryptionKeyT = Aws::String>
79 CreateDomainResult& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
80 SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
91 template <typename DeadLetterQueueUrlT = Aws::String>
92 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
93 m_deadLetterQueueUrlHasBeenSet = true;
94 m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value);
95 }
96 template <typename DeadLetterQueueUrlT = Aws::String>
97 CreateDomainResult& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
98 SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value));
99 return *this;
100 }
102
104
116 inline const MatchingResponse& GetMatching() const { return m_matching; }
117 template <typename MatchingT = MatchingResponse>
118 void SetMatching(MatchingT&& value) {
119 m_matchingHasBeenSet = true;
120 m_matching = std::forward<MatchingT>(value);
121 }
122 template <typename MatchingT = MatchingResponse>
123 CreateDomainResult& WithMatching(MatchingT&& value) {
124 SetMatching(std::forward<MatchingT>(value));
125 return *this;
126 }
128
130
140 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
141 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
142 void SetRuleBasedMatching(RuleBasedMatchingT&& value) {
143 m_ruleBasedMatchingHasBeenSet = true;
144 m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value);
145 }
146 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
147 CreateDomainResult& WithRuleBasedMatching(RuleBasedMatchingT&& value) {
148 SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value));
149 return *this;
150 }
152
154
157 inline const DataStoreResponse& GetDataStore() const { return m_dataStore; }
158 template <typename DataStoreT = DataStoreResponse>
159 void SetDataStore(DataStoreT&& value) {
160 m_dataStoreHasBeenSet = true;
161 m_dataStore = std::forward<DataStoreT>(value);
162 }
163 template <typename DataStoreT = DataStoreResponse>
164 CreateDomainResult& WithDataStore(DataStoreT&& value) {
165 SetDataStore(std::forward<DataStoreT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
176 void SetCreatedAt(CreatedAtT&& value) {
177 m_createdAtHasBeenSet = true;
178 m_createdAt = std::forward<CreatedAtT>(value);
179 }
180 template <typename CreatedAtT = Aws::Utils::DateTime>
181 CreateDomainResult& WithCreatedAt(CreatedAtT&& value) {
182 SetCreatedAt(std::forward<CreatedAtT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
192 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
193 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
194 m_lastUpdatedAtHasBeenSet = true;
195 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
196 }
197 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
198 CreateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
199 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
209 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 void SetTags(TagsT&& value) {
211 m_tagsHasBeenSet = true;
212 m_tags = std::forward<TagsT>(value);
213 }
214 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 CreateDomainResult& WithTags(TagsT&& value) {
216 SetTags(std::forward<TagsT>(value));
217 return *this;
218 }
219 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
220 CreateDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
221 m_tagsHasBeenSet = true;
222 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
223 return *this;
224 }
226
228
229 inline const Aws::String& GetRequestId() const { return m_requestId; }
230 template <typename RequestIdT = Aws::String>
231 void SetRequestId(RequestIdT&& value) {
232 m_requestIdHasBeenSet = true;
233 m_requestId = std::forward<RequestIdT>(value);
234 }
235 template <typename RequestIdT = Aws::String>
236 CreateDomainResult& WithRequestId(RequestIdT&& value) {
237 SetRequestId(std::forward<RequestIdT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_domainName;
243
244 int m_defaultExpirationDays{0};
245
246 Aws::String m_defaultEncryptionKey;
247
248 Aws::String m_deadLetterQueueUrl;
249
250 MatchingResponse m_matching;
251
252 RuleBasedMatchingResponse m_ruleBasedMatching;
253
254 DataStoreResponse m_dataStore;
255
256 Aws::Utils::DateTime m_createdAt{};
257
258 Aws::Utils::DateTime m_lastUpdatedAt{};
259
261
262 Aws::String m_requestId;
263 bool m_domainNameHasBeenSet = false;
264 bool m_defaultExpirationDaysHasBeenSet = false;
265 bool m_defaultEncryptionKeyHasBeenSet = false;
266 bool m_deadLetterQueueUrlHasBeenSet = false;
267 bool m_matchingHasBeenSet = false;
268 bool m_ruleBasedMatchingHasBeenSet = false;
269 bool m_dataStoreHasBeenSet = false;
270 bool m_createdAtHasBeenSet = false;
271 bool m_lastUpdatedAtHasBeenSet = false;
272 bool m_tagsHasBeenSet = false;
273 bool m_requestIdHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace CustomerProfiles
278} // namespace Aws
CreateDomainResult & WithDomainName(DomainNameT &&value)
CreateDomainResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CUSTOMERPROFILES_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithMatching(MatchingT &&value)
CreateDomainResult & WithTags(TagsT &&value)
void SetDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
CreateDomainResult & WithDefaultExpirationDays(int value)
const RuleBasedMatchingResponse & GetRuleBasedMatching() const
CreateDomainResult & WithRuleBasedMatching(RuleBasedMatchingT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDomainResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CUSTOMERPROFILES_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CUSTOMERPROFILES_API CreateDomainResult()=default
CreateDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRuleBasedMatching(RuleBasedMatchingT &&value)
CreateDomainResult & WithDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
CreateDomainResult & WithDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
CreateDomainResult & WithDataStore(DataStoreT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
CreateDomainResult & WithCreatedAt(CreatedAtT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue