AWS SDK for C++  1.9.158
AWS SDK for C++
StartReportCreationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ResourceGroupsTaggingAPI
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 "StartReportCreation"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
44 
51  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
52 
59  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
60 
67  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
68 
75  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
76 
83  inline StartReportCreationRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
84 
91  inline StartReportCreationRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
92 
99  inline StartReportCreationRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
100 
101  private:
102 
103  Aws::String m_s3Bucket;
104  bool m_s3BucketHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace ResourceGroupsTaggingAPI
109 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: StartReportCreationRequest.h:59
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::WithS3Bucket
StartReportCreationRequest & WithS3Bucket(const Aws::String &value)
Definition: StartReportCreationRequest.h:83
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartReportCreationRequest.h:30
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: StartReportCreationRequest.h:43
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: StartReportCreationRequest.h:51
AWS_RESOURCEGROUPSTAGGINGAPI_API
#define AWS_RESOURCEGROUPSTAGGINGAPI_API
Definition: ResourceGroupsTaggingAPI_EXPORTS.h:28
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::WithS3Bucket
StartReportCreationRequest & WithS3Bucket(const char *value)
Definition: StartReportCreationRequest.h:99
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::StartReportCreationRequest
StartReportCreationRequest()
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: StartReportCreationRequest.h:67
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: StartReportCreationRequest.h:75
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest
Definition: StartReportCreationRequest.h:22
AWSString.h
Aws::ResourceGroupsTaggingAPI::ResourceGroupsTaggingAPIRequest
Definition: ResourceGroupsTaggingAPIRequest.h:17
Aws
Definition: AccessManagementClient.h:15
ResourceGroupsTaggingAPIRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResourceGroupsTaggingAPI_EXPORTS.h
Aws::ResourceGroupsTaggingAPI::Model::StartReportCreationRequest::WithS3Bucket
StartReportCreationRequest & WithS3Bucket(Aws::String &&value)
Definition: StartReportCreationRequest.h:91