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/s3/model/RequestPayer.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3/model/ObjectAttributes.h>
90 template<
typename BucketT = Aws::String>
91 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
92 template<
typename BucketT = Aws::String>
102 template<
typename KeyT = Aws::String>
103 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
104 template<
typename KeyT = Aws::String>
118 template<
typename VersionIdT = Aws::String>
119 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
120 template<
typename VersionIdT = Aws::String>
133 inline void SetMaxParts(
int value) { m_maxPartsHasBeenSet =
true; m_maxParts = value; }
147 inline void SetPartNumberMarker(
int value) { m_partNumberMarkerHasBeenSet =
true; m_partNumberMarker = value; }
159 template<
typename SSECustomerAlgorithmT = Aws::String>
160 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
161 template<
typename SSECustomerAlgorithmT = Aws::String>
176 template<
typename SSECustomerKeyT = Aws::String>
177 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
178 template<
typename SSECustomerKeyT = Aws::String>
191 template<
typename SSECustomerKeyMD5T = Aws::String>
192 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
193 template<
typename SSECustomerKeyMD5T = Aws::String>
213 template<
typename ExpectedBucketOwnerT = Aws::String>
214 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
215 template<
typename ExpectedBucketOwnerT = Aws::String>
226 template<
typename ObjectAttributesT = Aws::Vector<ObjectAttributes>>
227 void SetObjectAttributes(ObjectAttributesT&& value) { m_objectAttributesHasBeenSet =
true; m_objectAttributes = std::forward<ObjectAttributesT>(value); }
228 template<
typename ObjectAttributesT = Aws::Vector<ObjectAttributes>>
237 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
238 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
239 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
241 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
243 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
249 bool m_bucketHasBeenSet =
false;
252 bool m_keyHasBeenSet =
false;
255 bool m_versionIdHasBeenSet =
false;
258 bool m_maxPartsHasBeenSet =
false;
260 int m_partNumberMarker{0};
261 bool m_partNumberMarkerHasBeenSet =
false;
264 bool m_sSECustomerAlgorithmHasBeenSet =
false;
267 bool m_sSECustomerKeyHasBeenSet =
false;
270 bool m_sSECustomerKeyMD5HasBeenSet =
false;
273 bool m_requestPayerHasBeenSet =
false;
276 bool m_expectedBucketOwnerHasBeenSet =
false;
279 bool m_objectAttributesHasBeenSet =
false;
282 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