AWS SDK for C++  1.9.44
AWS SDK for C++
CreateAnalysisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace QuickSight
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CreateAnalysis"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
44 
48  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 
53  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
54 
58  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
59 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
68  inline CreateAnalysisRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
69 
73  inline CreateAnalysisRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
74 
78  inline CreateAnalysisRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
79 
80 
85  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
86 
91  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
92 
97  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
98 
103  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
104 
109  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
110 
115  inline CreateAnalysisRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
116 
121  inline CreateAnalysisRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
122 
127  inline CreateAnalysisRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
128 
129 
134  inline const Aws::String& GetName() const{ return m_name; }
135 
140  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 
146  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
147 
152  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
153 
158  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
159 
164  inline CreateAnalysisRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
165 
170  inline CreateAnalysisRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
171 
176  inline CreateAnalysisRequest& WithName(const char* value) { SetName(value); return *this;}
177 
178 
183  inline const Parameters& GetParameters() const{ return m_parameters; }
184 
189  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
190 
195  inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
196 
201  inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
202 
207  inline CreateAnalysisRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
208 
213  inline CreateAnalysisRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
214 
215 
223  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
224 
232  inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
233 
241  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
242 
250  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
251 
259  inline CreateAnalysisRequest& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
260 
268  inline CreateAnalysisRequest& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
269 
277  inline CreateAnalysisRequest& AddPermissions(const ResourcePermission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
278 
286  inline CreateAnalysisRequest& AddPermissions(ResourcePermission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
287 
288 
294  inline const AnalysisSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
295 
301  inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
302 
308  inline void SetSourceEntity(const AnalysisSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
309 
315  inline void SetSourceEntity(AnalysisSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
316 
322  inline CreateAnalysisRequest& WithSourceEntity(const AnalysisSourceEntity& value) { SetSourceEntity(value); return *this;}
323 
329  inline CreateAnalysisRequest& WithSourceEntity(AnalysisSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
330 
331 
336  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
337 
342  inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
343 
348  inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
349 
354  inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
355 
360  inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
361 
366  inline CreateAnalysisRequest& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
367 
372  inline CreateAnalysisRequest& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
373 
378  inline CreateAnalysisRequest& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
379 
380 
385  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
386 
391  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
392 
397  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
398 
403  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
404 
409  inline CreateAnalysisRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
410 
415  inline CreateAnalysisRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
416 
421  inline CreateAnalysisRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
422 
427  inline CreateAnalysisRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
428 
429  private:
430 
431  Aws::String m_awsAccountId;
432  bool m_awsAccountIdHasBeenSet;
433 
434  Aws::String m_analysisId;
435  bool m_analysisIdHasBeenSet;
436 
437  Aws::String m_name;
438  bool m_nameHasBeenSet;
439 
440  Parameters m_parameters;
441  bool m_parametersHasBeenSet;
442 
443  Aws::Vector<ResourcePermission> m_permissions;
444  bool m_permissionsHasBeenSet;
445 
446  AnalysisSourceEntity m_sourceEntity;
447  bool m_sourceEntityHasBeenSet;
448 
449  Aws::String m_themeArn;
450  bool m_themeArnHasBeenSet;
451 
452  Aws::Vector<Tag> m_tags;
453  bool m_tagsHasBeenSet;
454  };
455 
456 } // namespace Model
457 } // namespace QuickSight
458 } // namespace Aws
Parameters.h
Aws::QuickSight::Model::CreateAnalysisRequest::WithAnalysisId
CreateAnalysisRequest & WithAnalysisId(Aws::String &&value)
Definition: CreateAnalysisRequest.h:121
Aws::QuickSight::Model::CreateAnalysisRequest::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: CreateAnalysisRequest.h:354
Aws::QuickSight::Model::CreateAnalysisRequest::GetSourceEntity
const AnalysisSourceEntity & GetSourceEntity() const
Definition: CreateAnalysisRequest.h:294
Aws::QuickSight::Model::CreateAnalysisRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateAnalysisRequest.h:391
Tag.h
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateAnalysisRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateAnalysisRequest.h:43
Aws::QuickSight::Model::CreateAnalysisRequest::WithName
CreateAnalysisRequest & WithName(const Aws::String &value)
Definition: CreateAnalysisRequest.h:164
Aws::QuickSight::Model::CreateAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateAnalysisRequest.h:58
Aws::QuickSight::Model::CreateAnalysisRequest::WithAwsAccountId
CreateAnalysisRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateAnalysisRequest.h:73
Aws::QuickSight::Model::CreateAnalysisRequest::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: CreateAnalysisRequest.h:91
Aws::QuickSight::Model::CreateAnalysisRequest::AddTags
CreateAnalysisRequest & AddTags(const Tag &value)
Definition: CreateAnalysisRequest.h:421
Aws::QuickSight::Model::CreateAnalysisRequest::SourceEntityHasBeenSet
bool SourceEntityHasBeenSet() const
Definition: CreateAnalysisRequest.h:301
Aws::QuickSight::Model::CreateAnalysisRequest::PermissionsHasBeenSet
bool PermissionsHasBeenSet() const
Definition: CreateAnalysisRequest.h:232
Aws::QuickSight::Model::Tag
Definition: Tag.h:33
Aws::QuickSight::Model::CreateAnalysisRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateAnalysisRequest.h:403
Aws::QuickSight::Model::CreateAnalysisRequest::WithTags
CreateAnalysisRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateAnalysisRequest.h:409
Aws::QuickSight::Model::CreateAnalysisRequest::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: CreateAnalysisRequest.h:336
Aws::QuickSight::Model::CreateAnalysisRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: CreateAnalysisRequest.h:189
Aws::QuickSight::Model::CreateAnalysisRequest::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: CreateAnalysisRequest.h:109
Aws::QuickSight::Model::CreateAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateAnalysisRequest.h:63
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::CreateAnalysisRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateAnalysisRequest.h:385
Aws::QuickSight::Model::CreateAnalysisRequest::SetSourceEntity
void SetSourceEntity(AnalysisSourceEntity &&value)
Definition: CreateAnalysisRequest.h:315
Aws::QuickSight::Model::CreateAnalysisRequest::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: CreateAnalysisRequest.h:85
Aws::QuickSight::Model::CreateAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::QuickSight::Model::Parameters
Definition: Parameters.h:37
Aws::QuickSight::Model::CreateAnalysisRequest::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: CreateAnalysisRequest.h:97
Aws::QuickSight::Model::CreateAnalysisRequest::WithSourceEntity
CreateAnalysisRequest & WithSourceEntity(AnalysisSourceEntity &&value)
Definition: CreateAnalysisRequest.h:329
Aws::QuickSight::Model::CreateAnalysisRequest::GetName
const Aws::String & GetName() const
Definition: CreateAnalysisRequest.h:134
Aws::QuickSight::Model::CreateAnalysisRequest::GetParameters
const Parameters & GetParameters() const
Definition: CreateAnalysisRequest.h:183
Aws::QuickSight::Model::CreateAnalysisRequest::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: CreateAnalysisRequest.h:348
Aws::QuickSight::Model::CreateAnalysisRequest::WithTags
CreateAnalysisRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateAnalysisRequest.h:415
QuickSightRequest.h
Aws::QuickSight::Model::CreateAnalysisRequest::WithAwsAccountId
CreateAnalysisRequest & WithAwsAccountId(const char *value)
Definition: CreateAnalysisRequest.h:78
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::CreateAnalysisRequest::WithAnalysisId
CreateAnalysisRequest & WithAnalysisId(const Aws::String &value)
Definition: CreateAnalysisRequest.h:115
Aws::QuickSight::Model::CreateAnalysisRequest::WithThemeArn
CreateAnalysisRequest & WithThemeArn(Aws::String &&value)
Definition: CreateAnalysisRequest.h:372
Aws::QuickSight::Model::CreateAnalysisRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateAnalysisRequest.h:140
Aws::QuickSight::Model::CreateAnalysisRequest::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: CreateAnalysisRequest.h:103
Aws::QuickSight::Model::CreateAnalysisRequest::SetName
void SetName(const char *value)
Definition: CreateAnalysisRequest.h:158
AnalysisSourceEntity.h
ResourcePermission.h
Aws::QuickSight::Model::CreateAnalysisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateAnalysisRequest.h:35
Aws::QuickSight::Model::CreateAnalysisRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateAnalysisRequest.h:48
Aws::QuickSight::Model::CreateAnalysisRequest::WithName
CreateAnalysisRequest & WithName(Aws::String &&value)
Definition: CreateAnalysisRequest.h:170
AWSString.h
Aws::QuickSight::Model::CreateAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateAnalysisRequest.h:53
Aws::QuickSight::Model::CreateAnalysisRequest
Definition: CreateAnalysisRequest.h:27
Aws::QuickSight::Model::CreateAnalysisRequest::SetThemeArn
void SetThemeArn(const char *value)
Definition: CreateAnalysisRequest.h:360
Aws::QuickSight::Model::CreateAnalysisRequest::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: CreateAnalysisRequest.h:241
Aws::QuickSight::Model::CreateAnalysisRequest::AddTags
CreateAnalysisRequest & AddTags(Tag &&value)
Definition: CreateAnalysisRequest.h:427
Aws::QuickSight::Model::CreateAnalysisRequest::CreateAnalysisRequest
CreateAnalysisRequest()
Aws::QuickSight::Model::CreateAnalysisRequest::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: CreateAnalysisRequest.h:250
Aws::QuickSight::Model::CreateAnalysisRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateAnalysisRequest.h:152
Aws::QuickSight::Model::CreateAnalysisRequest::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: CreateAnalysisRequest.h:223
Aws::QuickSight::Model::CreateAnalysisRequest::AddPermissions
CreateAnalysisRequest & AddPermissions(ResourcePermission &&value)
Definition: CreateAnalysisRequest.h:286
Aws::QuickSight::Model::CreateAnalysisRequest::SetSourceEntity
void SetSourceEntity(const AnalysisSourceEntity &value)
Definition: CreateAnalysisRequest.h:308
Aws::QuickSight::Model::CreateAnalysisRequest::WithThemeArn
CreateAnalysisRequest & WithThemeArn(const Aws::String &value)
Definition: CreateAnalysisRequest.h:366
Aws::QuickSight::Model::CreateAnalysisRequest::ThemeArnHasBeenSet
bool ThemeArnHasBeenSet() const
Definition: CreateAnalysisRequest.h:342
Aws::QuickSight::Model::CreateAnalysisRequest::WithPermissions
CreateAnalysisRequest & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: CreateAnalysisRequest.h:259
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateAnalysisRequest::WithParameters
CreateAnalysisRequest & WithParameters(const Parameters &value)
Definition: CreateAnalysisRequest.h:207
Aws::QuickSight::Model::CreateAnalysisRequest::WithPermissions
CreateAnalysisRequest & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: CreateAnalysisRequest.h:268
Aws::QuickSight::Model::CreateAnalysisRequest::WithName
CreateAnalysisRequest & WithName(const char *value)
Definition: CreateAnalysisRequest.h:176
Aws::QuickSight::Model::CreateAnalysisRequest::SetParameters
void SetParameters(const Parameters &value)
Definition: CreateAnalysisRequest.h:195
Aws::QuickSight::Model::CreateAnalysisRequest::WithAnalysisId
CreateAnalysisRequest & WithAnalysisId(const char *value)
Definition: CreateAnalysisRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateAnalysisRequest::AddPermissions
CreateAnalysisRequest & AddPermissions(const ResourcePermission &value)
Definition: CreateAnalysisRequest.h:277
Aws::QuickSight::Model::CreateAnalysisRequest::WithAwsAccountId
CreateAnalysisRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateAnalysisRequest.h:68
Aws::QuickSight::Model::CreateAnalysisRequest::SetParameters
void SetParameters(Parameters &&value)
Definition: CreateAnalysisRequest.h:201
Aws::QuickSight::Model::CreateAnalysisRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateAnalysisRequest.h:397
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::AnalysisSourceEntity
Definition: AnalysisSourceEntity.h:32
Aws::QuickSight::Model::CreateAnalysisRequest::WithParameters
CreateAnalysisRequest & WithParameters(Parameters &&value)
Definition: CreateAnalysisRequest.h:213
Aws::QuickSight::Model::CreateAnalysisRequest::WithThemeArn
CreateAnalysisRequest & WithThemeArn(const char *value)
Definition: CreateAnalysisRequest.h:378
Aws::QuickSight::Model::CreateAnalysisRequest::WithSourceEntity
CreateAnalysisRequest & WithSourceEntity(const AnalysisSourceEntity &value)
Definition: CreateAnalysisRequest.h:322
Aws::QuickSight::Model::CreateAnalysisRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateAnalysisRequest.h:146