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/core/utils/DateTime.h>
11#include <aws/s3/model/RequestPayer.h>
12#include <aws/s3/model/ChecksumMode.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
90 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
112 inline void SetIfMatch(
const char* value) { m_ifMatchHasBeenSet =
true; m_ifMatch.assign(value); }
154 inline void SetIfNoneMatch(
const char* value) { m_ifNoneMatchHasBeenSet =
true; m_ifNoneMatch.assign(value); }
188 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
205 inline void SetRange(
const char* value) { m_rangeHasBeenSet =
true; m_range.assign(value); }
219 inline void SetResponseCacheControl(
const char* value) { m_responseCacheControlHasBeenSet =
true; m_responseCacheControl.assign(value); }
247 inline void SetResponseContentEncoding(
const char* value) { m_responseContentEncodingHasBeenSet =
true; m_responseContentEncoding.assign(value); }
261 inline void SetResponseContentLanguage(
const char* value) { m_responseContentLanguageHasBeenSet =
true; m_responseContentLanguage.assign(value); }
275 inline void SetResponseContentType(
const char* value) { m_responseContentTypeHasBeenSet =
true; m_responseContentType.assign(value); }
303 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
319 inline void SetSSECustomerAlgorithm(
const char* value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm.assign(value); }
338 inline void SetSSECustomerKey(
const char* value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey.assign(value); }
355 inline void SetSSECustomerKeyMD5(
const char* value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5.assign(value); }
380 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
394 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
441 bool m_bucketHasBeenSet =
false;
444 bool m_ifMatchHasBeenSet =
false;
447 bool m_ifModifiedSinceHasBeenSet =
false;
450 bool m_ifNoneMatchHasBeenSet =
false;
453 bool m_ifUnmodifiedSinceHasBeenSet =
false;
456 bool m_keyHasBeenSet =
false;
459 bool m_rangeHasBeenSet =
false;
462 bool m_responseCacheControlHasBeenSet =
false;
465 bool m_responseContentDispositionHasBeenSet =
false;
468 bool m_responseContentEncodingHasBeenSet =
false;
471 bool m_responseContentLanguageHasBeenSet =
false;
474 bool m_responseContentTypeHasBeenSet =
false;
477 bool m_responseExpiresHasBeenSet =
false;
480 bool m_versionIdHasBeenSet =
false;
483 bool m_sSECustomerAlgorithmHasBeenSet =
false;
486 bool m_sSECustomerKeyHasBeenSet =
false;
489 bool m_sSECustomerKeyMD5HasBeenSet =
false;
492 bool m_requestPayerHasBeenSet =
false;
495 bool m_partNumberHasBeenSet =
false;
498 bool m_expectedBucketOwnerHasBeenSet =
false;
501 bool m_checksumModeHasBeenSet =
false;
504 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetBucket(Aws::String &&value)
HeadObjectRequest & WithIfMatch(Aws::String &&value)
HeadObjectRequest & WithSSECustomerKey(Aws::String &&value)
void SetIfNoneMatch(Aws::String &&value)
AWS_S3_API Aws::String SerializePayload() const override
void SetPartNumber(int value)
bool RequestPayerHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
HeadObjectRequest & WithPartNumber(int value)
HeadObjectRequest & WithResponseContentEncoding(const Aws::String &value)
HeadObjectRequest & WithExpectedBucketOwner(const char *value)
bool SSECustomerKeyMD5HasBeenSet() const
void SetResponseContentType(const Aws::String &value)
HeadObjectRequest & WithChecksumMode(ChecksumMode &&value)
const Aws::String & GetResponseCacheControl() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIfMatch() const
HeadObjectRequest & WithSSECustomerKey(const Aws::String &value)
HeadObjectRequest & WithIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetIfMatch(const Aws::String &value)
const Aws::Utils::DateTime & GetResponseExpires() const
void SetKey(const char *value)
HeadObjectRequest & WithResponseCacheControl(const Aws::String &value)
bool IfNoneMatchHasBeenSet() const
void SetResponseCacheControl(const Aws::String &value)
HeadObjectRequest & WithResponseContentLanguage(const char *value)
void SetIfModifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & WithResponseCacheControl(const char *value)
HeadObjectRequest & WithResponseContentDisposition(const char *value)
HeadObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
void SetKey(Aws::String &&value)
void SetResponseContentDisposition(Aws::String &&value)
void SetSSECustomerAlgorithm(Aws::String &&value)
bool ResponseContentLanguageHasBeenSet() const
void SetResponseContentLanguage(Aws::String &&value)
HeadObjectRequest & WithResponseContentType(Aws::String &&value)
const Aws::Utils::DateTime & GetIfModifiedSince() const
const Aws::String & GetSSECustomerKey() const
AWS_S3_API HeadObjectRequest()
HeadObjectRequest & WithBucket(const char *value)
bool IfModifiedSinceHasBeenSet() const
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
HeadObjectRequest & WithIfMatch(const Aws::String &value)
bool ResponseContentEncodingHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
HeadObjectRequest & WithSSECustomerKey(const char *value)
HeadObjectRequest & WithIfNoneMatch(Aws::String &&value)
void SetResponseContentType(const char *value)
const Aws::String & GetIfNoneMatch() const
void SetSSECustomerKeyMD5(const Aws::String &value)
HeadObjectRequest & WithVersionId(const Aws::String &value)
void SetExpectedBucketOwner(const char *value)
const Aws::String & GetVersionId() const
bool ResponseExpiresHasBeenSet() const
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
HeadObjectRequest & WithRequestPayer(const RequestPayer &value)
void SetResponseContentEncoding(const char *value)
void SetSSECustomerAlgorithm(const Aws::String &value)
HeadObjectRequest & WithBucket(const Aws::String &value)
void SetIfNoneMatch(const char *value)
HeadObjectRequest & WithIfNoneMatch(const Aws::String &value)
HeadObjectRequest & WithRange(const Aws::String &value)
HeadObjectRequest & WithResponseCacheControl(Aws::String &&value)
HeadObjectRequest & WithRange(Aws::String &&value)
bool ResponseContentDispositionHasBeenSet() const
HeadObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
bool ExpectedBucketOwnerHasBeenSet() const
HeadObjectRequest & WithResponseContentLanguage(const Aws::String &value)
int GetPartNumber() const
bool ResponseContentTypeHasBeenSet() const
const Aws::String & GetSSECustomerKeyMD5() const
void SetSSECustomerAlgorithm(const char *value)
HeadObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetRequestPayer(RequestPayer &&value)
const Aws::String & GetResponseContentEncoding() const
void SetRange(const char *value)
HeadObjectRequest & WithResponseExpires(const Aws::Utils::DateTime &value)
const Aws::String & GetBucket() const
HeadObjectRequest & WithIfMatch(const char *value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetResponseContentEncoding(Aws::String &&value)
const Aws::String & GetResponseContentType() const
void SetExpectedBucketOwner(const Aws::String &value)
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
HeadObjectRequest & WithBucket(Aws::String &&value)
HeadObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
HeadObjectRequest & WithResponseContentEncoding(const char *value)
HeadObjectRequest & WithRange(const char *value)
HeadObjectRequest & WithIfModifiedSince(Aws::Utils::DateTime &&value)
bool RangeHasBeenSet() const
HeadObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
HeadObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetIfMatch(const char *value)
void SetVersionId(Aws::String &&value)
void SetIfMatch(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
bool ResponseCacheControlHasBeenSet() const
HeadObjectRequest & WithKey(Aws::String &&value)
HeadObjectRequest & WithSSECustomerAlgorithm(const char *value)
const Aws::String & GetRange() const
void SetRequestPayer(const RequestPayer &value)
void SetSSECustomerKey(Aws::String &&value)
bool BucketHasBeenSet() const
void SetRange(const Aws::String &value)
bool VersionIdHasBeenSet() const
void SetResponseContentEncoding(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
HeadObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
bool IfUnmodifiedSinceHasBeenSet() const
void SetSSECustomerKey(const Aws::String &value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetBucket(const char *value)
void SetIfUnmodifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetResponseContentLanguage(const char *value)
void SetExpectedBucketOwner(Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
HeadObjectRequest & WithResponseContentDisposition(Aws::String &&value)
void SetResponseCacheControl(Aws::String &&value)
void SetIfModifiedSince(Aws::Utils::DateTime &&value)
void SetChecksumMode(ChecksumMode &&value)
HeadObjectRequest & WithResponseContentLanguage(Aws::String &&value)
void SetResponseContentDisposition(const Aws::String &value)
bool SSECustomerAlgorithmHasBeenSet() const
const Aws::Utils::DateTime & GetIfUnmodifiedSince() const
void SetVersionId(const Aws::String &value)
HeadObjectRequest & WithIfModifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
const ChecksumMode & GetChecksumMode() const
void SetSSECustomerKey(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetResponseContentLanguage(const Aws::String &value)
HeadObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetResponseContentDisposition() const
HeadObjectRequest & WithResponseContentType(const Aws::String &value)
void SetRange(Aws::String &&value)
void SetResponseExpires(const Aws::Utils::DateTime &value)
const Aws::String & GetKey() const
HeadObjectRequest & WithSSECustomerKeyMD5(const char *value)
bool KeyHasBeenSet() const
void SetSSECustomerKeyMD5(const char *value)
HeadObjectRequest & WithVersionId(const char *value)
HeadObjectRequest & WithResponseContentEncoding(Aws::String &&value)
void SetIfNoneMatch(const Aws::String &value)
bool ChecksumModeHasBeenSet() const
void SetVersionId(const char *value)
HeadObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
HeadObjectRequest & WithResponseContentType(const char *value)
HeadObjectRequest & WithResponseExpires(Aws::Utils::DateTime &&value)
bool IfMatchHasBeenSet() const
HeadObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectRequest & WithIfUnmodifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & WithRequestPayer(RequestPayer &&value)
void SetResponseCacheControl(const char *value)
HeadObjectRequest & WithIfNoneMatch(const char *value)
void SetIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetResponseExpires(Aws::Utils::DateTime &&value)
void SetChecksumMode(const ChecksumMode &value)
void SetResponseContentType(Aws::String &&value)
const Aws::String & GetResponseContentLanguage() const
bool PartNumberHasBeenSet() const
HeadObjectRequest & WithKey(const Aws::String &value)
HeadObjectRequest & WithChecksumMode(const ChecksumMode &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
HeadObjectRequest & WithResponseContentDisposition(const Aws::String &value)
const RequestPayer & GetRequestPayer() const
const Aws::String & GetSSECustomerAlgorithm() const
void SetKey(const Aws::String &value)
HeadObjectRequest & WithKey(const char *value)
void SetBucket(const Aws::String &value)
void SetResponseContentDisposition(const char *value)
HeadObjectRequest & WithVersionId(Aws::String &&value)
bool SSECustomerKeyHasBeenSet() 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