AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/MatchingResponse.h>
10#include <aws/customer-profiles/model/RuleBasedMatchingResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CustomerProfiles
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CUSTOMERPROFILES_API UpdateDomainResult();
37
38
40
43 inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
47 inline UpdateDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline UpdateDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline UpdateDomainResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
56 inline int GetDefaultExpirationDays() const{ return m_defaultExpirationDays; }
57 inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDays = value; }
58 inline UpdateDomainResult& WithDefaultExpirationDays(int value) { SetDefaultExpirationDays(value); return *this;}
60
62
67 inline const Aws::String& GetDefaultEncryptionKey() const{ return m_defaultEncryptionKey; }
68 inline void SetDefaultEncryptionKey(const Aws::String& value) { m_defaultEncryptionKey = value; }
69 inline void SetDefaultEncryptionKey(Aws::String&& value) { m_defaultEncryptionKey = std::move(value); }
70 inline void SetDefaultEncryptionKey(const char* value) { m_defaultEncryptionKey.assign(value); }
72 inline UpdateDomainResult& WithDefaultEncryptionKey(Aws::String&& value) { SetDefaultEncryptionKey(std::move(value)); return *this;}
73 inline UpdateDomainResult& WithDefaultEncryptionKey(const char* value) { SetDefaultEncryptionKey(value); return *this;}
75
77
81 inline const Aws::String& GetDeadLetterQueueUrl() const{ return m_deadLetterQueueUrl; }
82 inline void SetDeadLetterQueueUrl(const Aws::String& value) { m_deadLetterQueueUrl = value; }
83 inline void SetDeadLetterQueueUrl(Aws::String&& value) { m_deadLetterQueueUrl = std::move(value); }
84 inline void SetDeadLetterQueueUrl(const char* value) { m_deadLetterQueueUrl.assign(value); }
85 inline UpdateDomainResult& WithDeadLetterQueueUrl(const Aws::String& value) { SetDeadLetterQueueUrl(value); return *this;}
86 inline UpdateDomainResult& WithDeadLetterQueueUrl(Aws::String&& value) { SetDeadLetterQueueUrl(std::move(value)); return *this;}
87 inline UpdateDomainResult& WithDeadLetterQueueUrl(const char* value) { SetDeadLetterQueueUrl(value); return *this;}
89
91
103 inline const MatchingResponse& GetMatching() const{ return m_matching; }
104 inline void SetMatching(const MatchingResponse& value) { m_matching = value; }
105 inline void SetMatching(MatchingResponse&& value) { m_matching = std::move(value); }
106 inline UpdateDomainResult& WithMatching(const MatchingResponse& value) { SetMatching(value); return *this;}
107 inline UpdateDomainResult& WithMatching(MatchingResponse&& value) { SetMatching(std::move(value)); return *this;}
109
111
121 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const{ return m_ruleBasedMatching; }
122 inline void SetRuleBasedMatching(const RuleBasedMatchingResponse& value) { m_ruleBasedMatching = value; }
123 inline void SetRuleBasedMatching(RuleBasedMatchingResponse&& value) { m_ruleBasedMatching = std::move(value); }
127
129
132 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
133 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
134 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
135 inline UpdateDomainResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
136 inline UpdateDomainResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
144 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
145 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
146 inline UpdateDomainResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
147 inline UpdateDomainResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
149
151
154 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
155 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
156 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
157 inline UpdateDomainResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
158 inline UpdateDomainResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
159 inline UpdateDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
160 inline UpdateDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
161 inline UpdateDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
162 inline UpdateDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline UpdateDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
164 inline UpdateDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
165 inline UpdateDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline UpdateDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline UpdateDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline UpdateDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::String m_domainName;
181
182 int m_defaultExpirationDays;
183
184 Aws::String m_defaultEncryptionKey;
185
186 Aws::String m_deadLetterQueueUrl;
187
188 MatchingResponse m_matching;
189
190 RuleBasedMatchingResponse m_ruleBasedMatching;
191
192 Aws::Utils::DateTime m_createdAt;
193
194 Aws::Utils::DateTime m_lastUpdatedAt;
195
197
198 Aws::String m_requestId;
199 };
200
201} // namespace Model
202} // namespace CustomerProfiles
203} // namespace Aws
UpdateDomainResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const RuleBasedMatchingResponse & GetRuleBasedMatching() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateDomainResult & WithDeadLetterQueueUrl(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateDomainResult & WithDomainName(const char *value)
UpdateDomainResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetDeadLetterQueueUrl(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateDomainResult & AddTags(Aws::String &&key, const char *value)
UpdateDomainResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateDomainResult & WithDefaultEncryptionKey(const Aws::String &value)
UpdateDomainResult & WithMatching(MatchingResponse &&value)
UpdateDomainResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateDomainResult & AddTags(const char *key, Aws::String &&value)
UpdateDomainResult & WithMatching(const MatchingResponse &value)
AWS_CUSTOMERPROFILES_API UpdateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateDomainResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateDomainResult & WithRequestId(const char *value)
UpdateDomainResult & WithDomainName(Aws::String &&value)
void SetRuleBasedMatching(const RuleBasedMatchingResponse &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMatching(const MatchingResponse &value)
UpdateDomainResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateDomainResult & WithDeadLetterQueueUrl(Aws::String &&value)
UpdateDomainResult & AddTags(const char *key, const char *value)
UpdateDomainResult & WithRuleBasedMatching(RuleBasedMatchingResponse &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CUSTOMERPROFILES_API UpdateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateDomainResult & WithDefaultEncryptionKey(const char *value)
void SetRuleBasedMatching(RuleBasedMatchingResponse &&value)
UpdateDomainResult & WithDefaultExpirationDays(int value)
UpdateDomainResult & WithDomainName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDefaultEncryptionKey(const Aws::String &value)
UpdateDomainResult & WithDeadLetterQueueUrl(const char *value)
UpdateDomainResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateDomainResult & WithRuleBasedMatching(const RuleBasedMatchingResponse &value)
UpdateDomainResult & WithDefaultEncryptionKey(Aws::String &&value)
UpdateDomainResult & WithRequestId(const Aws::String &value)
UpdateDomainResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDomainResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&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