AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutBucketIntelligentTieringConfigurationRequest.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/IntelligentTieringConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace S3Crt
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
38 AWS_S3CRT_API Aws::String SerializePayload() const override;
39
40 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
46 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
47
49
53 inline const Aws::String& GetBucket() const{ return m_bucket; }
54 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
55 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
56 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
57 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
59 inline PutBucketIntelligentTieringConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
60 inline PutBucketIntelligentTieringConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
62
64
67 inline const Aws::String& GetId() const{ return m_id; }
68 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
69 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
70 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
71 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
72 inline PutBucketIntelligentTieringConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
73 inline PutBucketIntelligentTieringConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 inline PutBucketIntelligentTieringConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
76
78
81 inline const IntelligentTieringConfiguration& GetIntelligentTieringConfiguration() const{ return m_intelligentTieringConfiguration; }
82 inline bool IntelligentTieringConfigurationHasBeenSet() const { return m_intelligentTieringConfigurationHasBeenSet; }
83 inline void SetIntelligentTieringConfiguration(const IntelligentTieringConfiguration& value) { m_intelligentTieringConfigurationHasBeenSet = true; m_intelligentTieringConfiguration = value; }
84 inline void SetIntelligentTieringConfiguration(IntelligentTieringConfiguration&& value) { m_intelligentTieringConfigurationHasBeenSet = true; m_intelligentTieringConfiguration = std::move(value); }
88
90
91 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
92 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
93 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
94 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
97 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
98 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
99 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
100 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
101 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
102 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
103 inline PutBucketIntelligentTieringConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
105 private:
106
107 Aws::String m_bucket;
108 bool m_bucketHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 IntelligentTieringConfiguration m_intelligentTieringConfiguration;
114 bool m_intelligentTieringConfigurationHasBeenSet = false;
115
116 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
117 bool m_customizedAccessLogTagHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace S3Crt
122} // namespace Aws
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
PutBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutBucketIntelligentTieringConfigurationRequest & WithIntelligentTieringConfiguration(const IntelligentTieringConfiguration &value)
PutBucketIntelligentTieringConfigurationRequest & WithBucket(Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3CRT_API Aws::String SerializePayload() const override
PutBucketIntelligentTieringConfigurationRequest & WithBucket(const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & WithId(const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & WithId(Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithBucket(const char *value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutBucketIntelligentTieringConfigurationRequest & WithId(const char *value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
PutBucketIntelligentTieringConfigurationRequest & WithIntelligentTieringConfiguration(IntelligentTieringConfiguration &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
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