7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/S3Request.h>
11#include <aws/s3/S3_EXPORTS.h>
12#include <aws/s3/model/ChecksumMode.h>
13#include <aws/s3/model/RequestPayer.h>
86 template <
typename BucketT = Aws::String>
88 m_bucketHasBeenSet =
true;
89 m_bucket = std::forward<BucketT>(value);
91 template <
typename BucketT = Aws::String>
112 template <
typename IfMatchT = Aws::String>
114 m_ifMatchHasBeenSet =
true;
115 m_ifMatch = std::forward<IfMatchT>(value);
117 template <
typename IfMatchT = Aws::String>
138 template <
typename IfModifiedSinceT = Aws::Utils::DateTime>
140 m_ifModifiedSinceHasBeenSet =
true;
141 m_ifModifiedSince = std::forward<IfModifiedSinceT>(value);
143 template <
typename IfModifiedSinceT = Aws::Utils::DateTime>
164 template <
typename IfNoneMatchT = Aws::String>
166 m_ifNoneMatchHasBeenSet =
true;
167 m_ifNoneMatch = std::forward<IfNoneMatchT>(value);
169 template <
typename IfNoneMatchT = Aws::String>
190 template <
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
192 m_ifUnmodifiedSinceHasBeenSet =
true;
193 m_ifUnmodifiedSince = std::forward<IfUnmodifiedSinceT>(value);
195 template <
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
208 template <
typename KeyT = Aws::String>
210 m_keyHasBeenSet =
true;
211 m_key = std::forward<KeyT>(value);
213 template <
typename KeyT = Aws::String>
215 SetKey(std::forward<KeyT>(value));
229 template <
typename RangeT = Aws::String>
231 m_rangeHasBeenSet =
true;
232 m_range = std::forward<RangeT>(value);
234 template <
typename RangeT = Aws::String>
236 SetRange(std::forward<RangeT>(value));
247 template <
typename ResponseCacheControlT = Aws::String>
249 m_responseCacheControlHasBeenSet =
true;
250 m_responseCacheControl = std::forward<ResponseCacheControlT>(value);
252 template <
typename ResponseCacheControlT = Aws::String>
265 template <
typename ResponseContentDispositionT = Aws::String>
267 m_responseContentDispositionHasBeenSet =
true;
268 m_responseContentDisposition = std::forward<ResponseContentDispositionT>(value);
270 template <
typename ResponseContentDispositionT = Aws::String>
283 template <
typename ResponseContentEncodingT = Aws::String>
285 m_responseContentEncodingHasBeenSet =
true;
286 m_responseContentEncoding = std::forward<ResponseContentEncodingT>(value);
288 template <
typename ResponseContentEncodingT = Aws::String>
301 template <
typename ResponseContentLanguageT = Aws::String>
303 m_responseContentLanguageHasBeenSet =
true;
304 m_responseContentLanguage = std::forward<ResponseContentLanguageT>(value);
306 template <
typename ResponseContentLanguageT = Aws::String>
319 template <
typename ResponseContentTypeT = Aws::String>
321 m_responseContentTypeHasBeenSet =
true;
322 m_responseContentType = std::forward<ResponseContentTypeT>(value);
324 template <
typename ResponseContentTypeT = Aws::String>
337 template <
typename ResponseExpiresT = Aws::Utils::DateTime>
339 m_responseExpiresHasBeenSet =
true;
340 m_responseExpires = std::forward<ResponseExpiresT>(value);
342 template <
typename ResponseExpiresT = Aws::Utils::DateTime>
357 template <
typename VersionIdT = Aws::String>
359 m_versionIdHasBeenSet =
true;
360 m_versionId = std::forward<VersionIdT>(value);
362 template <
typename VersionIdT = Aws::String>
377 template <
typename SSECustomerAlgorithmT = Aws::String>
379 m_sSECustomerAlgorithmHasBeenSet =
true;
380 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
382 template <
typename SSECustomerAlgorithmT = Aws::String>
400 template <
typename SSECustomerKeyT = Aws::String>
402 m_sSECustomerKeyHasBeenSet =
true;
403 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
405 template <
typename SSECustomerKeyT = Aws::String>
421 template <
typename SSECustomerKeyMD5T = Aws::String>
423 m_sSECustomerKeyMD5HasBeenSet =
true;
424 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
426 template <
typename SSECustomerKeyMD5T = Aws::String>
438 m_requestPayerHasBeenSet =
true;
439 m_requestPayer = value;
457 m_partNumberHasBeenSet =
true;
458 m_partNumber = value;
474 template <
typename ExpectedBucketOwnerT = Aws::String>
476 m_expectedBucketOwnerHasBeenSet =
true;
477 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
479 template <
typename ExpectedBucketOwnerT = Aws::String>
503 m_checksumModeHasBeenSet =
true;
504 m_checksumMode = value;
516 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
518 m_customizedAccessLogTagHasBeenSet =
true;
519 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
521 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
526 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
528 m_customizedAccessLogTagHasBeenSet =
true;
529 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
577 bool m_bucketHasBeenSet =
false;
578 bool m_ifMatchHasBeenSet =
false;
579 bool m_ifModifiedSinceHasBeenSet =
false;
580 bool m_ifNoneMatchHasBeenSet =
false;
581 bool m_ifUnmodifiedSinceHasBeenSet =
false;
582 bool m_keyHasBeenSet =
false;
583 bool m_rangeHasBeenSet =
false;
584 bool m_responseCacheControlHasBeenSet =
false;
585 bool m_responseContentDispositionHasBeenSet =
false;
586 bool m_responseContentEncodingHasBeenSet =
false;
587 bool m_responseContentLanguageHasBeenSet =
false;
588 bool m_responseContentTypeHasBeenSet =
false;
589 bool m_responseExpiresHasBeenSet =
false;
590 bool m_versionIdHasBeenSet =
false;
591 bool m_sSECustomerAlgorithmHasBeenSet =
false;
592 bool m_sSECustomerKeyHasBeenSet =
false;
593 bool m_sSECustomerKeyMD5HasBeenSet =
false;
594 bool m_requestPayerHasBeenSet =
false;
595 bool m_partNumberHasBeenSet =
false;
596 bool m_expectedBucketOwnerHasBeenSet =
false;
597 bool m_checksumModeHasBeenSet =
false;
598 bool m_customizedAccessLogTagHasBeenSet =
false;
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)
bool SSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetResponseCacheControl() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIfMatch() const
const Aws::Utils::DateTime & GetResponseExpires() const
HeadObjectRequest & WithChecksumMode(ChecksumMode value)
bool IfNoneMatchHasBeenSet() const
HeadObjectRequest & WithRange(RangeT &&value)
bool ResponseContentLanguageHasBeenSet() const
HeadObjectRequest & WithResponseContentDisposition(ResponseContentDispositionT &&value)
HeadObjectRequest & WithResponseExpires(ResponseExpiresT &&value)
void SetKey(KeyT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::Utils::DateTime & GetIfModifiedSince() const
const Aws::String & GetSSECustomerKey() const
bool IfModifiedSinceHasBeenSet() const
bool ResponseContentEncodingHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::String & GetIfNoneMatch() const
const Aws::String & GetVersionId() const
bool ResponseExpiresHasBeenSet() const
RequestPayer GetRequestPayer() const
AWS_S3_API HeadObjectRequest()=default
HeadObjectRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
HeadObjectRequest & WithKey(KeyT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
HeadObjectRequest & WithIfNoneMatch(IfNoneMatchT &&value)
bool ResponseContentDispositionHasBeenSet() const
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetResponseContentType(ResponseContentTypeT &&value)
HeadObjectRequest & WithResponseCacheControl(ResponseCacheControlT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
int GetPartNumber() const
bool ResponseContentTypeHasBeenSet() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetResponseContentEncoding() const
HeadObjectRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
void SetChecksumMode(ChecksumMode value)
void SetResponseExpires(ResponseExpiresT &&value)
HeadObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetBucket() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetResponseContentType() const
HeadObjectRequest & WithIfModifiedSince(IfModifiedSinceT &&value)
bool RangeHasBeenSet() const
HeadObjectRequest & WithResponseContentLanguage(ResponseContentLanguageT &&value)
void SetRange(RangeT &&value)
void SetIfUnmodifiedSince(IfUnmodifiedSinceT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetIfModifiedSince(IfModifiedSinceT &&value)
void SetResponseContentEncoding(ResponseContentEncodingT &&value)
bool ResponseCacheControlHasBeenSet() const
HeadObjectRequest & WithVersionId(VersionIdT &&value)
const Aws::String & GetRange() const
bool BucketHasBeenSet() const
HeadObjectRequest & WithIfMatch(IfMatchT &&value)
bool VersionIdHasBeenSet() const
ChecksumMode GetChecksumMode() const
const Aws::String & GetExpectedBucketOwner() const
bool IfUnmodifiedSinceHasBeenSet() const
HeadObjectRequest & WithResponseContentType(ResponseContentTypeT &&value)
void SetResponseContentLanguage(ResponseContentLanguageT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetIfMatch(IfMatchT &&value)
void SetRequestPayer(RequestPayer value)
HeadObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
HeadObjectRequest & WithBucket(BucketT &&value)
HeadObjectRequest & WithResponseContentEncoding(ResponseContentEncodingT &&value)
void SetBucket(BucketT &&value)
bool SSECustomerAlgorithmHasBeenSet() const
const Aws::Utils::DateTime & GetIfUnmodifiedSince() const
void SetResponseContentDisposition(ResponseContentDispositionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
HeadObjectRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetResponseContentDisposition() const
const Aws::String & GetKey() const
bool KeyHasBeenSet() const
void SetIfNoneMatch(IfNoneMatchT &&value)
bool ChecksumModeHasBeenSet() const
bool IfMatchHasBeenSet() const
void SetResponseCacheControl(ResponseCacheControlT &&value)
HeadObjectRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
HeadObjectRequest & WithIfUnmodifiedSince(IfUnmodifiedSinceT &&value)
void SetVersionId(VersionIdT &&value)
HeadObjectRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetResponseContentLanguage() const
bool PartNumberHasBeenSet() const
const Aws::String & GetSSECustomerAlgorithm() const
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