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/AWSMap.h>
69 template<
typename BucketT = Aws::String>
70 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
71 template<
typename BucketT = Aws::String>
81 template<
typename KeyT = Aws::String>
82 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
83 template<
typename KeyT = Aws::String>
94 template<
typename VersionIdT = Aws::String>
95 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
96 template<
typename VersionIdT = Aws::String>
116 template<
typename ExpectedBucketOwnerT = Aws::String>
117 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
118 template<
typename ExpectedBucketOwnerT = Aws::String>
126 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
127 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
128 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
130 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
132 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
138 bool m_bucketHasBeenSet =
false;
141 bool m_keyHasBeenSet =
false;
144 bool m_versionIdHasBeenSet =
false;
147 bool m_requestPayerHasBeenSet =
false;
150 bool m_expectedBucketOwnerHasBeenSet =
false;
153 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetKey(KeyT &&value)
bool BucketHasBeenSet() const
GetObjectAclRequest & WithKey(KeyT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool CustomizedAccessLogTagHasBeenSet() const
GetObjectAclRequest & WithBucket(BucketT &&value)
GetObjectAclRequest & WithVersionId(VersionIdT &&value)
GetObjectAclRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3_API Aws::String SerializePayload() const override
const Aws::String & GetExpectedBucketOwner() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
GetObjectAclRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
virtual const char * GetServiceRequestName() const override
bool VersionIdHasBeenSet() const
bool KeyHasBeenSet() const
void SetRequestPayer(RequestPayer value)
RequestPayer GetRequestPayer() const
bool RequestPayerHasBeenSet() const
void SetBucket(BucketT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API GetObjectAclRequest()=default
bool ExpectedBucketOwnerHasBeenSet() const
const Aws::String & GetVersionId() const
void SetVersionId(VersionIdT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetKey() const
GetObjectAclRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetObjectAclRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetBucket() 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