AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateDomainLayoutRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/LayoutType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API UpdateDomainLayoutRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainLayout"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
55 inline bool LayoutDefinitionNameHasBeenSet() const { return m_layoutDefinitionNameHasBeenSet; }
56 template <typename LayoutDefinitionNameT = Aws::String>
57 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) {
58 m_layoutDefinitionNameHasBeenSet = true;
59 m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value);
60 }
61 template <typename LayoutDefinitionNameT = Aws::String>
62 UpdateDomainLayoutRequest& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) {
63 SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDisplayName() const { return m_displayName; }
91 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
92 template <typename DisplayNameT = Aws::String>
93 void SetDisplayName(DisplayNameT&& value) {
94 m_displayNameHasBeenSet = true;
95 m_displayName = std::forward<DisplayNameT>(value);
96 }
97 template <typename DisplayNameT = Aws::String>
99 SetDisplayName(std::forward<DisplayNameT>(value));
100 return *this;
101 }
103
105
110 inline bool GetIsDefault() const { return m_isDefault; }
111 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
112 inline void SetIsDefault(bool value) {
113 m_isDefaultHasBeenSet = true;
114 m_isDefault = value;
115 }
117 SetIsDefault(value);
118 return *this;
119 }
121
123
127 inline LayoutType GetLayoutType() const { return m_layoutType; }
128 inline bool LayoutTypeHasBeenSet() const { return m_layoutTypeHasBeenSet; }
129 inline void SetLayoutType(LayoutType value) {
130 m_layoutTypeHasBeenSet = true;
131 m_layoutType = value;
132 }
134 SetLayoutType(value);
135 return *this;
136 }
138
140
144 inline const Aws::String& GetLayout() const { return m_layout; }
145 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
146 template <typename LayoutT = Aws::String>
147 void SetLayout(LayoutT&& value) {
148 m_layoutHasBeenSet = true;
149 m_layout = std::forward<LayoutT>(value);
150 }
151 template <typename LayoutT = Aws::String>
153 SetLayout(std::forward<LayoutT>(value));
154 return *this;
155 }
157 private:
158 Aws::String m_domainName;
159
160 Aws::String m_layoutDefinitionName;
161
162 Aws::String m_description;
163
164 Aws::String m_displayName;
165
166 bool m_isDefault{false};
167
168 LayoutType m_layoutType{LayoutType::NOT_SET};
169
170 Aws::String m_layout;
171 bool m_domainNameHasBeenSet = false;
172 bool m_layoutDefinitionNameHasBeenSet = false;
173 bool m_descriptionHasBeenSet = false;
174 bool m_displayNameHasBeenSet = false;
175 bool m_isDefaultHasBeenSet = false;
176 bool m_layoutTypeHasBeenSet = false;
177 bool m_layoutHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace CustomerProfiles
182} // namespace Aws
UpdateDomainLayoutRequest & WithLayout(LayoutT &&value)
UpdateDomainLayoutRequest & WithDisplayName(DisplayNameT &&value)
UpdateDomainLayoutRequest & WithLayoutType(LayoutType value)
AWS_CUSTOMERPROFILES_API UpdateDomainLayoutRequest()=default
UpdateDomainLayoutRequest & WithDomainName(DomainNameT &&value)
UpdateDomainLayoutRequest & WithDescription(DescriptionT &&value)
UpdateDomainLayoutRequest & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String