AWS SDK for C++  1.9.44
AWS SDK for C++
CreateNamespaceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace QuickSight
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateNamespace"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 
48  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 
54  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
55 
60  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
61 
66  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
67 
72  inline CreateNamespaceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
73 
78  inline CreateNamespaceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
79 
84  inline CreateNamespaceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
85 
86 
90  inline const Aws::String& GetNamespace() const{ return m_namespace; }
91 
95  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
96 
100  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
101 
105  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
106 
110  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
111 
115  inline CreateNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
116 
120  inline CreateNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
121 
125  inline CreateNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
126 
127 
132  inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
133 
138  inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; }
139 
144  inline void SetIdentityStore(const IdentityStore& value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
145 
150  inline void SetIdentityStore(IdentityStore&& value) { m_identityStoreHasBeenSet = true; m_identityStore = std::move(value); }
151 
156  inline CreateNamespaceRequest& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
157 
162  inline CreateNamespaceRequest& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
163 
164 
169  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
170 
175  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
176 
181  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
182 
187  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
188 
193  inline CreateNamespaceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
194 
199  inline CreateNamespaceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
200 
205  inline CreateNamespaceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
206 
211  inline CreateNamespaceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
212 
213  private:
214 
215  Aws::String m_awsAccountId;
216  bool m_awsAccountIdHasBeenSet;
217 
218  Aws::String m_namespace;
219  bool m_namespaceHasBeenSet;
220 
221  IdentityStore m_identityStore;
222  bool m_identityStoreHasBeenSet;
223 
224  Aws::Vector<Tag> m_tags;
225  bool m_tagsHasBeenSet;
226  };
227 
228 } // namespace Model
229 } // namespace QuickSight
230 } // namespace Aws
Aws::QuickSight::Model::CreateNamespaceRequest::IdentityStoreHasBeenSet
bool IdentityStoreHasBeenSet() const
Definition: CreateNamespaceRequest.h:138
Tag.h
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateNamespaceRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateNamespaceRequest.h:181
Aws::QuickSight::Model::CreateNamespaceRequest::SetIdentityStore
void SetIdentityStore(const IdentityStore &value)
Definition: CreateNamespaceRequest.h:144
Aws::QuickSight::Model::CreateNamespaceRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateNamespaceRequest.h:175
Aws::QuickSight::Model::CreateNamespaceRequest::WithIdentityStore
CreateNamespaceRequest & WithIdentityStore(const IdentityStore &value)
Definition: CreateNamespaceRequest.h:156
Aws::QuickSight::Model::CreateNamespaceRequest::WithNamespace
CreateNamespaceRequest & WithNamespace(Aws::String &&value)
Definition: CreateNamespaceRequest.h:120
Aws::QuickSight::Model::CreateNamespaceRequest::WithIdentityStore
CreateNamespaceRequest & WithIdentityStore(IdentityStore &&value)
Definition: CreateNamespaceRequest.h:162
Aws::QuickSight::Model::CreateNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateNamespaceRequest.h:60
Aws::QuickSight::Model::CreateNamespaceRequest::WithNamespace
CreateNamespaceRequest & WithNamespace(const char *value)
Definition: CreateNamespaceRequest.h:125
Aws::QuickSight::Model::CreateNamespaceRequest::SetNamespace
void SetNamespace(const char *value)
Definition: CreateNamespaceRequest.h:110
Aws::QuickSight::Model::Tag
Definition: Tag.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::CreateNamespaceRequest
Definition: CreateNamespaceRequest.h:25
Aws::QuickSight::Model::CreateNamespaceRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: CreateNamespaceRequest.h:105
IdentityStore.h
AWSVector.h
Aws::QuickSight::Model::CreateNamespaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateNamespaceRequest::WithNamespace
CreateNamespaceRequest & WithNamespace(const Aws::String &value)
Definition: CreateNamespaceRequest.h:115
Aws::QuickSight::Model::CreateNamespaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateNamespaceRequest.h:33
Aws::QuickSight::Model::CreateNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateNamespaceRequest.h:66
Aws::QuickSight::Model::CreateNamespaceRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: CreateNamespaceRequest.h:100
QuickSightRequest.h
Aws::QuickSight::Model::CreateNamespaceRequest::SetIdentityStore
void SetIdentityStore(IdentityStore &&value)
Definition: CreateNamespaceRequest.h:150
Aws::QuickSight::Model::CreateNamespaceRequest::WithAwsAccountId
CreateNamespaceRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateNamespaceRequest.h:78
Aws::QuickSight::Model::CreateNamespaceRequest::WithAwsAccountId
CreateNamespaceRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateNamespaceRequest.h:72
Aws::QuickSight::Model::IdentityStore
IdentityStore
Definition: IdentityStore.h:17
Aws::QuickSight::Model::CreateNamespaceRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: CreateNamespaceRequest.h:95
AWSString.h
Aws::QuickSight::Model::CreateNamespaceRequest::GetIdentityStore
const IdentityStore & GetIdentityStore() const
Definition: CreateNamespaceRequest.h:132
Aws::QuickSight::Model::CreateNamespaceRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateNamespaceRequest.h:169
Aws::QuickSight::Model::CreateNamespaceRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: CreateNamespaceRequest.h:90
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateNamespaceRequest.h:54
Aws::QuickSight::Model::CreateNamespaceRequest::WithTags
CreateNamespaceRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateNamespaceRequest.h:199
Aws::QuickSight::Model::CreateNamespaceRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateNamespaceRequest.h:187
Aws::QuickSight::Model::CreateNamespaceRequest::AddTags
CreateNamespaceRequest & AddTags(Tag &&value)
Definition: CreateNamespaceRequest.h:211
Aws::QuickSight::Model::CreateNamespaceRequest::AddTags
CreateNamespaceRequest & AddTags(const Tag &value)
Definition: CreateNamespaceRequest.h:205
Aws::QuickSight::Model::CreateNamespaceRequest::CreateNamespaceRequest
CreateNamespaceRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateNamespaceRequest::WithAwsAccountId
CreateNamespaceRequest & WithAwsAccountId(const char *value)
Definition: CreateNamespaceRequest.h:84
Aws::QuickSight::Model::CreateNamespaceRequest::WithTags
CreateNamespaceRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateNamespaceRequest.h:193
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateNamespaceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateNamespaceRequest.h:48
Aws::QuickSight::Model::CreateNamespaceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateNamespaceRequest.h:42