AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateDomainLayoutResult.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/LayoutType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles {
26namespace Model {
28 public:
29 AWS_CUSTOMERPROFILES_API CreateDomainLayoutResult() = default;
32
34
37 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
38 template <typename LayoutDefinitionNameT = Aws::String>
39 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) {
40 m_layoutDefinitionNameHasBeenSet = true;
41 m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value);
42 }
43 template <typename LayoutDefinitionNameT = Aws::String>
44 CreateDomainLayoutResult& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) {
45 SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDisplayName() const { return m_displayName; }
72 template <typename DisplayNameT = Aws::String>
73 void SetDisplayName(DisplayNameT&& value) {
74 m_displayNameHasBeenSet = true;
75 m_displayName = std::forward<DisplayNameT>(value);
76 }
77 template <typename DisplayNameT = Aws::String>
79 SetDisplayName(std::forward<DisplayNameT>(value));
80 return *this;
81 }
83
85
90 inline bool GetIsDefault() const { return m_isDefault; }
91 inline void SetIsDefault(bool value) {
92 m_isDefaultHasBeenSet = true;
93 m_isDefault = value;
94 }
96 SetIsDefault(value);
97 return *this;
98 }
100
102
106 inline LayoutType GetLayoutType() const { return m_layoutType; }
107 inline void SetLayoutType(LayoutType value) {
108 m_layoutTypeHasBeenSet = true;
109 m_layoutType = value;
110 }
112 SetLayoutType(value);
113 return *this;
114 }
116
118
122 inline const Aws::String& GetLayout() const { return m_layout; }
123 template <typename LayoutT = Aws::String>
124 void SetLayout(LayoutT&& value) {
125 m_layoutHasBeenSet = true;
126 m_layout = std::forward<LayoutT>(value);
127 }
128 template <typename LayoutT = Aws::String>
130 SetLayout(std::forward<LayoutT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetVersion() const { return m_version; }
140 template <typename VersionT = Aws::String>
141 void SetVersion(VersionT&& value) {
142 m_versionHasBeenSet = true;
143 m_version = std::forward<VersionT>(value);
144 }
145 template <typename VersionT = Aws::String>
147 SetVersion(std::forward<VersionT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
157 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) {
159 m_tagsHasBeenSet = true;
160 m_tags = std::forward<TagsT>(value);
161 }
162 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 SetTags(std::forward<TagsT>(value));
165 return *this;
166 }
167 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
168 CreateDomainLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
169 m_tagsHasBeenSet = true;
170 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
180 template <typename CreatedAtT = Aws::Utils::DateTime>
181 void SetCreatedAt(CreatedAtT&& value) {
182 m_createdAtHasBeenSet = true;
183 m_createdAt = std::forward<CreatedAtT>(value);
184 }
185 template <typename CreatedAtT = Aws::Utils::DateTime>
187 SetCreatedAt(std::forward<CreatedAtT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
197 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
198 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
199 m_lastUpdatedAtHasBeenSet = true;
200 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
201 }
202 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
204 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
205 return *this;
206 }
208
210
211 inline const Aws::String& GetRequestId() const { return m_requestId; }
212 template <typename RequestIdT = Aws::String>
213 void SetRequestId(RequestIdT&& value) {
214 m_requestIdHasBeenSet = true;
215 m_requestId = std::forward<RequestIdT>(value);
216 }
217 template <typename RequestIdT = Aws::String>
219 SetRequestId(std::forward<RequestIdT>(value));
220 return *this;
221 }
223 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
224
225 private:
226 Aws::String m_layoutDefinitionName;
227
228 Aws::String m_description;
229
230 Aws::String m_displayName;
231
232 bool m_isDefault{false};
233
234 LayoutType m_layoutType{LayoutType::NOT_SET};
235
236 Aws::String m_layout;
237
238 Aws::String m_version;
239
241
242 Aws::Utils::DateTime m_createdAt{};
243
244 Aws::Utils::DateTime m_lastUpdatedAt{};
245
246 Aws::String m_requestId;
247 Aws::Http::HttpResponseCode m_HttpResponseCode;
248 bool m_layoutDefinitionNameHasBeenSet = false;
249 bool m_descriptionHasBeenSet = false;
250 bool m_displayNameHasBeenSet = false;
251 bool m_isDefaultHasBeenSet = false;
252 bool m_layoutTypeHasBeenSet = false;
253 bool m_layoutHasBeenSet = false;
254 bool m_versionHasBeenSet = false;
255 bool m_tagsHasBeenSet = false;
256 bool m_createdAtHasBeenSet = false;
257 bool m_lastUpdatedAtHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace CustomerProfiles
263} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainLayoutResult & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API CreateDomainLayoutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainLayoutResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateDomainLayoutResult & WithRequestId(RequestIdT &&value)
CreateDomainLayoutResult & WithDisplayName(DisplayNameT &&value)
AWS_CUSTOMERPROFILES_API CreateDomainLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainLayoutResult & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
CreateDomainLayoutResult & WithLayoutType(LayoutType value)
CreateDomainLayoutResult & WithLayout(LayoutT &&value)
CreateDomainLayoutResult & WithDescription(DescriptionT &&value)
CreateDomainLayoutResult & WithVersion(VersionT &&value)
AWS_CUSTOMERPROFILES_API CreateDomainLayoutResult()=default
CreateDomainLayoutResult & AddTags(TagsKeyT &&key, TagsValueT &&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