AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainResult.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 CreateDomainResult();
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 CreateDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline CreateDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline CreateDomainResult& 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 CreateDomainResult& 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 CreateDomainResult& WithDefaultEncryptionKey(Aws::String&& value) { SetDefaultEncryptionKey(std::move(value)); return *this;}
73 inline CreateDomainResult& 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 CreateDomainResult& WithDeadLetterQueueUrl(const Aws::String& value) { SetDeadLetterQueueUrl(value); return *this;}
86 inline CreateDomainResult& WithDeadLetterQueueUrl(Aws::String&& value) { SetDeadLetterQueueUrl(std::move(value)); return *this;}
87 inline CreateDomainResult& 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 CreateDomainResult& WithMatching(const MatchingResponse& value) { SetMatching(value); return *this;}
107 inline CreateDomainResult& 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 CreateDomainResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
136 inline CreateDomainResult& 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 CreateDomainResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
147 inline CreateDomainResult& 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 CreateDomainResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
158 inline CreateDomainResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
159 inline CreateDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
160 inline CreateDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
161 inline CreateDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
162 inline CreateDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline CreateDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
164 inline CreateDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
165 inline CreateDomainResult& 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 CreateDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline CreateDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline CreateDomainResult& 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
CreateDomainResult & WithDefaultEncryptionKey(Aws::String &&value)
CreateDomainResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateDomainResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainResult & WithRuleBasedMatching(RuleBasedMatchingResponse &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
CreateDomainResult & WithRuleBasedMatching(const RuleBasedMatchingResponse &value)
AWS_CUSTOMERPROFILES_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithRequestId(Aws::String &&value)
CreateDomainResult & WithMatching(MatchingResponse &&value)
CreateDomainResult & WithDefaultEncryptionKey(const Aws::String &value)
CreateDomainResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainResult & AddTags(const char *key, Aws::String &&value)
void SetMatching(const MatchingResponse &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDeadLetterQueueUrl(const Aws::String &value)
CreateDomainResult & WithDefaultExpirationDays(int value)
CreateDomainResult & AddTags(Aws::String &&key, const char *value)
const RuleBasedMatchingResponse & GetRuleBasedMatching() const
CreateDomainResult & AddTags(const char *key, const char *value)
CreateDomainResult & WithMatching(const MatchingResponse &value)
CreateDomainResult & WithDeadLetterQueueUrl(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDomainResult & WithDefaultEncryptionKey(const char *value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
CreateDomainResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
CreateDomainResult & WithRequestId(const Aws::String &value)
CreateDomainResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
CreateDomainResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CUSTOMERPROFILES_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithDomainName(const char *value)
CreateDomainResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDefaultEncryptionKey(const Aws::String &value)
CreateDomainResult & WithDomainName(const Aws::String &value)
CreateDomainResult & WithDeadLetterQueueUrl(const Aws::String &value)
void SetRuleBasedMatching(const RuleBasedMatchingResponse &value)
void SetRuleBasedMatching(RuleBasedMatchingResponse &&value)
CreateDomainResult & WithRequestId(const char *value)
CreateDomainResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainResult & WithDeadLetterQueueUrl(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateDomainResult & WithDomainName(Aws::String &&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