AWS SDK for C++  1.9.44
AWS SDK for C++
CreateTemplateAliasRequest.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 "CreateTemplateAlias"; }
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 CreateTemplateAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline CreateTemplateAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline CreateTemplateAliasRequest& 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 CreateTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
113 
117  inline CreateTemplateAliasRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
118 
122  inline CreateTemplateAliasRequest& WithTemplateId(const char* value) { SetTemplateId(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 CreateTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
166 
172  inline CreateTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
173 
179  inline CreateTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
180 
181 
185  inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; }
186 
190  inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; }
191 
195  inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; }
196 
200  inline CreateTemplateAliasRequest& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;}
201 
202  private:
203 
204  Aws::String m_awsAccountId;
205  bool m_awsAccountIdHasBeenSet;
206 
207  Aws::String m_templateId;
208  bool m_templateIdHasBeenSet;
209 
210  Aws::String m_aliasName;
211  bool m_aliasNameHasBeenSet;
212 
213  long long m_templateVersionNumber;
214  bool m_templateVersionNumberHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace QuickSight
219 } // namespace Aws
Aws::QuickSight::Model::CreateTemplateAliasRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateTemplateAliasRequest.h:39
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAliasName
CreateTemplateAliasRequest & WithAliasName(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:172
Aws::QuickSight::Model::CreateTemplateAliasRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: CreateTemplateAliasRequest.h:92
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAwsAccountId
CreateTemplateAliasRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:75
Aws::QuickSight::Model::CreateTemplateAliasRequest::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: CreateTemplateAliasRequest.h:137
Aws::QuickSight::Model::CreateTemplateAliasRequest
Definition: CreateTemplateAliasRequest.h:22
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:51
Aws::QuickSight::Model::CreateTemplateAliasRequest::CreateTemplateAliasRequest
CreateTemplateAliasRequest()
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithTemplateId
CreateTemplateAliasRequest & WithTemplateId(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:112
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:97
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithTemplateId
CreateTemplateAliasRequest & WithTemplateId(const char *value)
Definition: CreateTemplateAliasRequest.h:122
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetTemplateVersionNumber
void SetTemplateVersionNumber(long long value)
Definition: CreateTemplateAliasRequest.h:195
QuickSightRequest.h
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAwsAccountId
CreateTemplateAliasRequest & WithAwsAccountId(const char *value)
Definition: CreateTemplateAliasRequest.h:81
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAliasName
CreateTemplateAliasRequest & WithAliasName(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:165
AWSString.h
Aws::QuickSight::Model::CreateTemplateAliasRequest::GetTemplateVersionNumber
long long GetTemplateVersionNumber() const
Definition: CreateTemplateAliasRequest.h:185
Aws::QuickSight::Model::CreateTemplateAliasRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateTemplateAliasRequest.h:45
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAwsAccountId
CreateTemplateAliasRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:69
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:57
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: CreateTemplateAliasRequest.h:107
Aws::QuickSight::Model::CreateTemplateAliasRequest::GetAliasName
const Aws::String & GetAliasName() const
Definition: CreateTemplateAliasRequest.h:130
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:151
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithAliasName
CreateTemplateAliasRequest & WithAliasName(const char *value)
Definition: CreateTemplateAliasRequest.h:179
Aws::QuickSight::Model::CreateTemplateAliasRequest::TemplateVersionNumberHasBeenSet
bool TemplateVersionNumberHasBeenSet() const
Definition: CreateTemplateAliasRequest.h:190
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateTemplateAliasRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: CreateTemplateAliasRequest.h:87
Aws::QuickSight::Model::CreateTemplateAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTemplateAliasRequest.h:30
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithTemplateVersionNumber
CreateTemplateAliasRequest & WithTemplateVersionNumber(long long value)
Definition: CreateTemplateAliasRequest.h:200
Aws::QuickSight::Model::CreateTemplateAliasRequest::WithTemplateId
CreateTemplateAliasRequest & WithTemplateId(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:117
Aws::QuickSight::Model::CreateTemplateAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: CreateTemplateAliasRequest.h:102
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAliasName
void SetAliasName(const char *value)
Definition: CreateTemplateAliasRequest.h:158
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: CreateTemplateAliasRequest.h:144
Aws::QuickSight::Model::CreateTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateTemplateAliasRequest.h:63