AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetDomainResult.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/DomainStats.h>
10#include <aws/customer-profiles/model/MatchingResponse.h>
11#include <aws/customer-profiles/model/RuleBasedMatchingResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles
29{
30namespace Model
31{
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API GetDomainResult() = default;
38
39
41
44 inline const Aws::String& GetDomainName() const { return m_domainName; }
45 template<typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
47 template<typename DomainNameT = Aws::String>
48 GetDomainResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
50
52
55 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
56 inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDaysHasBeenSet = true; m_defaultExpirationDays = value; }
57 inline GetDomainResult& WithDefaultExpirationDays(int value) { SetDefaultExpirationDays(value); return *this;}
59
61
66 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
67 template<typename DefaultEncryptionKeyT = Aws::String>
68 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value); }
69 template<typename DefaultEncryptionKeyT = Aws::String>
70 GetDomainResult& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value)); return *this;}
72
74
78 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
79 template<typename DeadLetterQueueUrlT = Aws::String>
80 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value); }
81 template<typename DeadLetterQueueUrlT = Aws::String>
82 GetDomainResult& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value)); return *this;}
84
86
89 inline const DomainStats& GetStats() const { return m_stats; }
90 template<typename StatsT = DomainStats>
91 void SetStats(StatsT&& value) { m_statsHasBeenSet = true; m_stats = std::forward<StatsT>(value); }
92 template<typename StatsT = DomainStats>
93 GetDomainResult& WithStats(StatsT&& value) { SetStats(std::forward<StatsT>(value)); return *this;}
95
97
109 inline const MatchingResponse& GetMatching() const { return m_matching; }
110 template<typename MatchingT = MatchingResponse>
111 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet = true; m_matching = std::forward<MatchingT>(value); }
112 template<typename MatchingT = MatchingResponse>
113 GetDomainResult& WithMatching(MatchingT&& value) { SetMatching(std::forward<MatchingT>(value)); return *this;}
115
117
127 inline const RuleBasedMatchingResponse& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
128 template<typename RuleBasedMatchingT = RuleBasedMatchingResponse>
129 void SetRuleBasedMatching(RuleBasedMatchingT&& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value); }
130 template<typename RuleBasedMatchingT = RuleBasedMatchingResponse>
131 GetDomainResult& WithRuleBasedMatching(RuleBasedMatchingT&& value) { SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
139 template<typename CreatedAtT = Aws::Utils::DateTime>
140 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
141 template<typename CreatedAtT = Aws::Utils::DateTime>
142 GetDomainResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
150 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
151 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
152 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
153 GetDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
155
157
160 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
161 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
163 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 GetDomainResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
165 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
166 GetDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
167 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
168 }
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template<typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
176 template<typename RequestIdT = Aws::String>
177 GetDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
179 private:
180
181 Aws::String m_domainName;
182 bool m_domainNameHasBeenSet = false;
183
184 int m_defaultExpirationDays{0};
185 bool m_defaultExpirationDaysHasBeenSet = false;
186
187 Aws::String m_defaultEncryptionKey;
188 bool m_defaultEncryptionKeyHasBeenSet = false;
189
190 Aws::String m_deadLetterQueueUrl;
191 bool m_deadLetterQueueUrlHasBeenSet = false;
192
193 DomainStats m_stats;
194 bool m_statsHasBeenSet = false;
195
196 MatchingResponse m_matching;
197 bool m_matchingHasBeenSet = false;
198
199 RuleBasedMatchingResponse m_ruleBasedMatching;
200 bool m_ruleBasedMatchingHasBeenSet = false;
201
202 Aws::Utils::DateTime m_createdAt{};
203 bool m_createdAtHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastUpdatedAt{};
206 bool m_lastUpdatedAtHasBeenSet = false;
207
209 bool m_tagsHasBeenSet = false;
210
211 Aws::String m_requestId;
212 bool m_requestIdHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace CustomerProfiles
217} // namespace Aws
GetDomainResult & WithCreatedAt(CreatedAtT &&value)
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
void SetDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
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