AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateDomainLayoutRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/LayoutType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CustomerProfiles
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CUSTOMERPROFILES_API CreateDomainLayoutRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainLayout"; }
33
34 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDomainName() const { return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 template<typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
45 template<typename DomainNameT = Aws::String>
46 CreateDomainLayoutRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
54 inline bool LayoutDefinitionNameHasBeenSet() const { return m_layoutDefinitionNameHasBeenSet; }
55 template<typename LayoutDefinitionNameT = Aws::String>
56 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) { m_layoutDefinitionNameHasBeenSet = true; m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value); }
57 template<typename LayoutDefinitionNameT = Aws::String>
58 CreateDomainLayoutRequest& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) { SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 CreateDomainLayoutRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDisplayName() const { return m_displayName; }
78 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
79 template<typename DisplayNameT = Aws::String>
80 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
81 template<typename DisplayNameT = Aws::String>
82 CreateDomainLayoutRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
84
86
91 inline bool GetIsDefault() const { return m_isDefault; }
92 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
93 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
94 inline CreateDomainLayoutRequest& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
96
98
102 inline LayoutType GetLayoutType() const { return m_layoutType; }
103 inline bool LayoutTypeHasBeenSet() const { return m_layoutTypeHasBeenSet; }
104 inline void SetLayoutType(LayoutType value) { m_layoutTypeHasBeenSet = true; m_layoutType = value; }
105 inline CreateDomainLayoutRequest& WithLayoutType(LayoutType value) { SetLayoutType(value); return *this;}
107
109
113 inline const Aws::String& GetLayout() const { return m_layout; }
114 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
115 template<typename LayoutT = Aws::String>
116 void SetLayout(LayoutT&& value) { m_layoutHasBeenSet = true; m_layout = std::forward<LayoutT>(value); }
117 template<typename LayoutT = Aws::String>
118 CreateDomainLayoutRequest& WithLayout(LayoutT&& value) { SetLayout(std::forward<LayoutT>(value)); return *this;}
120
122
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
126 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
129 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 CreateDomainLayoutRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
131 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
132 CreateDomainLayoutRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
133 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
134 }
136 private:
137
138 Aws::String m_domainName;
139 bool m_domainNameHasBeenSet = false;
140
141 Aws::String m_layoutDefinitionName;
142 bool m_layoutDefinitionNameHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::String m_displayName;
148 bool m_displayNameHasBeenSet = false;
149
150 bool m_isDefault{false};
151 bool m_isDefaultHasBeenSet = false;
152
153 LayoutType m_layoutType{LayoutType::NOT_SET};
154 bool m_layoutTypeHasBeenSet = false;
155
156 Aws::String m_layout;
157 bool m_layoutHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace CustomerProfiles
165} // 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