AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DeleteBucketAnalyticsConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3Request.h>
10#include <aws/s3/S3_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace S3 {
19namespace Model {
20
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketAnalyticsConfiguration"; }
32
33 AWS_S3_API Aws::String SerializePayload() const override;
34
35 AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 AWS_S3_API EndpointParameters GetEndpointContextParams() const override;
43
45
48 inline const Aws::String& GetBucket() const { return m_bucket; }
49 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
50 template <typename BucketT = Aws::String>
51 void SetBucket(BucketT&& value) {
52 m_bucketHasBeenSet = true;
53 m_bucket = std::forward<BucketT>(value);
54 }
55 template <typename BucketT = Aws::String>
57 SetBucket(std::forward<BucketT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetId() const { return m_id; }
67 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
68 template <typename IdT = Aws::String>
69 void SetId(IdT&& value) {
70 m_idHasBeenSet = true;
71 m_id = std::forward<IdT>(value);
72 }
73 template <typename IdT = Aws::String>
75 SetId(std::forward<IdT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
87 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
88 template <typename ExpectedBucketOwnerT = Aws::String>
89 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
90 m_expectedBucketOwnerHasBeenSet = true;
91 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
92 }
93 template <typename ExpectedBucketOwnerT = Aws::String>
95 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
103 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
104 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
105 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
106 m_customizedAccessLogTagHasBeenSet = true;
107 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
108 }
109 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
111 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
112 return *this;
113 }
114 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
116 CustomizedAccessLogTagValueT&& value) {
117 m_customizedAccessLogTagHasBeenSet = true;
118 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_bucket;
124 bool m_bucketHasBeenSet = false;
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_expectedBucketOwner;
130 bool m_expectedBucketOwnerHasBeenSet = false;
131
132 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
133 bool m_customizedAccessLogTagHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace S3
138} // namespace Aws
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteBucketAnalyticsConfigurationRequest & WithBucket(BucketT &&value)
DeleteBucketAnalyticsConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
DeleteBucketAnalyticsConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3_API Aws::String SerializePayload() const override
DeleteBucketAnalyticsConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
DeleteBucketAnalyticsConfigurationRequest & WithId(IdT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
Aws::Endpoint::EndpointParameters EndpointParameters
Definition S3Request.h:19
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