AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateThemeRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/ThemeConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/ResourcePermission.h>
13#include <aws/quicksight/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API CreateThemeRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateTheme"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
45 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 template<typename AwsAccountIdT = Aws::String>
47 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
48 template<typename AwsAccountIdT = Aws::String>
49 CreateThemeRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetThemeId() const { return m_themeId; }
58 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
59 template<typename ThemeIdT = Aws::String>
60 void SetThemeId(ThemeIdT&& value) { m_themeIdHasBeenSet = true; m_themeId = std::forward<ThemeIdT>(value); }
61 template<typename ThemeIdT = Aws::String>
62 CreateThemeRequest& WithThemeId(ThemeIdT&& value) { SetThemeId(std::forward<ThemeIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 CreateThemeRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
84 inline const Aws::String& GetBaseThemeId() const { return m_baseThemeId; }
85 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
86 template<typename BaseThemeIdT = Aws::String>
87 void SetBaseThemeId(BaseThemeIdT&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::forward<BaseThemeIdT>(value); }
88 template<typename BaseThemeIdT = Aws::String>
89 CreateThemeRequest& WithBaseThemeId(BaseThemeIdT&& value) { SetBaseThemeId(std::forward<BaseThemeIdT>(value)); return *this;}
91
93
99 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
100 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
101 template<typename VersionDescriptionT = Aws::String>
102 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
103 template<typename VersionDescriptionT = Aws::String>
104 CreateThemeRequest& WithVersionDescription(VersionDescriptionT&& value) { SetVersionDescription(std::forward<VersionDescriptionT>(value)); return *this;}
106
108
111 inline const ThemeConfiguration& GetConfiguration() const { return m_configuration; }
112 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
113 template<typename ConfigurationT = ThemeConfiguration>
114 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
115 template<typename ConfigurationT = ThemeConfiguration>
116 CreateThemeRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
118
120
123 inline const Aws::Vector<ResourcePermission>& GetPermissions() const { return m_permissions; }
124 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
125 template<typename PermissionsT = Aws::Vector<ResourcePermission>>
126 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
127 template<typename PermissionsT = Aws::Vector<ResourcePermission>>
128 CreateThemeRequest& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
129 template<typename PermissionsT = ResourcePermission>
130 CreateThemeRequest& AddPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions.emplace_back(std::forward<PermissionsT>(value)); return *this; }
132
134
138 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
139 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
140 template<typename TagsT = Aws::Vector<Tag>>
141 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
142 template<typename TagsT = Aws::Vector<Tag>>
143 CreateThemeRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
144 template<typename TagsT = Tag>
145 CreateThemeRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
147 private:
148
149 Aws::String m_awsAccountId;
150 bool m_awsAccountIdHasBeenSet = false;
151
152 Aws::String m_themeId;
153 bool m_themeIdHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_baseThemeId;
159 bool m_baseThemeIdHasBeenSet = false;
160
161 Aws::String m_versionDescription;
162 bool m_versionDescriptionHasBeenSet = false;
163
164 ThemeConfiguration m_configuration;
165 bool m_configurationHasBeenSet = false;
166
168 bool m_permissionsHasBeenSet = false;
169
170 Aws::Vector<Tag> m_tags;
171 bool m_tagsHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace QuickSight
176} // namespace Aws
CreateThemeRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateThemeRequest & WithPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateThemeRequest & WithConfiguration(ConfigurationT &&value)
CreateThemeRequest & WithThemeId(ThemeIdT &&value)
CreateThemeRequest & WithName(NameT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetConfiguration(ConfigurationT &&value)
CreateThemeRequest & WithBaseThemeId(BaseThemeIdT &&value)
CreateThemeRequest & AddPermissions(PermissionsT &&value)
const ThemeConfiguration & GetConfiguration() const
AWS_QUICKSIGHT_API CreateThemeRequest()=default
virtual const char * GetServiceRequestName() const override
CreateThemeRequest & AddTags(TagsT &&value)
const Aws::String & GetVersionDescription() const
const Aws::Vector< ResourcePermission > & GetPermissions() const
CreateThemeRequest & WithVersionDescription(VersionDescriptionT &&value)
CreateThemeRequest & WithTags(TagsT &&value)
void SetVersionDescription(VersionDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector