AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateDomainLayoutResult.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 UpdateDomainLayoutResult() = 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 UpdateDomainLayoutResult& 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::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) {
159 m_createdAtHasBeenSet = true;
160 m_createdAt = std::forward<CreatedAtT>(value);
161 }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
164 SetCreatedAt(std::forward<CreatedAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
174 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
175 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
176 m_lastUpdatedAtHasBeenSet = true;
177 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
178 }
179 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
181 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 void SetTags(TagsT&& value) {
193 m_tagsHasBeenSet = true;
194 m_tags = std::forward<TagsT>(value);
195 }
196 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 SetTags(std::forward<TagsT>(value));
199 return *this;
200 }
201 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
202 UpdateDomainLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
203 m_tagsHasBeenSet = true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(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
240 Aws::Utils::DateTime m_createdAt{};
241
242 Aws::Utils::DateTime m_lastUpdatedAt{};
243
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_createdAtHasBeenSet = false;
256 bool m_lastUpdatedAtHasBeenSet = false;
257 bool m_tagsHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace CustomerProfiles
263} // namespace Aws
UpdateDomainLayoutResult & WithVersion(VersionT &&value)
UpdateDomainLayoutResult & WithLayoutType(LayoutType value)
UpdateDomainLayoutResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateDomainLayoutResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateDomainLayoutResult & WithDisplayName(DisplayNameT &&value)
UpdateDomainLayoutResult & WithRequestId(RequestIdT &&value)
UpdateDomainLayoutResult & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API UpdateDomainLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CUSTOMERPROFILES_API UpdateDomainLayoutResult()=default
AWS_CUSTOMERPROFILES_API UpdateDomainLayoutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateDomainLayoutResult & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
UpdateDomainLayoutResult & WithDescription(DescriptionT &&value)
UpdateDomainLayoutResult & WithLayout(LayoutT &&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