AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteTemplateAliasRequest.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 "DeleteTemplateAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
39 
43  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 
48  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 
53  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
54 
58  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 
63  inline DeleteTemplateAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
68  inline DeleteTemplateAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
73  inline DeleteTemplateAliasRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
74 
75 
79  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
80 
84  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
85 
89  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
90 
94  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
95 
99  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
100 
104  inline DeleteTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
105 
109  inline DeleteTemplateAliasRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
110 
114  inline DeleteTemplateAliasRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
115 
116 
123  inline const Aws::String& GetAliasName() const{ return m_aliasName; }
124 
131  inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
132 
139  inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
140 
147  inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
148 
155  inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
156 
163  inline DeleteTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
164 
171  inline DeleteTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
172 
179  inline DeleteTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
180 
181  private:
182 
183  Aws::String m_awsAccountId;
184  bool m_awsAccountIdHasBeenSet;
185 
186  Aws::String m_templateId;
187  bool m_templateIdHasBeenSet;
188 
189  Aws::String m_aliasName;
190  bool m_aliasNameHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace QuickSight
195 } // namespace Aws
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: DeleteTemplateAliasRequest.h:79
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:147
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteTemplateAliasRequest.h:30
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteTemplateAliasRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteTemplateAliasRequest.h:43
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:68
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:53
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetAliasName
const Aws::String & GetAliasName() const
Definition: DeleteTemplateAliasRequest.h:123
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:94
Aws::QuickSight::Model::DeleteTemplateAliasRequest::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: DeleteTemplateAliasRequest.h:131
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:63
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteTemplateAliasRequest.h:58
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithTemplateId
DeleteTemplateAliasRequest & WithTemplateId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:104
QuickSightRequest.h
Aws::QuickSight::Model::DeleteTemplateAliasRequest::DeleteTemplateAliasRequest
DeleteTemplateAliasRequest()
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(const char *value)
Definition: DeleteTemplateAliasRequest.h:73
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:171
AWSString.h
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:163
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithTemplateId
DeleteTemplateAliasRequest & WithTemplateId(const char *value)
Definition: DeleteTemplateAliasRequest.h:114
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:139
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteTemplateAliasRequest.h:38
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(const char *value)
Definition: DeleteTemplateAliasRequest.h:179
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: DeleteTemplateAliasRequest.h:99
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:48
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithTemplateId
DeleteTemplateAliasRequest & WithTemplateId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:109
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(const char *value)
Definition: DeleteTemplateAliasRequest.h:155
Aws::QuickSight::Model::DeleteTemplateAliasRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: DeleteTemplateAliasRequest.h:84
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteTemplateAliasRequest
Definition: DeleteTemplateAliasRequest.h:22