AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteBucketIntelligentTieringConfigurationRequest.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 "DeleteBucketIntelligentTieringConfiguration"; }
36
38
40
45
50 inline const Aws::String& GetBucket() const{ return m_bucket; }
51
56 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
57
62 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
63
68 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
69
74 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
75
81
86 inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
87
92 inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
93
94
98 inline const Aws::String& GetId() const{ return m_id; }
99
103 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
104
108 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
109
113 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
114
118 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
119
123 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
124
128 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
129
133 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
134
135
136
137 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
138
139
140 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
141
142
143 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
144
145
146 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
147
148
150
151
153
154
155 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
156
157
158 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
159
160
161 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
162
163
164 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
165
166
167 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
168
169
170 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
171
172
173 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
174
175 private:
176
177 Aws::String m_bucket;
178 bool m_bucketHasBeenSet = false;
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
184 bool m_customizedAccessLogTagHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace S3
189} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
DeleteBucketIntelligentTieringConfigurationRequest & WithId(const char *value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
DeleteBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
DeleteBucketIntelligentTieringConfigurationRequest & WithId(Aws::String &&value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(const Aws::String &value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
AWS_S3_API Aws::String SerializePayload() const override
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(const char *value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
DeleteBucketIntelligentTieringConfigurationRequest & WithId(const Aws::String &value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(Aws::String &&value)
DeleteBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
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