AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateThemeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/ThemeConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API UpdateThemeRequest() = 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 "UpdateTheme"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
45 UpdateThemeRequest& WithAwsAccountId(AwsAccountIdT&& value) {
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetThemeId() const { return m_themeId; }
56 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
57 template <typename ThemeIdT = Aws::String>
58 void SetThemeId(ThemeIdT&& value) {
59 m_themeIdHasBeenSet = true;
60 m_themeId = std::forward<ThemeIdT>(value);
61 }
62 template <typename ThemeIdT = Aws::String>
63 UpdateThemeRequest& WithThemeId(ThemeIdT&& value) {
64 SetThemeId(std::forward<ThemeIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
81 UpdateThemeRequest& WithName(NameT&& value) {
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetBaseThemeId() const { return m_baseThemeId; }
93 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
94 template <typename BaseThemeIdT = Aws::String>
95 void SetBaseThemeId(BaseThemeIdT&& value) {
96 m_baseThemeIdHasBeenSet = true;
97 m_baseThemeId = std::forward<BaseThemeIdT>(value);
98 }
99 template <typename BaseThemeIdT = Aws::String>
100 UpdateThemeRequest& WithBaseThemeId(BaseThemeIdT&& value) {
101 SetBaseThemeId(std::forward<BaseThemeIdT>(value));
102 return *this;
103 }
105
107
113 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
114 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
115 template <typename VersionDescriptionT = Aws::String>
116 void SetVersionDescription(VersionDescriptionT&& value) {
117 m_versionDescriptionHasBeenSet = true;
118 m_versionDescription = std::forward<VersionDescriptionT>(value);
119 }
120 template <typename VersionDescriptionT = Aws::String>
121 UpdateThemeRequest& WithVersionDescription(VersionDescriptionT&& value) {
122 SetVersionDescription(std::forward<VersionDescriptionT>(value));
123 return *this;
124 }
126
128
131 inline const ThemeConfiguration& GetConfiguration() const { return m_configuration; }
132 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
133 template <typename ConfigurationT = ThemeConfiguration>
134 void SetConfiguration(ConfigurationT&& value) {
135 m_configurationHasBeenSet = true;
136 m_configuration = std::forward<ConfigurationT>(value);
137 }
138 template <typename ConfigurationT = ThemeConfiguration>
139 UpdateThemeRequest& WithConfiguration(ConfigurationT&& value) {
140 SetConfiguration(std::forward<ConfigurationT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_awsAccountId;
146
147 Aws::String m_themeId;
148
149 Aws::String m_name;
150
151 Aws::String m_baseThemeId;
152
153 Aws::String m_versionDescription;
154
155 ThemeConfiguration m_configuration;
156 bool m_awsAccountIdHasBeenSet = false;
157 bool m_themeIdHasBeenSet = false;
158 bool m_nameHasBeenSet = false;
159 bool m_baseThemeIdHasBeenSet = false;
160 bool m_versionDescriptionHasBeenSet = false;
161 bool m_configurationHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace QuickSight
166} // namespace Aws
UpdateThemeRequest & WithBaseThemeId(BaseThemeIdT &&value)
AWS_QUICKSIGHT_API UpdateThemeRequest()=default
const ThemeConfiguration & GetConfiguration() const
UpdateThemeRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateThemeRequest & WithName(NameT &&value)
void SetVersionDescription(VersionDescriptionT &&value)
const Aws::String & GetVersionDescription() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateThemeRequest & WithConfiguration(ConfigurationT &&value)
UpdateThemeRequest & WithVersionDescription(VersionDescriptionT &&value)
void SetConfiguration(ConfigurationT &&value)
UpdateThemeRequest & WithThemeId(ThemeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String