7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/RestoreRequest.h>
11#include <aws/s3-crt/model/RequestPayer.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
81 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
94 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
95 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
109 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
166 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
191 bool m_bucketHasBeenSet =
false;
194 bool m_keyHasBeenSet =
false;
197 bool m_versionIdHasBeenSet =
false;
200 bool m_restoreRequestHasBeenSet =
false;
203 bool m_requestPayerHasBeenSet =
false;
206 bool m_checksumAlgorithmHasBeenSet =
false;
209 bool m_expectedBucketOwnerHasBeenSet =
false;
212 bool m_customizedAccessLogTagHasBeenSet =
false;
bool BucketHasBeenSet() const
RestoreObjectRequest & WithKey(const char *value)
bool VersionIdHasBeenSet() const
AWS_S3CRT_API Aws::String SerializePayload() const override
bool CustomizedAccessLogTagHasBeenSet() const
bool RequestPayerHasBeenSet() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetRestoreRequest(RestoreRequest &&value)
void SetBucket(Aws::String &&value)
const Aws::String & GetKey() const
AWS_S3CRT_API RestoreObjectRequest()
RestoreObjectRequest & WithKey(const Aws::String &value)
void SetVersionId(const char *value)
const Aws::String & GetExpectedBucketOwner() const
RestoreObjectRequest & WithBucket(const char *value)
void SetKey(Aws::String &&value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
RestoreObjectRequest & WithKey(Aws::String &&value)
RestoreObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
RestoreObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
bool ChecksumAlgorithmHasBeenSet() const
const RequestPayer & GetRequestPayer() const
void SetExpectedBucketOwner(const char *value)
const Aws::String & GetVersionId() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
RestoreObjectRequest & WithBucket(Aws::String &&value)
void SetVersionId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetKey(const char *value)
RestoreObjectRequest & WithBucket(const Aws::String &value)
const RestoreRequest & GetRestoreRequest() const
RestoreObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
bool ExpectedBucketOwnerHasBeenSet() const
RestoreObjectRequest & WithExpectedBucketOwner(const char *value)
virtual const char * GetServiceRequestName() const override
RestoreObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetKey(const Aws::String &value)
RestoreObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetVersionId(Aws::String &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetBucket() const
void SetExpectedBucketOwner(const Aws::String &value)
RestoreObjectRequest & WithRestoreRequest(const RestoreRequest &value)
RestoreObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
RestoreObjectRequest & WithVersionId(Aws::String &&value)
bool RestoreRequestHasBeenSet() const
RestoreObjectRequest & WithRequestPayer(const RequestPayer &value)
RestoreObjectRequest & WithVersionId(const char *value)
void SetBucket(const char *value)
RestoreObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetRestoreRequest(const RestoreRequest &value)
RestoreObjectRequest & WithRestoreRequest(RestoreRequest &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
RestoreObjectRequest & WithVersionId(const Aws::String &value)
RestoreObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
RestoreObjectRequest & WithRequestPayer(RequestPayer &&value)
void SetRequestPayer(RequestPayer &&value)
bool KeyHasBeenSet() const
void SetExpectedBucketOwner(Aws::String &&value)
RestoreObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
RestoreObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestPayer(const RequestPayer &value)
RestoreObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
RestoreObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
RestoreObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetBucket(const Aws::String &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