AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListBucketMetricsConfigurationsRequest.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
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace S3
20{
21namespace 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 "ListBucketMetricsConfigurations"; }
36
38
40
42
47
51 inline const Aws::String& GetBucket() const{ return m_bucket; }
52
56 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
57
61 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
62
66 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
67
71 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
72
76 inline ListBucketMetricsConfigurationsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
77
81 inline ListBucketMetricsConfigurationsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
82
86 inline ListBucketMetricsConfigurationsRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
87
88
95 inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
96
103 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
104
111 inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
112
119 inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
120
127 inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
128
136
144
152
153
159 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
160
166 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
167
173 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
174
180 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
181
187 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
188
195
202
209
210
211
212 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
213
214
215 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
216
217
218 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
219
220
221 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
222
223
225
226
228
229
230 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
231
232
233 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
234
235
236 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
237
238
239 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
240
241
242 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
243
244
245 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
246
247
248 inline ListBucketMetricsConfigurationsRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
249
250 private:
251
252 Aws::String m_bucket;
253 bool m_bucketHasBeenSet = false;
254
255 Aws::String m_continuationToken;
256 bool m_continuationTokenHasBeenSet = false;
257
258 Aws::String m_expectedBucketOwner;
259 bool m_expectedBucketOwnerHasBeenSet = false;
260
261 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
262 bool m_customizedAccessLogTagHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace S3
267} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
ListBucketMetricsConfigurationsRequest & WithBucket(const Aws::String &value)
ListBucketMetricsConfigurationsRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3_API Aws::String SerializePayload() const override
ListBucketMetricsConfigurationsRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBucketMetricsConfigurationsRequest & WithExpectedBucketOwner(Aws::String &&value)
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
ListBucketMetricsConfigurationsRequest & WithExpectedBucketOwner(const Aws::String &value)
ListBucketMetricsConfigurationsRequest & WithContinuationToken(const char *value)
ListBucketMetricsConfigurationsRequest & WithBucket(Aws::String &&value)
ListBucketMetricsConfigurationsRequest & WithContinuationToken(const Aws::String &value)
ListBucketMetricsConfigurationsRequest & WithContinuationToken(Aws::String &&value)
ListBucketMetricsConfigurationsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
ListBucketMetricsConfigurationsRequest & WithBucket(const char *value)
ListBucketMetricsConfigurationsRequest & WithExpectedBucketOwner(const char *value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String