AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainLayoutRequest.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 <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API UpdateDomainLayoutRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainLayout"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template<typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
44 template<typename DomainNameT = Aws::String>
45 UpdateDomainLayoutRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
53 inline bool LayoutDefinitionNameHasBeenSet() const { return m_layoutDefinitionNameHasBeenSet; }
54 template<typename LayoutDefinitionNameT = Aws::String>
55 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) { m_layoutDefinitionNameHasBeenSet = true; m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value); }
56 template<typename LayoutDefinitionNameT = Aws::String>
57 UpdateDomainLayoutRequest& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) { SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateDomainLayoutRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDisplayName() const { return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 template<typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
80 template<typename DisplayNameT = Aws::String>
81 UpdateDomainLayoutRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
83
85
90 inline bool GetIsDefault() const { return m_isDefault; }
91 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
92 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
93 inline UpdateDomainLayoutRequest& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
95
97
101 inline LayoutType GetLayoutType() const { return m_layoutType; }
102 inline bool LayoutTypeHasBeenSet() const { return m_layoutTypeHasBeenSet; }
103 inline void SetLayoutType(LayoutType value) { m_layoutTypeHasBeenSet = true; m_layoutType = value; }
104 inline UpdateDomainLayoutRequest& WithLayoutType(LayoutType value) { SetLayoutType(value); return *this;}
106
108
112 inline const Aws::String& GetLayout() const { return m_layout; }
113 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
114 template<typename LayoutT = Aws::String>
115 void SetLayout(LayoutT&& value) { m_layoutHasBeenSet = true; m_layout = std::forward<LayoutT>(value); }
116 template<typename LayoutT = Aws::String>
117 UpdateDomainLayoutRequest& WithLayout(LayoutT&& value) { SetLayout(std::forward<LayoutT>(value)); return *this;}
119 private:
120
121 Aws::String m_domainName;
122 bool m_domainNameHasBeenSet = false;
123
124 Aws::String m_layoutDefinitionName;
125 bool m_layoutDefinitionNameHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 Aws::String m_displayName;
131 bool m_displayNameHasBeenSet = false;
132
133 bool m_isDefault{false};
134 bool m_isDefaultHasBeenSet = false;
135
136 LayoutType m_layoutType{LayoutType::NOT_SET};
137 bool m_layoutTypeHasBeenSet = false;
138
139 Aws::String m_layout;
140 bool m_layoutHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace CustomerProfiles
145} // 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