7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/S3Request.h>
11#include <aws/s3/S3_EXPORTS.h>
12#include <aws/s3/model/ObjectAttributes.h>
13#include <aws/s3/model/RequestPayer.h>
86 template <
typename BucketT = Aws::String>
88 m_bucketHasBeenSet =
true;
89 m_bucket = std::forward<BucketT>(value);
91 template <
typename BucketT = Aws::String>
104 template <
typename KeyT = Aws::String>
106 m_keyHasBeenSet =
true;
107 m_key = std::forward<KeyT>(value);
109 template <
typename KeyT = Aws::String>
111 SetKey(std::forward<KeyT>(value));
126 template <
typename VersionIdT = Aws::String>
128 m_versionIdHasBeenSet =
true;
129 m_versionId = std::forward<VersionIdT>(value);
131 template <
typename VersionIdT = Aws::String>
148 m_maxPartsHasBeenSet =
true;
168 m_partNumberMarkerHasBeenSet =
true;
169 m_partNumberMarker = value;
185 template <
typename SSECustomerAlgorithmT = Aws::String>
187 m_sSECustomerAlgorithmHasBeenSet =
true;
188 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
190 template <
typename SSECustomerAlgorithmT = Aws::String>
208 template <
typename SSECustomerKeyT = Aws::String>
210 m_sSECustomerKeyHasBeenSet =
true;
211 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
213 template <
typename SSECustomerKeyT = Aws::String>
229 template <
typename SSECustomerKeyMD5T = Aws::String>
231 m_sSECustomerKeyMD5HasBeenSet =
true;
232 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
234 template <
typename SSECustomerKeyMD5T = Aws::String>
246 m_requestPayerHasBeenSet =
true;
247 m_requestPayer = value;
263 template <
typename ExpectedBucketOwnerT = Aws::String>
265 m_expectedBucketOwnerHasBeenSet =
true;
266 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
268 template <
typename ExpectedBucketOwnerT = Aws::String>
282 template <
typename ObjectAttributesT = Aws::Vector<ObjectAttributes>>
284 m_objectAttributesHasBeenSet =
true;
285 m_objectAttributes = std::forward<ObjectAttributesT>(value);
287 template <
typename ObjectAttributesT = Aws::Vector<ObjectAttributes>>
293 m_objectAttributesHasBeenSet =
true;
294 m_objectAttributes.push_back(value);
303 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
305 m_customizedAccessLogTagHasBeenSet =
true;
306 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
308 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
313 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
315 m_customizedAccessLogTagHasBeenSet =
true;
316 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
322 bool m_bucketHasBeenSet =
false;
325 bool m_keyHasBeenSet =
false;
328 bool m_versionIdHasBeenSet =
false;
331 bool m_maxPartsHasBeenSet =
false;
333 int m_partNumberMarker{0};
334 bool m_partNumberMarkerHasBeenSet =
false;
337 bool m_sSECustomerAlgorithmHasBeenSet =
false;
340 bool m_sSECustomerKeyHasBeenSet =
false;
343 bool m_sSECustomerKeyMD5HasBeenSet =
false;
346 bool m_requestPayerHasBeenSet =
false;
349 bool m_expectedBucketOwnerHasBeenSet =
false;
352 bool m_objectAttributesHasBeenSet =
false;
355 bool m_customizedAccessLogTagHasBeenSet =
false;
bool SSECustomerKeyHasBeenSet() const
GetObjectAttributesRequest & WithObjectAttributes(ObjectAttributesT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool ObjectAttributesHasBeenSet() const
GetObjectAttributesRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::Vector< ObjectAttributes > & GetObjectAttributes() const
RequestPayer GetRequestPayer() const
const Aws::String & GetSSECustomerKeyMD5() const
void SetVersionId(VersionIdT &&value)
void SetPartNumberMarker(int value)
void SetBucket(BucketT &&value)
bool VersionIdHasBeenSet() const
void SetObjectAttributes(ObjectAttributesT &&value)
const Aws::String & GetVersionId() const
GetObjectAttributesRequest & WithBucket(BucketT &&value)
void SetMaxParts(int value)
GetObjectAttributesRequest & AddObjectAttributes(ObjectAttributes value)
bool ExpectedBucketOwnerHasBeenSet() const
bool MaxPartsHasBeenSet() const
bool SSECustomerAlgorithmHasBeenSet() const
bool BucketHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetObjectAttributesRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
const Aws::String & GetExpectedBucketOwner() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetKey(KeyT &&value)
GetObjectAttributesRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetSSECustomerAlgorithm() const
bool PartNumberMarkerHasBeenSet() const
GetObjectAttributesRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetObjectAttributesRequest & WithKey(KeyT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
GetObjectAttributesRequest & WithMaxParts(int value)
AWS_S3_API Aws::String SerializePayload() const override
const Aws::String & GetBucket() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetKey() const
GetObjectAttributesRequest & WithRequestPayer(RequestPayer value)
int GetPartNumberMarker() const
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
bool CustomizedAccessLogTagHasBeenSet() const
GetObjectAttributesRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
GetObjectAttributesRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API GetObjectAttributesRequest()=default
const Aws::String & GetSSECustomerKey() const
bool RequestPayerHasBeenSet() const
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
GetObjectAttributesRequest & WithVersionId(VersionIdT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
GetObjectAttributesRequest & WithPartNumberMarker(int value)
bool KeyHasBeenSet() const
void SetRequestPayer(RequestPayer 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
std::vector< T, Aws::Allocator< T > > Vector