AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateDomainLayoutRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfilesRequest.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/LayoutType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CustomerProfiles {
17namespace Model {
18
22 public:
23 AWS_CUSTOMERPROFILES_API CreateDomainLayoutRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainLayout"; }
30
31 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainName() const { return m_domainName; }
38 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
56 inline bool LayoutDefinitionNameHasBeenSet() const { return m_layoutDefinitionNameHasBeenSet; }
57 template <typename LayoutDefinitionNameT = Aws::String>
58 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) {
59 m_layoutDefinitionNameHasBeenSet = true;
60 m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value);
61 }
62 template <typename LayoutDefinitionNameT = Aws::String>
63 CreateDomainLayoutRequest& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) {
64 SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDisplayName() const { return m_displayName; }
92 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
93 template <typename DisplayNameT = Aws::String>
94 void SetDisplayName(DisplayNameT&& value) {
95 m_displayNameHasBeenSet = true;
96 m_displayName = std::forward<DisplayNameT>(value);
97 }
98 template <typename DisplayNameT = Aws::String>
100 SetDisplayName(std::forward<DisplayNameT>(value));
101 return *this;
102 }
104
106
111 inline bool GetIsDefault() const { return m_isDefault; }
112 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
113 inline void SetIsDefault(bool value) {
114 m_isDefaultHasBeenSet = true;
115 m_isDefault = value;
116 }
118 SetIsDefault(value);
119 return *this;
120 }
122
124
128 inline LayoutType GetLayoutType() const { return m_layoutType; }
129 inline bool LayoutTypeHasBeenSet() const { return m_layoutTypeHasBeenSet; }
130 inline void SetLayoutType(LayoutType value) {
131 m_layoutTypeHasBeenSet = true;
132 m_layoutType = value;
133 }
135 SetLayoutType(value);
136 return *this;
137 }
139
141
145 inline const Aws::String& GetLayout() const { return m_layout; }
146 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
147 template <typename LayoutT = Aws::String>
148 void SetLayout(LayoutT&& value) {
149 m_layoutHasBeenSet = true;
150 m_layout = std::forward<LayoutT>(value);
151 }
152 template <typename LayoutT = Aws::String>
154 SetLayout(std::forward<LayoutT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
164 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 void SetTags(TagsT&& value) {
167 m_tagsHasBeenSet = true;
168 m_tags = std::forward<TagsT>(value);
169 }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 SetTags(std::forward<TagsT>(value));
173 return *this;
174 }
175 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
176 CreateDomainLayoutRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
179 return *this;
180 }
182 private:
183 Aws::String m_domainName;
184
185 Aws::String m_layoutDefinitionName;
186
187 Aws::String m_description;
188
189 Aws::String m_displayName;
190
191 bool m_isDefault{false};
192
193 LayoutType m_layoutType{LayoutType::NOT_SET};
194
195 Aws::String m_layout;
196
198 bool m_domainNameHasBeenSet = false;
199 bool m_layoutDefinitionNameHasBeenSet = false;
200 bool m_descriptionHasBeenSet = false;
201 bool m_displayNameHasBeenSet = false;
202 bool m_isDefaultHasBeenSet = false;
203 bool m_layoutTypeHasBeenSet = false;
204 bool m_layoutHasBeenSet = false;
205 bool m_tagsHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace CustomerProfiles
210} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainLayoutRequest & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
CreateDomainLayoutRequest & WithDescription(DescriptionT &&value)
CreateDomainLayoutRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CUSTOMERPROFILES_API CreateDomainLayoutRequest()=default
CreateDomainLayoutRequest & WithLayoutType(LayoutType value)
CreateDomainLayoutRequest & WithDisplayName(DisplayNameT &&value)
CreateDomainLayoutRequest & WithLayout(LayoutT &&value)
CreateDomainLayoutRequest & WithDomainName(DomainNameT &&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