7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/RequestPayer.h>
65 template <
typename BucketT = Aws::String>
67 m_bucketHasBeenSet =
true;
68 m_bucket = std::forward<BucketT>(value);
70 template <
typename BucketT = Aws::String>
83 template <
typename KeyT = Aws::String>
85 m_keyHasBeenSet =
true;
86 m_key = std::forward<KeyT>(value);
88 template <
typename KeyT = Aws::String>
90 SetKey(std::forward<KeyT>(value));
102 template <
typename VersionIdT = Aws::String>
104 m_versionIdHasBeenSet =
true;
105 m_versionId = std::forward<VersionIdT>(value);
107 template <
typename VersionIdT = Aws::String>
119 m_requestPayerHasBeenSet =
true;
120 m_requestPayer = value;
136 template <
typename ExpectedBucketOwnerT = Aws::String>
138 m_expectedBucketOwnerHasBeenSet =
true;
139 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
141 template <
typename ExpectedBucketOwnerT = Aws::String>
152 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
154 m_customizedAccessLogTagHasBeenSet =
true;
155 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
157 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
162 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
164 m_customizedAccessLogTagHasBeenSet =
true;
165 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
171 bool m_bucketHasBeenSet =
false;
174 bool m_keyHasBeenSet =
false;
177 bool m_versionIdHasBeenSet =
false;
180 bool m_requestPayerHasBeenSet =
false;
183 bool m_expectedBucketOwnerHasBeenSet =
false;
186 bool m_customizedAccessLogTagHasBeenSet =
false;
bool RequestPayerHasBeenSet() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetKey(KeyT &&value)
GetObjectLegalHoldRequest & WithKey(KeyT &&value)
virtual const char * GetServiceRequestName() const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CustomizedAccessLogTagHasBeenSet() const
void SetRequestPayer(RequestPayer value)
RequestPayer GetRequestPayer() const
bool BucketHasBeenSet() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::String & GetKey() const
GetObjectLegalHoldRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetObjectLegalHoldRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3CRT_API GetObjectLegalHoldRequest()=default
void SetVersionId(VersionIdT &&value)
const Aws::String & GetExpectedBucketOwner() const
const Aws::String & GetBucket() const
bool ExpectedBucketOwnerHasBeenSet() const
GetObjectLegalHoldRequest & WithBucket(BucketT &&value)
GetObjectLegalHoldRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetVersionId() const
GetObjectLegalHoldRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetBucket(BucketT &&value)
bool KeyHasBeenSet() const
GetObjectLegalHoldRequest & WithVersionId(VersionIdT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
bool VersionIdHasBeenSet() const
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