AWS SDK for C++  1.9.46
AWS SDK for C++
UpdateTemplateAliasRequest.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 "UpdateTemplateAlias"; }
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 UpdateTemplateAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline UpdateTemplateAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline UpdateTemplateAliasRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
88 
92  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
93 
97  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
98 
102  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
103 
107  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
108 
112  inline UpdateTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
113 
117  inline UpdateTemplateAliasRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
118 
122  inline UpdateTemplateAliasRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
123 
124 
132  inline const Aws::String& GetAliasName() const{ return m_aliasName; }
133 
141  inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
142 
150  inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
151 
159  inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
160 
168  inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
169 
177  inline UpdateTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
178 
186  inline UpdateTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
187 
195  inline UpdateTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
196 
197 
201  inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; }
202 
206  inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; }
207 
211  inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; }
212 
216  inline UpdateTemplateAliasRequest& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;}
217 
218  private:
219 
220  Aws::String m_awsAccountId;
221  bool m_awsAccountIdHasBeenSet;
222 
223  Aws::String m_templateId;
224  bool m_templateIdHasBeenSet;
225 
226  Aws::String m_aliasName;
227  bool m_aliasNameHasBeenSet;
228 
229  long long m_templateVersionNumber;
230  bool m_templateVersionNumberHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace QuickSight
235 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:102
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAliasName
UpdateTemplateAliasRequest & WithAliasName(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:186
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:57
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: UpdateTemplateAliasRequest.h:107
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:159
Aws::QuickSight::Model::UpdateTemplateAliasRequest::GetTemplateVersionNumber
long long GetTemplateVersionNumber() const
Definition: UpdateTemplateAliasRequest.h:201
Aws::QuickSight::Model::UpdateTemplateAliasRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateTemplateAliasRequest.h:45
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:51
Aws::QuickSight::Model::UpdateTemplateAliasRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: UpdateTemplateAliasRequest.h:87
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAwsAccountId
UpdateTemplateAliasRequest & WithAwsAccountId(const char *value)
Definition: UpdateTemplateAliasRequest.h:81
Aws::QuickSight::Model::UpdateTemplateAliasRequest::TemplateVersionNumberHasBeenSet
bool TemplateVersionNumberHasBeenSet() const
Definition: UpdateTemplateAliasRequest.h:206
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:97
QuickSightRequest.h
Aws::QuickSight::Model::UpdateTemplateAliasRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateTemplateAliasRequest.h:39
Aws::QuickSight::Model::UpdateTemplateAliasRequest
Definition: UpdateTemplateAliasRequest.h:22
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAwsAccountId
UpdateTemplateAliasRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:69
AWSString.h
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAliasName
UpdateTemplateAliasRequest & WithAliasName(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:177
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:150
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithTemplateId
UpdateTemplateAliasRequest & WithTemplateId(const char *value)
Definition: UpdateTemplateAliasRequest.h:122
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateTemplateAliasRequest.h:63
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAwsAccountId
UpdateTemplateAliasRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:75
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithTemplateId
UpdateTemplateAliasRequest & WithTemplateId(const Aws::String &value)
Definition: UpdateTemplateAliasRequest.h:112
Aws::QuickSight::Model::UpdateTemplateAliasRequest::UpdateTemplateAliasRequest
UpdateTemplateAliasRequest()
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetAliasName
void SetAliasName(const char *value)
Definition: UpdateTemplateAliasRequest.h:168
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithAliasName
UpdateTemplateAliasRequest & WithAliasName(const char *value)
Definition: UpdateTemplateAliasRequest.h:195
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithTemplateId
UpdateTemplateAliasRequest & WithTemplateId(Aws::String &&value)
Definition: UpdateTemplateAliasRequest.h:117
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateTemplateAliasRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: UpdateTemplateAliasRequest.h:92
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SetTemplateVersionNumber
void SetTemplateVersionNumber(long long value)
Definition: UpdateTemplateAliasRequest.h:211
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateTemplateAliasRequest::GetAliasName
const Aws::String & GetAliasName() const
Definition: UpdateTemplateAliasRequest.h:132
Aws::QuickSight::Model::UpdateTemplateAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateTemplateAliasRequest::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: UpdateTemplateAliasRequest.h:141
Aws::QuickSight::Model::UpdateTemplateAliasRequest::WithTemplateVersionNumber
UpdateTemplateAliasRequest & WithTemplateVersionNumber(long long value)
Definition: UpdateTemplateAliasRequest.h:216
Aws::QuickSight::Model::UpdateTemplateAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateTemplateAliasRequest.h:30
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17