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 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
83 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
84 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
99 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
125 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
150 bool m_bucketHasBeenSet =
false;
153 bool m_keyHasBeenSet =
false;
156 bool m_versionIdHasBeenSet =
false;
159 bool m_requestPayerHasBeenSet =
false;
162 bool m_expectedBucketOwnerHasBeenSet =
false;
165 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetKey(const Aws::String &value)
void SetExpectedBucketOwner(Aws::String &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::String & GetExpectedBucketOwner() const
bool BucketHasBeenSet() const
GetObjectRetentionRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetVersionId(const Aws::String &value)
void SetBucket(const Aws::String &value)
void SetKey(Aws::String &&value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetBucket(Aws::String &&value)
void SetRequestPayer(const RequestPayer &value)
bool RequestPayerHasBeenSet() const
void SetExpectedBucketOwner(const char *value)
bool VersionIdHasBeenSet() const
void SetVersionId(const char *value)
GetObjectRetentionRequest & WithVersionId(Aws::String &&value)
const Aws::String & GetKey() const
GetObjectRetentionRequest & WithExpectedBucketOwner(const Aws::String &value)
GetObjectRetentionRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetRequestPayer(RequestPayer &&value)
GetObjectRetentionRequest & WithRequestPayer(const RequestPayer &value)
GetObjectRetentionRequest & WithBucket(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetObjectRetentionRequest & WithVersionId(const Aws::String &value)
AWS_S3_API GetObjectRetentionRequest()
void SetKey(const char *value)
GetObjectRetentionRequest & WithRequestPayer(RequestPayer &&value)
const Aws::String & GetVersionId() const
GetObjectRetentionRequest & WithBucket(const Aws::String &value)
bool ExpectedBucketOwnerHasBeenSet() const
const Aws::String & GetBucket() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetObjectRetentionRequest & WithExpectedBucketOwner(Aws::String &&value)
GetObjectRetentionRequest & WithBucket(const char *value)
GetObjectRetentionRequest & WithKey(Aws::String &&value)
GetObjectRetentionRequest & WithVersionId(const char *value)
GetObjectRetentionRequest & WithKey(const Aws::String &value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
GetObjectRetentionRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
GetObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
GetObjectRetentionRequest & WithExpectedBucketOwner(const char *value)
GetObjectRetentionRequest & WithKey(const char *value)
bool CustomizedAccessLogTagHasBeenSet() const
bool KeyHasBeenSet() const
const RequestPayer & GetRequestPayer() const
void SetVersionId(Aws::String &&value)
void SetBucket(const char *value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API Aws::String SerializePayload() 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_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String