AWS SDK for C++  1.9.14
AWS SDK for C++
GetBucketAccelerateConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/s3/S3_EXPORTS.h>
8 #include <aws/s3/S3Request.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace S3
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 "GetBucketAccelerateConfiguration"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
42 
43 
48  inline const Aws::String& GetBucket() const{ return m_bucket; }
49 
54  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
55 
60  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
61 
66  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
67 
72  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
73 
78  inline GetBucketAccelerateConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
79 
84  inline GetBucketAccelerateConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
85 
90  inline GetBucketAccelerateConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
91 
92 
98  inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
99 
105  inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
106 
112  inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
113 
119  inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
120 
126  inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
127 
133  inline GetBucketAccelerateConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
134 
140  inline GetBucketAccelerateConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
141 
147  inline GetBucketAccelerateConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
148 
149 
150 
151  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
152 
153 
154  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
155 
156 
157  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
158 
159 
160  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
161 
162 
163  inline GetBucketAccelerateConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
164 
165 
166  inline GetBucketAccelerateConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
167 
168 
169  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
170 
171 
172  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
173 
174 
175  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
176 
177 
178  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
179 
180 
181  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
182 
183 
184  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
185 
186 
187  inline GetBucketAccelerateConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
188 
189  private:
190 
191  Aws::String m_bucket;
192  bool m_bucketHasBeenSet;
193 
194  Aws::String m_expectedBucketOwner;
195  bool m_expectedBucketOwnerHasBeenSet;
196 
197  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
198  bool m_customizedAccessLogTagHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace S3
203 } // namespace Aws
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::CustomizedAccessLogTagHasBeenSet
bool CustomizedAccessLogTagHasBeenSet() const
Definition: GetBucketAccelerateConfigurationRequest.h:154
Aws::Http::URI
Definition: URI.h:32
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:169
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetCustomizedAccessLogTag
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Definition: GetBucketAccelerateConfigurationRequest.h:151
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
S3Request.h
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:181
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:166
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetBucket
void SetBucket(const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:60
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::ExpectedBucketOwnerHasBeenSet
bool ExpectedBucketOwnerHasBeenSet() const
Definition: GetBucketAccelerateConfigurationRequest.h:105
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:126
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: GetBucketAccelerateConfigurationRequest.h:54
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:119
Aws::S3::Model::GetBucketAccelerateConfigurationRequest
Definition: GetBucketAccelerateConfigurationRequest.h:27
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:172
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBucketAccelerateConfigurationRequest.h:157
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithBucket
GetBucketAccelerateConfigurationRequest & WithBucket(const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:90
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:184
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetBucket
void SetBucket(const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:72
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithExpectedBucketOwner
GetBucketAccelerateConfigurationRequest & WithExpectedBucketOwner(const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:133
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::S3Request
Definition: S3Request.h:18
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetBucketAccelerateConfigurationRequest
GetBucketAccelerateConfigurationRequest()
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetBucket
void SetBucket(Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:66
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBucketAccelerateConfigurationRequest.h:163
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithBucket
GetBucketAccelerateConfigurationRequest & WithBucket(Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:84
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithBucket
GetBucketAccelerateConfigurationRequest & WithBucket(const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:78
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBucketAccelerateConfigurationRequest.h:35
AWSString.h
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:187
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:160
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithExpectedBucketOwner
GetBucketAccelerateConfigurationRequest & WithExpectedBucketOwner(Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:140
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetBucket
const Aws::String & GetBucket() const
Definition: GetBucketAccelerateConfigurationRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:178
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddCustomizedAccessLogTag
GetBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Definition: GetBucketAccelerateConfigurationRequest.h:175
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::GetExpectedBucketOwner
const Aws::String & GetExpectedBucketOwner() const
Definition: GetBucketAccelerateConfigurationRequest.h:98
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::WithExpectedBucketOwner
GetBucketAccelerateConfigurationRequest & WithExpectedBucketOwner(const char *value)
Definition: GetBucketAccelerateConfigurationRequest.h:147
AWSMap.h
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::S3::Model::GetBucketAccelerateConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const Aws::String &value)
Definition: GetBucketAccelerateConfigurationRequest.h:112