AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
44 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
45 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
46 inline UpdateThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
47 inline UpdateThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
48 inline UpdateThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
50
52
55 inline const Aws::String& GetThemeId() const{ return m_themeId; }
56 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
57 inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
58 inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
59 inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
60 inline UpdateThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
61 inline UpdateThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
62 inline UpdateThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline UpdateThemeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline UpdateThemeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline UpdateThemeRequest& WithName(const char* value) { SetName(value); return *this;}
78
80
84 inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
85 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
86 inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
87 inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
88 inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
89 inline UpdateThemeRequest& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
90 inline UpdateThemeRequest& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
91 inline UpdateThemeRequest& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
93
95
101 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
102 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
103 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
104 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
105 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
106 inline UpdateThemeRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
107 inline UpdateThemeRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
108 inline UpdateThemeRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
110
112
115 inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
116 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
117 inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
118 inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
119 inline UpdateThemeRequest& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
120 inline UpdateThemeRequest& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_awsAccountId;
125 bool m_awsAccountIdHasBeenSet = false;
126
127 Aws::String m_themeId;
128 bool m_themeIdHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_baseThemeId;
134 bool m_baseThemeIdHasBeenSet = false;
135
136 Aws::String m_versionDescription;
137 bool m_versionDescriptionHasBeenSet = false;
138
139 ThemeConfiguration m_configuration;
140 bool m_configurationHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QuickSight
145} // namespace Aws
UpdateThemeRequest & WithBaseThemeId(Aws::String &&value)
void SetThemeId(const Aws::String &value)
void SetVersionDescription(const Aws::String &value)
UpdateThemeRequest & WithConfiguration(const ThemeConfiguration &value)
UpdateThemeRequest & WithThemeId(Aws::String &&value)
UpdateThemeRequest & WithBaseThemeId(const Aws::String &value)
UpdateThemeRequest & WithBaseThemeId(const char *value)
const ThemeConfiguration & GetConfiguration() const
void SetBaseThemeId(const Aws::String &value)
UpdateThemeRequest & WithVersionDescription(const char *value)
void SetConfiguration(const ThemeConfiguration &value)
UpdateThemeRequest & WithThemeId(const Aws::String &value)
UpdateThemeRequest & WithThemeId(const char *value)
void SetConfiguration(ThemeConfiguration &&value)
UpdateThemeRequest & WithConfiguration(ThemeConfiguration &&value)
UpdateThemeRequest & WithName(Aws::String &&value)
UpdateThemeRequest & WithAwsAccountId(Aws::String &&value)
UpdateThemeRequest & WithVersionDescription(const Aws::String &value)
const Aws::String & GetVersionDescription() const
void SetAwsAccountId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateThemeRequest & WithAwsAccountId(const char *value)
UpdateThemeRequest & WithVersionDescription(Aws::String &&value)
UpdateThemeRequest & WithName(const char *value)
UpdateThemeRequest & WithAwsAccountId(const Aws::String &value)
UpdateThemeRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String