AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetDomainResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/DataStoreResponse.h>
13#include <aws/customer-profiles/model/DomainStats.h>
14#include <aws/customer-profiles/model/MatchingResponse.h>
15#include <aws/customer-profiles/model/RuleBasedMatchingResponse.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles {
29namespace Model {
31 public:
32 AWS_CUSTOMERPROFILES_API GetDomainResult() = default;
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 template <typename DomainNameT = Aws::String>
42 void SetDomainName(DomainNameT&& value) {
43 m_domainNameHasBeenSet = true;
44 m_domainName = std::forward<DomainNameT>(value);
45 }
46 template <typename DomainNameT = Aws::String>
47 GetDomainResult& WithDomainName(DomainNameT&& value) {
48 SetDomainName(std::forward<DomainNameT>(value));
49 return *this;
50 }
52
54
57 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
58 inline void SetDefaultExpirationDays(int value) {
59 m_defaultExpirationDaysHasBeenSet = true;
60 m_defaultExpirationDays = value;
61 }
64 return *this;
65 }
67
69
74 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
75 template <typename DefaultEncryptionKeyT = Aws::String>
76 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
77 m_defaultEncryptionKeyHasBeenSet = true;
78 m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value);
79 }
80 template <typename DefaultEncryptionKeyT = Aws::String>
81 GetDomainResult& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
82 SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
93 template <typename DeadLetterQueueUrlT = Aws::String>
94 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
95 m_deadLetterQueueUrlHasBeenSet = true;
96 m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value);
97 }
98 template <typename DeadLetterQueueUrlT = Aws::String>
99 GetDomainResult& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
100 SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value));
101 return *this;
102 }
104
106
109 inline const DomainStats& GetStats() const { return m_stats; }
110 template <typename StatsT = DomainStats>
111 void SetStats(StatsT&& value) {
112 m_statsHasBeenSet = true;
113 m_stats = std::forward<StatsT>(value);
114 }
115 template <typename StatsT = DomainStats>
116 GetDomainResult& WithStats(StatsT&& value) {
117 SetStats(std::forward<StatsT>(value));
118 return *this;
119 }
121
123
135 inline const MatchingResponse& GetMatching() const { return m_matching; }
136 template <typename MatchingT = MatchingResponse>
137 void SetMatching(MatchingT&& value) {
138 m_matchingHasBeenSet = true;
139 m_matching = std::forward<MatchingT>(value);
140 }
141 template <typename MatchingT = MatchingResponse>
142 GetDomainResult& WithMatching(MatchingT&& value) {
143 SetMatching(std::forward<MatchingT>(value));
144 return *this;
145 }
147
149
159 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
160 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
161 void SetRuleBasedMatching(RuleBasedMatchingT&& value) {
162 m_ruleBasedMatchingHasBeenSet = true;
163 m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value);
164 }
165 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
166 GetDomainResult& WithRuleBasedMatching(RuleBasedMatchingT&& value) {
167 SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value));
168 return *this;
169 }
171
173
176 inline const DataStoreResponse& GetDataStore() const { return m_dataStore; }
177 template <typename DataStoreT = DataStoreResponse>
178 void SetDataStore(DataStoreT&& value) {
179 m_dataStoreHasBeenSet = true;
180 m_dataStore = std::forward<DataStoreT>(value);
181 }
182 template <typename DataStoreT = DataStoreResponse>
183 GetDomainResult& WithDataStore(DataStoreT&& value) {
184 SetDataStore(std::forward<DataStoreT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
194 template <typename CreatedAtT = Aws::Utils::DateTime>
195 void SetCreatedAt(CreatedAtT&& value) {
196 m_createdAtHasBeenSet = true;
197 m_createdAt = std::forward<CreatedAtT>(value);
198 }
199 template <typename CreatedAtT = Aws::Utils::DateTime>
200 GetDomainResult& WithCreatedAt(CreatedAtT&& value) {
201 SetCreatedAt(std::forward<CreatedAtT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
211 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
212 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
213 m_lastUpdatedAtHasBeenSet = true;
214 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
215 }
216 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
217 GetDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
218 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
219 return *this;
220 }
222
224
227 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
228 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 void SetTags(TagsT&& value) {
230 m_tagsHasBeenSet = true;
231 m_tags = std::forward<TagsT>(value);
232 }
233 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 GetDomainResult& WithTags(TagsT&& value) {
235 SetTags(std::forward<TagsT>(value));
236 return *this;
237 }
238 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
239 GetDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
240 m_tagsHasBeenSet = true;
241 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
242 return *this;
243 }
245
247
248 inline const Aws::String& GetRequestId() const { return m_requestId; }
249 template <typename RequestIdT = Aws::String>
250 void SetRequestId(RequestIdT&& value) {
251 m_requestIdHasBeenSet = true;
252 m_requestId = std::forward<RequestIdT>(value);
253 }
254 template <typename RequestIdT = Aws::String>
255 GetDomainResult& WithRequestId(RequestIdT&& value) {
256 SetRequestId(std::forward<RequestIdT>(value));
257 return *this;
258 }
260 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
261
262 private:
263 Aws::String m_domainName;
264
265 int m_defaultExpirationDays{0};
266
267 Aws::String m_defaultEncryptionKey;
268
269 Aws::String m_deadLetterQueueUrl;
270
271 DomainStats m_stats;
272
273 MatchingResponse m_matching;
274
275 RuleBasedMatchingResponse m_ruleBasedMatching;
276
277 DataStoreResponse m_dataStore;
278
279 Aws::Utils::DateTime m_createdAt{};
280
281 Aws::Utils::DateTime m_lastUpdatedAt{};
282
284
285 Aws::String m_requestId;
286 Aws::Http::HttpResponseCode m_HttpResponseCode;
287 bool m_domainNameHasBeenSet = false;
288 bool m_defaultExpirationDaysHasBeenSet = false;
289 bool m_defaultEncryptionKeyHasBeenSet = false;
290 bool m_deadLetterQueueUrlHasBeenSet = false;
291 bool m_statsHasBeenSet = false;
292 bool m_matchingHasBeenSet = false;
293 bool m_ruleBasedMatchingHasBeenSet = false;
294 bool m_dataStoreHasBeenSet = false;
295 bool m_createdAtHasBeenSet = false;
296 bool m_lastUpdatedAtHasBeenSet = false;
297 bool m_tagsHasBeenSet = false;
298 bool m_requestIdHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace CustomerProfiles
303} // namespace Aws
GetDomainResult & WithCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDomainResult & WithRuleBasedMatching(RuleBasedMatchingT &&value)
GetDomainResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_CUSTOMERPROFILES_API GetDomainResult()=default
GetDomainResult & WithDomainName(DomainNameT &&value)
GetDomainResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDefaultEncryptionKey() const
GetDomainResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDomainResult & WithDataStore(DataStoreT &&value)
void SetDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
const DataStoreResponse & GetDataStore() const
const RuleBasedMatchingResponse & GetRuleBasedMatching() const
const MatchingResponse & GetMatching() const
GetDomainResult & WithDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
GetDomainResult & WithStats(StatsT &&value)
GetDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDomainResult & WithMatching(MatchingT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CUSTOMERPROFILES_API GetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
GetDomainResult & WithDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
void SetRuleBasedMatching(RuleBasedMatchingT &&value)
const Aws::String & GetDeadLetterQueueUrl() const
AWS_CUSTOMERPROFILES_API GetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainResult & WithDefaultExpirationDays(int 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