AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PutBucketIntelligentTieringConfigurationRequest.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>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace S3
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "PutBucketIntelligentTieringConfiguration"; }
37
39
41
46
51 inline const Aws::String& GetBucket() const{ return m_bucket; }
52
57 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
58
63 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
64
69 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
70
75 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
76
82
87 inline PutBucketIntelligentTieringConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
88
93 inline PutBucketIntelligentTieringConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
94
95
99 inline const Aws::String& GetId() const{ return m_id; }
100
104 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
105
109 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
110
114 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
115
119 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
120
124 inline PutBucketIntelligentTieringConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
125
129 inline PutBucketIntelligentTieringConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
130
134 inline PutBucketIntelligentTieringConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
135
136
140 inline const IntelligentTieringConfiguration& GetIntelligentTieringConfiguration() const{ return m_intelligentTieringConfiguration; }
141
145 inline bool IntelligentTieringConfigurationHasBeenSet() const { return m_intelligentTieringConfigurationHasBeenSet; }
146
150 inline void SetIntelligentTieringConfiguration(const IntelligentTieringConfiguration& value) { m_intelligentTieringConfigurationHasBeenSet = true; m_intelligentTieringConfiguration = value; }
151
155 inline void SetIntelligentTieringConfiguration(IntelligentTieringConfiguration&& value) { m_intelligentTieringConfigurationHasBeenSet = true; m_intelligentTieringConfiguration = std::move(value); }
156
161
166
167
168
169 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
170
171
172 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
173
174
175 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
176
177
178 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
179
180
182
183
185
186
187 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
188
189
190 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
191
192
193 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
194
195
196 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
197
198
199 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
200
201
202 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
203
204
205 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
206
207 private:
208
209 Aws::String m_bucket;
210 bool m_bucketHasBeenSet = false;
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 IntelligentTieringConfiguration m_intelligentTieringConfiguration;
216 bool m_intelligentTieringConfigurationHasBeenSet = false;
217
218 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
219 bool m_customizedAccessLogTagHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace S3
224} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
PutBucketIntelligentTieringConfigurationRequest & WithIntelligentTieringConfiguration(IntelligentTieringConfiguration &&value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithIntelligentTieringConfiguration(const IntelligentTieringConfiguration &value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithId(const Aws::String &value)
AWS_S3_API Aws::String SerializePayload() const override
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
PutBucketIntelligentTieringConfigurationRequest & WithId(Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithBucket(const char *value)
PutBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutBucketIntelligentTieringConfigurationRequest & WithBucket(const Aws::String &value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketIntelligentTieringConfigurationRequest & WithId(const char *value)
PutBucketIntelligentTieringConfigurationRequest & WithBucket(Aws::String &&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