AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
37
38
40
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 template<typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
46 template<typename DomainNameT = Aws::String>
47 CreateDomainResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
54 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
55 inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDaysHasBeenSet = true; m_defaultExpirationDays = value; }
56 inline CreateDomainResult& WithDefaultExpirationDays(int value) { SetDefaultExpirationDays(value); return *this;}
58
60
65 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
66 template<typename DefaultEncryptionKeyT = Aws::String>
67 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value); }
68 template<typename DefaultEncryptionKeyT = Aws::String>
69 CreateDomainResult& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value)); return *this;}
71
73
77 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
78 template<typename DeadLetterQueueUrlT = Aws::String>
79 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value); }
80 template<typename DeadLetterQueueUrlT = Aws::String>
81 CreateDomainResult& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value)); return *this;}
83
85
97 inline const MatchingResponse& GetMatching() const { return m_matching; }
98 template<typename MatchingT = MatchingResponse>
99 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet = true; m_matching = std::forward<MatchingT>(value); }
100 template<typename MatchingT = MatchingResponse>
101 CreateDomainResult& WithMatching(MatchingT&& value) { SetMatching(std::forward<MatchingT>(value)); return *this;}
103
105
115 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
116 template<typename RuleBasedMatchingT = RuleBasedMatchingResponse>
117 void SetRuleBasedMatching(RuleBasedMatchingT&& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value); }
118 template<typename RuleBasedMatchingT = RuleBasedMatchingResponse>
119 CreateDomainResult& WithRuleBasedMatching(RuleBasedMatchingT&& value) { SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
127 template<typename CreatedAtT = Aws::Utils::DateTime>
128 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
129 template<typename CreatedAtT = Aws::Utils::DateTime>
130 CreateDomainResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
138 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
139 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
140 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
141 CreateDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
143
145
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
149 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
151 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 CreateDomainResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
153 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
154 CreateDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
155 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
156 }
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template<typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
164 template<typename RequestIdT = Aws::String>
165 CreateDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
167 private:
168
169 Aws::String m_domainName;
170 bool m_domainNameHasBeenSet = false;
171
172 int m_defaultExpirationDays{0};
173 bool m_defaultExpirationDaysHasBeenSet = false;
174
175 Aws::String m_defaultEncryptionKey;
176 bool m_defaultEncryptionKeyHasBeenSet = false;
177
178 Aws::String m_deadLetterQueueUrl;
179 bool m_deadLetterQueueUrlHasBeenSet = false;
180
181 MatchingResponse m_matching;
182 bool m_matchingHasBeenSet = false;
183
184 RuleBasedMatchingResponse m_ruleBasedMatching;
185 bool m_ruleBasedMatchingHasBeenSet = false;
186
187 Aws::Utils::DateTime m_createdAt{};
188 bool m_createdAtHasBeenSet = false;
189
190 Aws::Utils::DateTime m_lastUpdatedAt{};
191 bool m_lastUpdatedAtHasBeenSet = false;
192
194 bool m_tagsHasBeenSet = false;
195
196 Aws::String m_requestId;
197 bool m_requestIdHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace CustomerProfiles
202} // 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)
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