AWS SDK for C++  1.9.153
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 
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 DeleteTemplateAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline DeleteTemplateAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline DeleteTemplateAliasRequest& 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 DeleteTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
113 
117  inline DeleteTemplateAliasRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
118 
122  inline DeleteTemplateAliasRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
123 
124 
131  inline const Aws::String& GetAliasName() const{ return m_aliasName; }
132 
139  inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
140 
147  inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
148 
155  inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
156 
163  inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
164 
171  inline DeleteTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
172 
179  inline DeleteTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
180 
187  inline DeleteTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
188 
189  private:
190 
191  Aws::String m_awsAccountId;
192  bool m_awsAccountIdHasBeenSet;
193 
194  Aws::String m_templateId;
195  bool m_templateIdHasBeenSet;
196 
197  Aws::String m_aliasName;
198  bool m_aliasNameHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace QuickSight
203 } // namespace Aws
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: DeleteTemplateAliasRequest.h:87
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:155
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:45
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:75
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:57
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetAliasName
const Aws::String & GetAliasName() const
Definition: DeleteTemplateAliasRequest.h:131
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:102
Aws::QuickSight::Model::DeleteTemplateAliasRequest::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: DeleteTemplateAliasRequest.h:139
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:69
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteTemplateAliasRequest.h:63
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithTemplateId
DeleteTemplateAliasRequest & WithTemplateId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:112
QuickSightRequest.h
Aws::QuickSight::Model::DeleteTemplateAliasRequest::DeleteTemplateAliasRequest
DeleteTemplateAliasRequest()
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAwsAccountId
DeleteTemplateAliasRequest & WithAwsAccountId(const char *value)
Definition: DeleteTemplateAliasRequest.h:81
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(Aws::String &&value)
Definition: DeleteTemplateAliasRequest.h:179
AWSString.h
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:171
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithTemplateId
DeleteTemplateAliasRequest & WithTemplateId(const char *value)
Definition: DeleteTemplateAliasRequest.h:122
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:147
Aws::QuickSight::Model::DeleteTemplateAliasRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteTemplateAliasRequest.h:39
Aws::QuickSight::Model::DeleteTemplateAliasRequest::WithAliasName
DeleteTemplateAliasRequest & WithAliasName(const char *value)
Definition: DeleteTemplateAliasRequest.h:187
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: DeleteTemplateAliasRequest.h:107
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:51
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: DeleteTemplateAliasRequest.h:97
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:117
Aws::QuickSight::Model::DeleteTemplateAliasRequest::SetAliasName
void SetAliasName(const char *value)
Definition: DeleteTemplateAliasRequest.h:163
Aws::QuickSight::Model::DeleteTemplateAliasRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: DeleteTemplateAliasRequest.h:92
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteTemplateAliasRequest
Definition: DeleteTemplateAliasRequest.h:22