AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetBucketAnalyticsConfigurationRequest.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 "GetBucketAnalyticsConfiguration"; }
36
38
40
42
47
52 inline const Aws::String& GetBucket() const{ return m_bucket; }
53
58 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
59
64 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
65
70 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
71
76 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
77
82 inline GetBucketAnalyticsConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
83
88 inline GetBucketAnalyticsConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
89
94 inline GetBucketAnalyticsConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
95
96
100 inline const Aws::String& GetId() const{ return m_id; }
101
105 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
106
110 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
111
115 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
116
120 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
121
125 inline GetBucketAnalyticsConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
126
130 inline GetBucketAnalyticsConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
131
135 inline GetBucketAnalyticsConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
136
137
143 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
144
150 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
151
157 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
158
164 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
165
171 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
172
179
186
193
194
195
196 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
197
198
199 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
200
201
202 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
203
204
205 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
206
207
209
210
212
213
214 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
215
216
217 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
218
219
220 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
221
222
223 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
224
225
226 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
227
228
229 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
230
231
232 inline GetBucketAnalyticsConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
233
234 private:
235
236 Aws::String m_bucket;
237 bool m_bucketHasBeenSet = false;
238
239 Aws::String m_id;
240 bool m_idHasBeenSet = false;
241
242 Aws::String m_expectedBucketOwner;
243 bool m_expectedBucketOwnerHasBeenSet = false;
244
245 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
246 bool m_customizedAccessLogTagHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace S3
251} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
GetBucketAnalyticsConfigurationRequest & WithExpectedBucketOwner(Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
GetBucketAnalyticsConfigurationRequest & WithBucket(const Aws::String &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
GetBucketAnalyticsConfigurationRequest & WithBucket(Aws::String &&value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
GetBucketAnalyticsConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
GetBucketAnalyticsConfigurationRequest & WithExpectedBucketOwner(const Aws::String &value)
GetBucketAnalyticsConfigurationRequest & WithBucket(const char *value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
GetBucketAnalyticsConfigurationRequest & WithId(Aws::String &&value)
GetBucketAnalyticsConfigurationRequest & WithExpectedBucketOwner(const char *value)
GetBucketAnalyticsConfigurationRequest & WithId(const char *value)
GetBucketAnalyticsConfigurationRequest & WithId(const Aws::String &value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
AWS_S3_API Aws::String SerializePayload() const override
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
GetBucketAnalyticsConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
GetBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &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