AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketInventoryConfigurationRequest.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace S3Crt
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 "GetBucketInventoryConfiguration"; }
36
37 AWS_S3CRT_API Aws::String SerializePayload() const override;
38
39 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
47 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
48
50
54 inline const Aws::String& GetBucket() const{ return m_bucket; }
55 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
56 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
57 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
58 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
59 inline GetBucketInventoryConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
60 inline GetBucketInventoryConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
61 inline GetBucketInventoryConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
63
65
68 inline const Aws::String& GetId() const{ return m_id; }
69 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
70 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
71 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
72 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
73 inline GetBucketInventoryConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
74 inline GetBucketInventoryConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 inline GetBucketInventoryConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
77
79
84 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
85 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
86 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
87 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
88 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
93
95
96 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
97 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
98 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
99 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
102 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
103 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
104 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
105 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
106 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
107 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
108 inline GetBucketInventoryConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
110 private:
111
112 Aws::String m_bucket;
113 bool m_bucketHasBeenSet = false;
114
115 Aws::String m_id;
116 bool m_idHasBeenSet = false;
117
118 Aws::String m_expectedBucketOwner;
119 bool m_expectedBucketOwnerHasBeenSet = false;
120
121 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
122 bool m_customizedAccessLogTagHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace S3Crt
127} // namespace Aws
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(const Aws::String &value)
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(const char *value)
AWS_S3CRT_API Aws::String SerializePayload() const override
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
GetBucketInventoryConfigurationRequest & WithBucket(const char *value)
GetBucketInventoryConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
GetBucketInventoryConfigurationRequest & WithBucket(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
GetBucketInventoryConfigurationRequest & WithId(const char *value)
GetBucketInventoryConfigurationRequest & WithId(Aws::String &&value)
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
GetBucketInventoryConfigurationRequest & WithBucket(const Aws::String &value)
GetBucketInventoryConfigurationRequest & WithExpectedBucketOwner(Aws::String &&value)
GetBucketInventoryConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
GetBucketInventoryConfigurationRequest & WithId(const Aws::String &value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetBucketInventoryConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String