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/ChecksumMode.h>
12#include <aws/s3-crt/model/RequestPayer.h>
56 template <
typename BucketT = Aws::String>
58 m_bucketHasBeenSet =
true;
59 m_bucket = std::forward<BucketT>(value);
61 template <
typename BucketT = Aws::String>
74 template <
typename KeyT = Aws::String>
76 m_keyHasBeenSet =
true;
77 m_key = std::forward<KeyT>(value);
79 template <
typename KeyT = Aws::String>
81 SetKey(std::forward<KeyT>(value));
93 template <
typename AnnotationNameT = Aws::String>
95 m_annotationNameHasBeenSet =
true;
96 m_annotationName = std::forward<AnnotationNameT>(value);
98 template <
typename AnnotationNameT = Aws::String>
111 template <
typename VersionIdT = Aws::String>
113 m_versionIdHasBeenSet =
true;
114 m_versionId = std::forward<VersionIdT>(value);
116 template <
typename VersionIdT = Aws::String>
128 m_requestPayerHasBeenSet =
true;
129 m_requestPayer = value;
144 template <
typename ExpectedBucketOwnerT = Aws::String>
146 m_expectedBucketOwnerHasBeenSet =
true;
147 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
149 template <
typename ExpectedBucketOwnerT = Aws::String>
164 m_checksumModeHasBeenSet =
true;
165 m_checksumMode = value;
177 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
179 m_customizedAccessLogTagHasBeenSet =
true;
180 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
182 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
187 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
189 m_customizedAccessLogTagHasBeenSet =
true;
190 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
210 bool m_bucketHasBeenSet =
false;
211 bool m_keyHasBeenSet =
false;
212 bool m_annotationNameHasBeenSet =
false;
213 bool m_versionIdHasBeenSet =
false;
214 bool m_requestPayerHasBeenSet =
false;
215 bool m_expectedBucketOwnerHasBeenSet =
false;
216 bool m_checksumModeHasBeenSet =
false;
217 bool m_customizedAccessLogTagHasBeenSet =
false;
bool AnnotationNameHasBeenSet() const
AWS_S3CRT_API bool ShouldValidateResponseChecksum() const override
bool VersionIdHasBeenSet() const
const Aws::String & GetAnnotationName() const
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool KeyHasBeenSet() const
void SetKey(KeyT &&value)
GetObjectAnnotationRequest & WithChecksumMode(ChecksumMode value)
GetObjectAnnotationRequest & WithKey(KeyT &&value)
void SetChecksumMode(ChecksumMode value)
void SetBucket(BucketT &&value)
const Aws::String & GetKey() const
GetObjectAnnotationRequest & WithBucket(BucketT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3CRT_API Aws::Vector< Aws::String > GetResponseChecksumAlgorithmNames() const override
void SetVersionId(VersionIdT &&value)
const Aws::String & GetExpectedBucketOwner() const
void SetAnnotationName(AnnotationNameT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
GetObjectAnnotationRequest & WithVersionId(VersionIdT &&value)
bool ChecksumModeHasBeenSet() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool CustomizedAccessLogTagHasBeenSet() const
RequestPayer GetRequestPayer() const
ChecksumMode GetChecksumMode() const
GetObjectAnnotationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
GetObjectAnnotationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3CRT_API GetObjectAnnotationRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetBucket() const
void SetRequestPayer(RequestPayer value)
const Aws::String & GetVersionId() const
bool BucketHasBeenSet() const
GetObjectAnnotationRequest & WithRequestPayer(RequestPayer value)
GetObjectAnnotationRequest & WithAnnotationName(AnnotationNameT &&value)
bool RequestPayerHasBeenSet() const
GetObjectAnnotationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
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_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector