AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteBucketIntelligentTieringConfigurationRequest.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.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 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
37 AWS_S3_API Aws::String SerializePayload() const override;
38
39 AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41 AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
45 AWS_S3_API EndpointParameters GetEndpointContextParams() const override;
46
48
52 inline const Aws::String& GetBucket() const{ return m_bucket; }
53 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
54 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
55 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
56 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
58 inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
59 inline DeleteBucketIntelligentTieringConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
68 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
69 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
70 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
71 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
72 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 inline DeleteBucketIntelligentTieringConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
75
77
78 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
79 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
80 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
81 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
84 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
85 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
86 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
87 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
88 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
89 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
90 inline DeleteBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
92 private:
93
94 Aws::String m_bucket;
95 bool m_bucketHasBeenSet = false;
96
97 Aws::String m_id;
98 bool m_idHasBeenSet = false;
99
100 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
101 bool m_customizedAccessLogTagHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace S3
106} // namespace Aws
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)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
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
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