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 template<
typename BucketT = Aws::String>
91 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
92 template<
typename BucketT = Aws::String>
110 template<
typename IfMatchT = Aws::String>
111 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
112 template<
typename IfMatchT = Aws::String>
130 template<
typename IfModifiedSinceT = Aws::Utils::DateTime>
131 void SetIfModifiedSince(IfModifiedSinceT&& value) { m_ifModifiedSinceHasBeenSet =
true; m_ifModifiedSince = std::forward<IfModifiedSinceT>(value); }
132 template<
typename IfModifiedSinceT = Aws::Utils::DateTime>
150 template<
typename IfNoneMatchT = Aws::String>
151 void SetIfNoneMatch(IfNoneMatchT&& value) { m_ifNoneMatchHasBeenSet =
true; m_ifNoneMatch = std::forward<IfNoneMatchT>(value); }
152 template<
typename IfNoneMatchT = Aws::String>
170 template<
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
171 void SetIfUnmodifiedSince(IfUnmodifiedSinceT&& value) { m_ifUnmodifiedSinceHasBeenSet =
true; m_ifUnmodifiedSince = std::forward<IfUnmodifiedSinceT>(value); }
172 template<
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
182 template<
typename KeyT = Aws::String>
183 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
184 template<
typename KeyT = Aws::String>
197 template<
typename RangeT = Aws::String>
198 void SetRange(RangeT&& value) { m_rangeHasBeenSet =
true; m_range = std::forward<RangeT>(value); }
199 template<
typename RangeT = Aws::String>
209 template<
typename ResponseCacheControlT = Aws::String>
210 void SetResponseCacheControl(ResponseCacheControlT&& value) { m_responseCacheControlHasBeenSet =
true; m_responseCacheControl = std::forward<ResponseCacheControlT>(value); }
211 template<
typename ResponseCacheControlT = Aws::String>
221 template<
typename ResponseContentDispositionT = Aws::String>
222 void SetResponseContentDisposition(ResponseContentDispositionT&& value) { m_responseContentDispositionHasBeenSet =
true; m_responseContentDisposition = std::forward<ResponseContentDispositionT>(value); }
223 template<
typename ResponseContentDispositionT = Aws::String>
233 template<
typename ResponseContentEncodingT = Aws::String>
234 void SetResponseContentEncoding(ResponseContentEncodingT&& value) { m_responseContentEncodingHasBeenSet =
true; m_responseContentEncoding = std::forward<ResponseContentEncodingT>(value); }
235 template<
typename ResponseContentEncodingT = Aws::String>
245 template<
typename ResponseContentLanguageT = Aws::String>
246 void SetResponseContentLanguage(ResponseContentLanguageT&& value) { m_responseContentLanguageHasBeenSet =
true; m_responseContentLanguage = std::forward<ResponseContentLanguageT>(value); }
247 template<
typename ResponseContentLanguageT = Aws::String>
257 template<
typename ResponseContentTypeT = Aws::String>
258 void SetResponseContentType(ResponseContentTypeT&& value) { m_responseContentTypeHasBeenSet =
true; m_responseContentType = std::forward<ResponseContentTypeT>(value); }
259 template<
typename ResponseContentTypeT = Aws::String>
269 template<
typename ResponseExpiresT = Aws::Utils::DateTime>
270 void SetResponseExpires(ResponseExpiresT&& value) { m_responseExpiresHasBeenSet =
true; m_responseExpires = std::forward<ResponseExpiresT>(value); }
271 template<
typename ResponseExpiresT = Aws::Utils::DateTime>
283 template<
typename VersionIdT = Aws::String>
284 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
285 template<
typename VersionIdT = Aws::String>
297 template<
typename SSECustomerAlgorithmT = Aws::String>
298 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
299 template<
typename SSECustomerAlgorithmT = Aws::String>
314 template<
typename SSECustomerKeyT = Aws::String>
315 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
316 template<
typename SSECustomerKeyT = Aws::String>
329 template<
typename SSECustomerKeyMD5T = Aws::String>
330 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
331 template<
typename SSECustomerKeyMD5T = Aws::String>
352 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
364 template<
typename ExpectedBucketOwnerT = Aws::String>
365 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
366 template<
typename ExpectedBucketOwnerT = Aws::String>
394 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
395 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
396 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
398 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
400 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
406 bool m_bucketHasBeenSet =
false;
409 bool m_ifMatchHasBeenSet =
false;
412 bool m_ifModifiedSinceHasBeenSet =
false;
415 bool m_ifNoneMatchHasBeenSet =
false;
418 bool m_ifUnmodifiedSinceHasBeenSet =
false;
421 bool m_keyHasBeenSet =
false;
424 bool m_rangeHasBeenSet =
false;
427 bool m_responseCacheControlHasBeenSet =
false;
430 bool m_responseContentDispositionHasBeenSet =
false;
433 bool m_responseContentEncodingHasBeenSet =
false;
436 bool m_responseContentLanguageHasBeenSet =
false;
439 bool m_responseContentTypeHasBeenSet =
false;
442 bool m_responseExpiresHasBeenSet =
false;
445 bool m_versionIdHasBeenSet =
false;
448 bool m_sSECustomerAlgorithmHasBeenSet =
false;
451 bool m_sSECustomerKeyHasBeenSet =
false;
454 bool m_sSECustomerKeyMD5HasBeenSet =
false;
457 bool m_requestPayerHasBeenSet =
false;
460 bool m_partNumberHasBeenSet =
false;
463 bool m_expectedBucketOwnerHasBeenSet =
false;
466 bool m_checksumModeHasBeenSet =
false;
469 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