AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateDomainLayoutResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/LayoutType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles {
25namespace Model {
27 public:
28 AWS_CUSTOMERPROFILES_API CreateDomainLayoutResult() = default;
31
33
36 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
37 template <typename LayoutDefinitionNameT = Aws::String>
38 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) {
39 m_layoutDefinitionNameHasBeenSet = true;
40 m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value);
41 }
42 template <typename LayoutDefinitionNameT = Aws::String>
43 CreateDomainLayoutResult& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) {
44 SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template <typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) {
56 m_descriptionHasBeenSet = true;
57 m_description = std::forward<DescriptionT>(value);
58 }
59 template <typename DescriptionT = Aws::String>
61 SetDescription(std::forward<DescriptionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDisplayName() const { return m_displayName; }
71 template <typename DisplayNameT = Aws::String>
72 void SetDisplayName(DisplayNameT&& value) {
73 m_displayNameHasBeenSet = true;
74 m_displayName = std::forward<DisplayNameT>(value);
75 }
76 template <typename DisplayNameT = Aws::String>
78 SetDisplayName(std::forward<DisplayNameT>(value));
79 return *this;
80 }
82
84
89 inline bool GetIsDefault() const { return m_isDefault; }
90 inline void SetIsDefault(bool value) {
91 m_isDefaultHasBeenSet = true;
92 m_isDefault = value;
93 }
95 SetIsDefault(value);
96 return *this;
97 }
99
101
105 inline LayoutType GetLayoutType() const { return m_layoutType; }
106 inline void SetLayoutType(LayoutType value) {
107 m_layoutTypeHasBeenSet = true;
108 m_layoutType = value;
109 }
111 SetLayoutType(value);
112 return *this;
113 }
115
117
121 inline const Aws::String& GetLayout() const { return m_layout; }
122 template <typename LayoutT = Aws::String>
123 void SetLayout(LayoutT&& value) {
124 m_layoutHasBeenSet = true;
125 m_layout = std::forward<LayoutT>(value);
126 }
127 template <typename LayoutT = Aws::String>
129 SetLayout(std::forward<LayoutT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetVersion() const { return m_version; }
139 template <typename VersionT = Aws::String>
140 void SetVersion(VersionT&& value) {
141 m_versionHasBeenSet = true;
142 m_version = std::forward<VersionT>(value);
143 }
144 template <typename VersionT = Aws::String>
146 SetVersion(std::forward<VersionT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
156 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 void SetTags(TagsT&& value) {
158 m_tagsHasBeenSet = true;
159 m_tags = std::forward<TagsT>(value);
160 }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 SetTags(std::forward<TagsT>(value));
164 return *this;
165 }
166 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
167 CreateDomainLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
179 template <typename CreatedAtT = Aws::Utils::DateTime>
180 void SetCreatedAt(CreatedAtT&& value) {
181 m_createdAtHasBeenSet = true;
182 m_createdAt = std::forward<CreatedAtT>(value);
183 }
184 template <typename CreatedAtT = Aws::Utils::DateTime>
186 SetCreatedAt(std::forward<CreatedAtT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
196 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
197 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
198 m_lastUpdatedAtHasBeenSet = true;
199 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
200 }
201 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
203 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_layoutDefinitionName;
224
225 Aws::String m_description;
226
227 Aws::String m_displayName;
228
229 bool m_isDefault{false};
230
231 LayoutType m_layoutType{LayoutType::NOT_SET};
232
233 Aws::String m_layout;
234
235 Aws::String m_version;
236
238
239 Aws::Utils::DateTime m_createdAt{};
240
241 Aws::Utils::DateTime m_lastUpdatedAt{};
242
243 Aws::String m_requestId;
244 bool m_layoutDefinitionNameHasBeenSet = false;
245 bool m_descriptionHasBeenSet = false;
246 bool m_displayNameHasBeenSet = false;
247 bool m_isDefaultHasBeenSet = false;
248 bool m_layoutTypeHasBeenSet = false;
249 bool m_layoutHasBeenSet = false;
250 bool m_versionHasBeenSet = false;
251 bool m_tagsHasBeenSet = false;
252 bool m_createdAtHasBeenSet = false;
253 bool m_lastUpdatedAtHasBeenSet = false;
254 bool m_requestIdHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace CustomerProfiles
259} // 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