AWS SDK for C++  1.9.109
AWS SDK for C++
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 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace S3
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 "DeleteBucketIntelligentTieringConfiguration"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetBucket() const{ return m_bucket; }
47 
52  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
53 
58  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
59 
64  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
65 
70  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
71 
76  inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
77 
82  inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
83 
88  inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
89 
90 
94  inline const Aws::String& GetId() const{ return m_id; }
95 
99  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
100 
104  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
105 
109  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
110 
114  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
115 
119  inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
120 
124  inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
125 
129  inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
130 
131 
132 
133  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
134 
135 
136  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
137 
138 
139  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
140 
141 
142  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
143 
144 
145  inline DeleteBucketIntelligentTieringConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
146 
147 
148  inline DeleteBucketIntelligentTieringConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
149 
150 
151  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
152 
153 
154  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
155 
156 
157  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
158 
159 
160  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
161 
162 
163  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
164 
165 
166  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
167 
168 
169  inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
170 
171  private:
172 
173  Aws::String m_bucket;
174  bool m_bucketHasBeenSet;
175 
176  Aws::String m_id;
177  bool m_idHasBeenSet;
178 
179  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
180  bool m_customizedAccessLogTagHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace S3
185 } // namespace Aws
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetId
void SetId(Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:109
Aws::Http::URI
Definition: URI.h:32
S3Request.h
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetId
void SetId(const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:114
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:160
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:27
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:142
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::GetCustomizedAccessLogTag
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:133
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:166
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:154
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::S3Request
Definition: S3Request.h:18
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:139
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithBucket
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:76
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetBucket
void SetBucket(const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:70
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetBucket
void SetBucket(Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:64
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetId
void SetId(const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:104
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:157
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:148
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithBucket
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:88
AWSString.h
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:169
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:145
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::GetBucket
const Aws::String & GetBucket() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::CustomizedAccessLogTagHasBeenSet
bool CustomizedAccessLogTagHasBeenSet() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:136
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithId
DeleteBucketIntelligentTieringConfigurationRequest & WithId(const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:119
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:99
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithBucket
DeleteBucketIntelligentTieringConfigurationRequest & WithBucket(Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:151
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::SetBucket
void SetBucket(const Aws::String &value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:58
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::AddCustomizedAccessLogTag
DeleteBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:163
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithId
DeleteBucketIntelligentTieringConfigurationRequest & WithId(const char *value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:129
AWSMap.h
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::GetId
const Aws::String & GetId() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:94
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:35
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::WithId
DeleteBucketIntelligentTieringConfigurationRequest & WithId(Aws::String &&value)
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:124
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: DeleteBucketIntelligentTieringConfigurationRequest.h:52
Aws::S3::Model::DeleteBucketIntelligentTieringConfigurationRequest::DeleteBucketIntelligentTieringConfigurationRequest
DeleteBucketIntelligentTieringConfigurationRequest()
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19