AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateThemeRequest.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 <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API UpdateThemeRequest() = 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 "UpdateTheme"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template<typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
45 template<typename AwsAccountIdT = Aws::String>
46 UpdateThemeRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetThemeId() const { return m_themeId; }
54 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
55 template<typename ThemeIdT = Aws::String>
56 void SetThemeId(ThemeIdT&& value) { m_themeIdHasBeenSet = true; m_themeId = std::forward<ThemeIdT>(value); }
57 template<typename ThemeIdT = Aws::String>
58 UpdateThemeRequest& WithThemeId(ThemeIdT&& value) { SetThemeId(std::forward<ThemeIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 UpdateThemeRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
78 inline const Aws::String& GetBaseThemeId() const { return m_baseThemeId; }
79 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
80 template<typename BaseThemeIdT = Aws::String>
81 void SetBaseThemeId(BaseThemeIdT&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::forward<BaseThemeIdT>(value); }
82 template<typename BaseThemeIdT = Aws::String>
83 UpdateThemeRequest& WithBaseThemeId(BaseThemeIdT&& value) { SetBaseThemeId(std::forward<BaseThemeIdT>(value)); return *this;}
85
87
93 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
94 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
95 template<typename VersionDescriptionT = Aws::String>
96 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
97 template<typename VersionDescriptionT = Aws::String>
98 UpdateThemeRequest& WithVersionDescription(VersionDescriptionT&& value) { SetVersionDescription(std::forward<VersionDescriptionT>(value)); return *this;}
100
102
105 inline const ThemeConfiguration& GetConfiguration() const { return m_configuration; }
106 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
107 template<typename ConfigurationT = ThemeConfiguration>
108 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
109 template<typename ConfigurationT = ThemeConfiguration>
110 UpdateThemeRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
112 private:
113
114 Aws::String m_awsAccountId;
115 bool m_awsAccountIdHasBeenSet = false;
116
117 Aws::String m_themeId;
118 bool m_themeIdHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_baseThemeId;
124 bool m_baseThemeIdHasBeenSet = false;
125
126 Aws::String m_versionDescription;
127 bool m_versionDescriptionHasBeenSet = false;
128
129 ThemeConfiguration m_configuration;
130 bool m_configurationHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QuickSight
135} // 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