AWS SDK for C++  1.9.44
AWS SDK for C++
CreateThemeAliasRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateThemeAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
45  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 
51  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
69  inline CreateThemeAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline CreateThemeAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline CreateThemeAliasRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetThemeId() const{ return m_themeId; }
88 
92  inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
93 
97  inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
98 
102  inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
103 
107  inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
108 
112  inline CreateThemeAliasRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
113 
117  inline CreateThemeAliasRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
118 
122  inline CreateThemeAliasRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
123 
124 
130  inline const Aws::String& GetAliasName() const{ return m_aliasName; }
131 
137  inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
138 
144  inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
145 
151  inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
152 
158  inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
159 
165  inline CreateThemeAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
166 
172  inline CreateThemeAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
173 
179  inline CreateThemeAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
180 
181 
185  inline long long GetThemeVersionNumber() const{ return m_themeVersionNumber; }
186 
190  inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; }
191 
195  inline void SetThemeVersionNumber(long long value) { m_themeVersionNumberHasBeenSet = true; m_themeVersionNumber = value; }
196 
200  inline CreateThemeAliasRequest& WithThemeVersionNumber(long long value) { SetThemeVersionNumber(value); return *this;}
201 
202  private:
203 
204  Aws::String m_awsAccountId;
205  bool m_awsAccountIdHasBeenSet;
206 
207  Aws::String m_themeId;
208  bool m_themeIdHasBeenSet;
209 
210  Aws::String m_aliasName;
211  bool m_aliasNameHasBeenSet;
212 
213  long long m_themeVersionNumber;
214  bool m_themeVersionNumberHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace QuickSight
219 } // namespace Aws
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAliasName
CreateThemeAliasRequest & WithAliasName(const char *value)
Definition: CreateThemeAliasRequest.h:179
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:151
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateThemeAliasRequest::ThemeVersionNumberHasBeenSet
bool ThemeVersionNumberHasBeenSet() const
Definition: CreateThemeAliasRequest.h:190
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:57
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateThemeAliasRequest.h:63
Aws::QuickSight::Model::CreateThemeAliasRequest::GetThemeId
const Aws::String & GetThemeId() const
Definition: CreateThemeAliasRequest.h:87
Aws::QuickSight::Model::CreateThemeAliasRequest::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:102
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:144
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:51
Aws::QuickSight::Model::CreateThemeAliasRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateThemeAliasRequest.h:39
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAliasName
CreateThemeAliasRequest & WithAliasName(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:165
Aws::QuickSight::Model::CreateThemeAliasRequest::WithThemeId
CreateThemeAliasRequest & WithThemeId(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:112
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAwsAccountId
CreateThemeAliasRequest & WithAwsAccountId(const char *value)
Definition: CreateThemeAliasRequest.h:81
Aws::QuickSight::Model::CreateThemeAliasRequest::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:97
Aws::QuickSight::Model::CreateThemeAliasRequest::SetAliasName
void SetAliasName(const char *value)
Definition: CreateThemeAliasRequest.h:158
QuickSightRequest.h
Aws::QuickSight::Model::CreateThemeAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateThemeAliasRequest.h:30
Aws::QuickSight::Model::CreateThemeAliasRequest::SetThemeVersionNumber
void SetThemeVersionNumber(long long value)
Definition: CreateThemeAliasRequest.h:195
AWSString.h
Aws::QuickSight::Model::CreateThemeAliasRequest::WithThemeId
CreateThemeAliasRequest & WithThemeId(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:117
Aws::QuickSight::Model::CreateThemeAliasRequest::CreateThemeAliasRequest
CreateThemeAliasRequest()
Aws::QuickSight::Model::CreateThemeAliasRequest::GetThemeVersionNumber
long long GetThemeVersionNumber() const
Definition: CreateThemeAliasRequest.h:185
Aws::QuickSight::Model::CreateThemeAliasRequest::ThemeIdHasBeenSet
bool ThemeIdHasBeenSet() const
Definition: CreateThemeAliasRequest.h:92
Aws::QuickSight::Model::CreateThemeAliasRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateThemeAliasRequest.h:45
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateThemeAliasRequest::SetThemeId
void SetThemeId(const char *value)
Definition: CreateThemeAliasRequest.h:107
Aws::QuickSight::Model::CreateThemeAliasRequest::GetAliasName
const Aws::String & GetAliasName() const
Definition: CreateThemeAliasRequest.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateThemeAliasRequest::WithThemeId
CreateThemeAliasRequest & WithThemeId(const char *value)
Definition: CreateThemeAliasRequest.h:122
Aws::QuickSight::Model::CreateThemeAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateThemeAliasRequest::WithThemeVersionNumber
CreateThemeAliasRequest & WithThemeVersionNumber(long long value)
Definition: CreateThemeAliasRequest.h:200
Aws::QuickSight::Model::CreateThemeAliasRequest
Definition: CreateThemeAliasRequest.h:22
Aws::QuickSight::Model::CreateThemeAliasRequest::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: CreateThemeAliasRequest.h:137
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAwsAccountId
CreateThemeAliasRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateThemeAliasRequest.h:69
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAliasName
CreateThemeAliasRequest & WithAliasName(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:172
Aws::QuickSight::Model::CreateThemeAliasRequest::WithAwsAccountId
CreateThemeAliasRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateThemeAliasRequest.h:75