AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UpdateDomainResult.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/MatchingResponse.h>
14#include <aws/customer-profiles/model/RuleBasedMatchingResponse.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CustomerProfiles {
28namespace Model {
30 public:
31 AWS_CUSTOMERPROFILES_API UpdateDomainResult() = default;
34
36
39 inline const Aws::String& GetDomainName() const { return m_domainName; }
40 template <typename DomainNameT = Aws::String>
41 void SetDomainName(DomainNameT&& value) {
42 m_domainNameHasBeenSet = true;
43 m_domainName = std::forward<DomainNameT>(value);
44 }
45 template <typename DomainNameT = Aws::String>
46 UpdateDomainResult& WithDomainName(DomainNameT&& value) {
47 SetDomainName(std::forward<DomainNameT>(value));
48 return *this;
49 }
51
53
56 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
57 inline void SetDefaultExpirationDays(int value) {
58 m_defaultExpirationDaysHasBeenSet = true;
59 m_defaultExpirationDays = value;
60 }
63 return *this;
64 }
66
68
73 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
74 template <typename DefaultEncryptionKeyT = Aws::String>
75 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
76 m_defaultEncryptionKeyHasBeenSet = true;
77 m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value);
78 }
79 template <typename DefaultEncryptionKeyT = Aws::String>
80 UpdateDomainResult& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) {
81 SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
92 template <typename DeadLetterQueueUrlT = Aws::String>
93 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
94 m_deadLetterQueueUrlHasBeenSet = true;
95 m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value);
96 }
97 template <typename DeadLetterQueueUrlT = Aws::String>
98 UpdateDomainResult& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) {
99 SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value));
100 return *this;
101 }
103
105
117 inline const MatchingResponse& GetMatching() const { return m_matching; }
118 template <typename MatchingT = MatchingResponse>
119 void SetMatching(MatchingT&& value) {
120 m_matchingHasBeenSet = true;
121 m_matching = std::forward<MatchingT>(value);
122 }
123 template <typename MatchingT = MatchingResponse>
124 UpdateDomainResult& WithMatching(MatchingT&& value) {
125 SetMatching(std::forward<MatchingT>(value));
126 return *this;
127 }
129
131
141 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
142 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
143 void SetRuleBasedMatching(RuleBasedMatchingT&& value) {
144 m_ruleBasedMatchingHasBeenSet = true;
145 m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value);
146 }
147 template <typename RuleBasedMatchingT = RuleBasedMatchingResponse>
148 UpdateDomainResult& WithRuleBasedMatching(RuleBasedMatchingT&& value) {
149 SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value));
150 return *this;
151 }
153
155
158 inline const DataStoreResponse& GetDataStore() const { return m_dataStore; }
159 template <typename DataStoreT = DataStoreResponse>
160 void SetDataStore(DataStoreT&& value) {
161 m_dataStoreHasBeenSet = true;
162 m_dataStore = std::forward<DataStoreT>(value);
163 }
164 template <typename DataStoreT = DataStoreResponse>
165 UpdateDomainResult& WithDataStore(DataStoreT&& value) {
166 SetDataStore(std::forward<DataStoreT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
176 template <typename CreatedAtT = Aws::Utils::DateTime>
177 void SetCreatedAt(CreatedAtT&& value) {
178 m_createdAtHasBeenSet = true;
179 m_createdAt = std::forward<CreatedAtT>(value);
180 }
181 template <typename CreatedAtT = Aws::Utils::DateTime>
182 UpdateDomainResult& WithCreatedAt(CreatedAtT&& value) {
183 SetCreatedAt(std::forward<CreatedAtT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
193 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
194 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
195 m_lastUpdatedAtHasBeenSet = true;
196 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
197 }
198 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
199 UpdateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
200 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
210 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 void SetTags(TagsT&& value) {
212 m_tagsHasBeenSet = true;
213 m_tags = std::forward<TagsT>(value);
214 }
215 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 UpdateDomainResult& WithTags(TagsT&& value) {
217 SetTags(std::forward<TagsT>(value));
218 return *this;
219 }
220 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
221 UpdateDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
222 m_tagsHasBeenSet = true;
223 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
224 return *this;
225 }
227
229
230 inline const Aws::String& GetRequestId() const { return m_requestId; }
231 template <typename RequestIdT = Aws::String>
232 void SetRequestId(RequestIdT&& value) {
233 m_requestIdHasBeenSet = true;
234 m_requestId = std::forward<RequestIdT>(value);
235 }
236 template <typename RequestIdT = Aws::String>
237 UpdateDomainResult& WithRequestId(RequestIdT&& value) {
238 SetRequestId(std::forward<RequestIdT>(value));
239 return *this;
240 }
242 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
243
244 private:
245 Aws::String m_domainName;
246
247 int m_defaultExpirationDays{0};
248
249 Aws::String m_defaultEncryptionKey;
250
251 Aws::String m_deadLetterQueueUrl;
252
253 MatchingResponse m_matching;
254
255 RuleBasedMatchingResponse m_ruleBasedMatching;
256
257 DataStoreResponse m_dataStore;
258
259 Aws::Utils::DateTime m_createdAt{};
260
261 Aws::Utils::DateTime m_lastUpdatedAt{};
262
264
265 Aws::String m_requestId;
266 Aws::Http::HttpResponseCode m_HttpResponseCode;
267 bool m_domainNameHasBeenSet = false;
268 bool m_defaultExpirationDaysHasBeenSet = false;
269 bool m_defaultEncryptionKeyHasBeenSet = false;
270 bool m_deadLetterQueueUrlHasBeenSet = false;
271 bool m_matchingHasBeenSet = false;
272 bool m_ruleBasedMatchingHasBeenSet = false;
273 bool m_dataStoreHasBeenSet = false;
274 bool m_createdAtHasBeenSet = false;
275 bool m_lastUpdatedAtHasBeenSet = false;
276 bool m_tagsHasBeenSet = false;
277 bool m_requestIdHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace CustomerProfiles
282} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateDomainResult & WithRequestId(RequestIdT &&value)
const RuleBasedMatchingResponse & GetRuleBasedMatching() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateDomainResult & WithCreatedAt(CreatedAtT &&value)
void SetRuleBasedMatching(RuleBasedMatchingT &&value)
AWS_CUSTOMERPROFILES_API UpdateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainResult & WithDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
UpdateDomainResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateDomainResult & WithDataStore(DataStoreT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateDomainResult & WithRuleBasedMatching(RuleBasedMatchingT &&value)
void SetDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
AWS_CUSTOMERPROFILES_API UpdateDomainResult()=default
AWS_CUSTOMERPROFILES_API UpdateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainResult & WithTags(TagsT &&value)
UpdateDomainResult & WithDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
UpdateDomainResult & WithMatching(MatchingT &&value)
UpdateDomainResult & WithDefaultExpirationDays(int value)
UpdateDomainResult & WithDomainName(DomainNameT &&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