AWS SDK for C++  1.9.104
AWS SDK for C++
GetBucketInventoryConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace S3Crt
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 "GetBucketInventoryConfiguration"; }
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 GetBucketInventoryConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
79 
84  inline GetBucketInventoryConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
85 
90  inline GetBucketInventoryConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
91 
92 
96  inline const Aws::String& GetId() const{ return m_id; }
97 
101  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
102 
106  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
107 
111  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
112 
116  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
117 
121  inline GetBucketInventoryConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
122 
126  inline GetBucketInventoryConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 
131  inline GetBucketInventoryConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
132 
133 
139  inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
140 
146  inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
147 
153  inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
154 
160  inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
161 
167  inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
168 
174  inline GetBucketInventoryConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
175 
181  inline GetBucketInventoryConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
182 
188  inline GetBucketInventoryConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
189 
190 
191 
192  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
193 
194 
195  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
196 
197 
198  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
199 
200 
201  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
202 
203 
204  inline GetBucketInventoryConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
205 
206 
207  inline GetBucketInventoryConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
208 
209 
210  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
211 
212 
213  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
214 
215 
216  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
217 
218 
219  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
220 
221 
222  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
223 
224 
225  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
226 
227 
228  inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
229 
230  private:
231 
232  Aws::String m_bucket;
233  bool m_bucketHasBeenSet;
234 
235  Aws::String m_id;
236  bool m_idHasBeenSet;
237 
238  Aws::String m_expectedBucketOwner;
239  bool m_expectedBucketOwnerHasBeenSet;
240 
241  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
242  bool m_customizedAccessLogTagHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace S3Crt
247 } // namespace Aws
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:167
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBucketInventoryConfigurationRequest.h:35
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithExpectedBucketOwner
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:174
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithExpectedBucketOwner
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:188
Aws::Http::URI
Definition: URI.h:32
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithId
GetBucketInventoryConfigurationRequest & WithId(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:131
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetId
void SetId(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:111
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetBucket
void SetBucket(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:60
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:216
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetId
void SetId(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:106
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBucketInventoryConfigurationRequest.h:207
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBucketInventoryConfigurationRequest.h:204
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetExpectedBucketOwner
const Aws::String & GetExpectedBucketOwner() const
Definition: GetBucketInventoryConfigurationRequest.h:139
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithId
GetBucketInventoryConfigurationRequest & WithId(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:126
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetBucketInventoryConfigurationRequest.h:198
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::ExpectedBucketOwnerHasBeenSet
bool ExpectedBucketOwnerHasBeenSet() const
Definition: GetBucketInventoryConfigurationRequest.h:146
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetId
const Aws::String & GetId() const
Definition: GetBucketInventoryConfigurationRequest.h:96
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithBucket
GetBucketInventoryConfigurationRequest & WithBucket(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:90
S3CrtRequest.h
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:222
AWS_S3CRT_API
#define AWS_S3CRT_API
Definition: S3Crt_EXPORTS.h:28
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:153
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:225
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetId
void SetId(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:116
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:228
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetBucket
void SetBucket(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:66
AWSString.h
Aws::S3Crt::S3CrtRequest
Definition: S3CrtRequest.h:18
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetBucketInventoryConfigurationRequest
GetBucketInventoryConfigurationRequest()
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetBucket
void SetBucket(const char *value)
Definition: GetBucketInventoryConfigurationRequest.h:72
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::CustomizedAccessLogTagHasBeenSet
bool CustomizedAccessLogTagHasBeenSet() const
Definition: GetBucketInventoryConfigurationRequest.h:195
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetBucketInventoryConfigurationRequest.h:201
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithExpectedBucketOwner
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:181
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetBucketInventoryConfigurationRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:213
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest
Definition: GetBucketInventoryConfigurationRequest.h:27
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithBucket
GetBucketInventoryConfigurationRequest & WithBucket(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetCustomizedAccessLogTag
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Definition: GetBucketInventoryConfigurationRequest.h:192
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithBucket
GetBucketInventoryConfigurationRequest & WithBucket(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:84
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::WithId
GetBucketInventoryConfigurationRequest & WithId(const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:121
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:219
AWSMap.h
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::AddCustomizedAccessLogTag
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
Definition: GetBucketInventoryConfigurationRequest.h:210
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::GetBucket
const Aws::String & GetBucket() const
Definition: GetBucketInventoryConfigurationRequest.h:48
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: GetBucketInventoryConfigurationRequest.h:54
S3Crt_EXPORTS.h
Aws::S3Crt::Model::GetBucketInventoryConfigurationRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(Aws::String &&value)
Definition: GetBucketInventoryConfigurationRequest.h:160
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19