AWS SDK for C++  1.9.44
AWS SDK for C++
CreateAccountCustomizationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Http
18 {
19  class URI;
20 } //namespace Http
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateAccountCustomization"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
48 
52  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
53 
57  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 
62  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
63 
67  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
68 
72  inline CreateAccountCustomizationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
73 
77  inline CreateAccountCustomizationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
78 
82  inline CreateAccountCustomizationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
83 
84 
88  inline const Aws::String& GetNamespace() const{ return m_namespace; }
89 
93  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
94 
98  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
99 
103  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
104 
108  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
109 
113  inline CreateAccountCustomizationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
114 
118  inline CreateAccountCustomizationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
119 
123  inline CreateAccountCustomizationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
124 
125 
136  inline const AccountCustomization& GetAccountCustomization() const{ return m_accountCustomization; }
137 
148  inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; }
149 
160  inline void SetAccountCustomization(const AccountCustomization& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = value; }
161 
172  inline void SetAccountCustomization(AccountCustomization&& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = std::move(value); }
173 
184  inline CreateAccountCustomizationRequest& WithAccountCustomization(const AccountCustomization& value) { SetAccountCustomization(value); return *this;}
185 
196  inline CreateAccountCustomizationRequest& WithAccountCustomization(AccountCustomization&& value) { SetAccountCustomization(std::move(value)); return *this;}
197 
198 
202  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
203 
207  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
208 
212  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
213 
217  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
218 
222  inline CreateAccountCustomizationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
223 
227  inline CreateAccountCustomizationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
228 
232  inline CreateAccountCustomizationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
233 
237  inline CreateAccountCustomizationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
238 
239  private:
240 
241  Aws::String m_awsAccountId;
242  bool m_awsAccountIdHasBeenSet;
243 
244  Aws::String m_namespace;
245  bool m_namespaceHasBeenSet;
246 
247  AccountCustomization m_accountCustomization;
248  bool m_accountCustomizationHasBeenSet;
249 
250  Aws::Vector<Tag> m_tags;
251  bool m_tagsHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace QuickSight
256 } // namespace Aws
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SerializePayload
Aws::String SerializePayload() const override
Tag.h
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateAccountCustomizationRequest::AddTags
CreateAccountCustomizationRequest & AddTags(Tag &&value)
Definition: CreateAccountCustomizationRequest.h:237
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithAccountCustomization
CreateAccountCustomizationRequest & WithAccountCustomization(AccountCustomization &&value)
Definition: CreateAccountCustomizationRequest.h:196
Aws::QuickSight::Model::CreateAccountCustomizationRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: CreateAccountCustomizationRequest.h:93
Aws::QuickSight::Model::CreateAccountCustomizationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateAccountCustomizationRequest.h:207
Aws::QuickSight::Model::CreateAccountCustomizationRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateAccountCustomizationRequest.h:52
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateAccountCustomizationRequest.h:217
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithNamespace
CreateAccountCustomizationRequest & WithNamespace(const Aws::String &value)
Definition: CreateAccountCustomizationRequest.h:113
Aws::QuickSight::Model::Tag
Definition: Tag.h:33
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetNamespace
void SetNamespace(const char *value)
Definition: CreateAccountCustomizationRequest.h:108
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithAwsAccountId
CreateAccountCustomizationRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateAccountCustomizationRequest.h:77
AccountCustomization.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::AccountCustomization
Definition: AccountCustomization.h:33
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithAccountCustomization
CreateAccountCustomizationRequest & WithAccountCustomization(const AccountCustomization &value)
Definition: CreateAccountCustomizationRequest.h:184
AWSVector.h
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateAccountCustomizationRequest.h:62
Aws::QuickSight::Model::CreateAccountCustomizationRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateAccountCustomizationRequest.h:202
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: CreateAccountCustomizationRequest.h:98
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithAwsAccountId
CreateAccountCustomizationRequest & WithAwsAccountId(const char *value)
Definition: CreateAccountCustomizationRequest.h:82
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateAccountCustomizationRequest.h:67
Aws::QuickSight::Model::CreateAccountCustomizationRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: CreateAccountCustomizationRequest.h:88
Aws::QuickSight::Model::CreateAccountCustomizationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateAccountCustomizationRequest.h:37
QuickSightRequest.h
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithAwsAccountId
CreateAccountCustomizationRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateAccountCustomizationRequest.h:72
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: CreateAccountCustomizationRequest.h:103
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateAccountCustomizationRequest.h:57
AWSString.h
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithNamespace
CreateAccountCustomizationRequest & WithNamespace(Aws::String &&value)
Definition: CreateAccountCustomizationRequest.h:118
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetAccountCustomization
void SetAccountCustomization(AccountCustomization &&value)
Definition: CreateAccountCustomizationRequest.h:172
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateAccountCustomizationRequest.h:212
Aws::QuickSight::Model::CreateAccountCustomizationRequest::AccountCustomizationHasBeenSet
bool AccountCustomizationHasBeenSet() const
Definition: CreateAccountCustomizationRequest.h:148
Aws::QuickSight::Model::CreateAccountCustomizationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::CreateAccountCustomizationRequest::CreateAccountCustomizationRequest
CreateAccountCustomizationRequest()
Aws::QuickSight::Model::CreateAccountCustomizationRequest
Definition: CreateAccountCustomizationRequest.h:29
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateAccountCustomizationRequest::AddTags
CreateAccountCustomizationRequest & AddTags(const Tag &value)
Definition: CreateAccountCustomizationRequest.h:232
Aws::QuickSight::Model::CreateAccountCustomizationRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateAccountCustomizationRequest.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithTags
CreateAccountCustomizationRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateAccountCustomizationRequest.h:227
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithTags
CreateAccountCustomizationRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateAccountCustomizationRequest.h:222
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateAccountCustomizationRequest::GetAccountCustomization
const AccountCustomization & GetAccountCustomization() const
Definition: CreateAccountCustomizationRequest.h:136
Aws::QuickSight::Model::CreateAccountCustomizationRequest::SetAccountCustomization
void SetAccountCustomization(const AccountCustomization &value)
Definition: CreateAccountCustomizationRequest.h:160
Aws::QuickSight::Model::CreateAccountCustomizationRequest::WithNamespace
CreateAccountCustomizationRequest & WithNamespace(const char *value)
Definition: CreateAccountCustomizationRequest.h:123