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/core/utils/DateTime.h>
11#include <aws/s3-crt/model/RequestPayer.h>
12#include <aws/s3-crt/model/ChecksumMode.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
97 template<
typename BucketT = Aws::String>
98 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
99 template<
typename BucketT = Aws::String>
117 template<
typename IfMatchT = Aws::String>
118 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
119 template<
typename IfMatchT = Aws::String>
136 template<
typename IfModifiedSinceT = Aws::Utils::DateTime>
137 void SetIfModifiedSince(IfModifiedSinceT&& value) { m_ifModifiedSinceHasBeenSet =
true; m_ifModifiedSince = std::forward<IfModifiedSinceT>(value); }
138 template<
typename IfModifiedSinceT = Aws::Utils::DateTime>
156 template<
typename IfNoneMatchT = Aws::String>
157 void SetIfNoneMatch(IfNoneMatchT&& value) { m_ifNoneMatchHasBeenSet =
true; m_ifNoneMatch = std::forward<IfNoneMatchT>(value); }
158 template<
typename IfNoneMatchT = Aws::String>
175 template<
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
176 void SetIfUnmodifiedSince(IfUnmodifiedSinceT&& value) { m_ifUnmodifiedSinceHasBeenSet =
true; m_ifUnmodifiedSince = std::forward<IfUnmodifiedSinceT>(value); }
177 template<
typename IfUnmodifiedSinceT = Aws::Utils::DateTime>
187 template<
typename KeyT = Aws::String>
188 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
189 template<
typename KeyT = Aws::String>
203 template<
typename RangeT = Aws::String>
204 void SetRange(RangeT&& value) { m_rangeHasBeenSet =
true; m_range = std::forward<RangeT>(value); }
205 template<
typename RangeT = Aws::String>
215 template<
typename ResponseCacheControlT = Aws::String>
216 void SetResponseCacheControl(ResponseCacheControlT&& value) { m_responseCacheControlHasBeenSet =
true; m_responseCacheControl = std::forward<ResponseCacheControlT>(value); }
217 template<
typename ResponseCacheControlT = Aws::String>
227 template<
typename ResponseContentDispositionT = Aws::String>
228 void SetResponseContentDisposition(ResponseContentDispositionT&& value) { m_responseContentDispositionHasBeenSet =
true; m_responseContentDisposition = std::forward<ResponseContentDispositionT>(value); }
229 template<
typename ResponseContentDispositionT = Aws::String>
239 template<
typename ResponseContentEncodingT = Aws::String>
240 void SetResponseContentEncoding(ResponseContentEncodingT&& value) { m_responseContentEncodingHasBeenSet =
true; m_responseContentEncoding = std::forward<ResponseContentEncodingT>(value); }
241 template<
typename ResponseContentEncodingT = Aws::String>
251 template<
typename ResponseContentLanguageT = Aws::String>
252 void SetResponseContentLanguage(ResponseContentLanguageT&& value) { m_responseContentLanguageHasBeenSet =
true; m_responseContentLanguage = std::forward<ResponseContentLanguageT>(value); }
253 template<
typename ResponseContentLanguageT = Aws::String>
263 template<
typename ResponseContentTypeT = Aws::String>
264 void SetResponseContentType(ResponseContentTypeT&& value) { m_responseContentTypeHasBeenSet =
true; m_responseContentType = std::forward<ResponseContentTypeT>(value); }
265 template<
typename ResponseContentTypeT = Aws::String>
275 template<
typename ResponseExpiresT = Aws::Utils::DateTime>
276 void SetResponseExpires(ResponseExpiresT&& value) { m_responseExpiresHasBeenSet =
true; m_responseExpires = std::forward<ResponseExpiresT>(value); }
277 template<
typename ResponseExpiresT = Aws::Utils::DateTime>
303 template<
typename VersionIdT = Aws::String>
304 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
305 template<
typename VersionIdT = Aws::String>
327 template<
typename SSECustomerAlgorithmT = Aws::String>
328 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
329 template<
typename SSECustomerAlgorithmT = Aws::String>
354 template<
typename SSECustomerKeyT = Aws::String>
355 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
356 template<
typename SSECustomerKeyT = Aws::String>
379 template<
typename SSECustomerKeyMD5T = Aws::String>
380 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
381 template<
typename SSECustomerKeyMD5T = Aws::String>
401 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
413 template<
typename ExpectedBucketOwnerT = Aws::String>
414 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
415 template<
typename ExpectedBucketOwnerT = Aws::String>
433 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
434 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
435 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
437 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
439 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
445 bool m_bucketHasBeenSet =
false;
448 bool m_ifMatchHasBeenSet =
false;
451 bool m_ifModifiedSinceHasBeenSet =
false;
454 bool m_ifNoneMatchHasBeenSet =
false;
457 bool m_ifUnmodifiedSinceHasBeenSet =
false;
460 bool m_keyHasBeenSet =
false;
463 bool m_rangeHasBeenSet =
false;
466 bool m_responseCacheControlHasBeenSet =
false;
469 bool m_responseContentDispositionHasBeenSet =
false;
472 bool m_responseContentEncodingHasBeenSet =
false;
475 bool m_responseContentLanguageHasBeenSet =
false;
478 bool m_responseContentTypeHasBeenSet =
false;
481 bool m_responseExpiresHasBeenSet =
false;
484 bool m_versionIdHasBeenSet =
false;
487 bool m_sSECustomerAlgorithmHasBeenSet =
false;
490 bool m_sSECustomerKeyHasBeenSet =
false;
493 bool m_sSECustomerKeyMD5HasBeenSet =
false;
496 bool m_requestPayerHasBeenSet =
false;
499 bool m_partNumberHasBeenSet =
false;
502 bool m_expectedBucketOwnerHasBeenSet =
false;
505 bool m_checksumModeHasBeenSet =
false;
508 bool m_customizedAccessLogTagHasBeenSet =
false;
GetObjectRequest & WithKey(KeyT &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SSECustomerAlgorithmHasBeenSet() const
void SetResponseCacheControl(ResponseCacheControlT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
GetObjectRequest & WithResponseContentType(ResponseContentTypeT &&value)
bool ResponseContentLanguageHasBeenSet() const
GetObjectRequest & WithChecksumMode(ChecksumMode value)
GetObjectRequest & WithResponseExpires(ResponseExpiresT &&value)
ChecksumMode GetChecksumMode() const
GetObjectRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetRange(RangeT &&value)
bool IfMatchHasBeenSet() const
void SetResponseContentDisposition(ResponseContentDispositionT &&value)
RequestPayer GetRequestPayer() const
AWS_S3CRT_API GetObjectRequest()=default
GetObjectRequest & WithIfUnmodifiedSince(IfUnmodifiedSinceT &&value)
void SetResponseContentLanguage(ResponseContentLanguageT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool ResponseContentDispositionHasBeenSet() const
void SetIfNoneMatch(IfNoneMatchT &&value)
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetExpectedBucketOwner() const
bool RequestPayerHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
GetObjectRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool IfUnmodifiedSinceHasBeenSet() const
bool ChecksumModeHasBeenSet() const
GetObjectRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::Utils::DateTime & GetIfModifiedSince() const
const Aws::String & GetResponseCacheControl() const
GetObjectRequest & WithIfModifiedSince(IfModifiedSinceT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetChecksumMode(ChecksumMode value)
GetObjectRequest & WithRange(RangeT &&value)
const Aws::String & GetResponseContentEncoding() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
virtual const char * GetServiceRequestName() const override
int GetPartNumber() const
void SetResponseContentType(ResponseContentTypeT &&value)
bool RangeHasBeenSet() const
void SetVersionId(VersionIdT &&value)
GetObjectRequest & WithRequestPayer(RequestPayer value)
void SetIfModifiedSince(IfModifiedSinceT &&value)
GetObjectRequest & WithPartNumber(int value)
void SetResponseContentEncoding(ResponseContentEncodingT &&value)
bool VersionIdHasBeenSet() const
bool ResponseContentEncodingHasBeenSet() const
AWS_S3CRT_API bool ShouldValidateResponseChecksum() const override
bool PartNumberHasBeenSet() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
GetObjectRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
bool KeyHasBeenSet() const
const Aws::String & GetIfMatch() const
GetObjectRequest & WithIfNoneMatch(IfNoneMatchT &&value)
void SetIfMatch(IfMatchT &&value)
GetObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetResponseContentType() const
void SetKey(KeyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetResponseExpires(ResponseExpiresT &&value)
bool ResponseExpiresHasBeenSet() const
const Aws::String & GetResponseContentDisposition() const
bool IfModifiedSinceHasBeenSet() const
GetObjectRequest & WithVersionId(VersionIdT &&value)
GetObjectRequest & WithResponseContentDisposition(ResponseContentDispositionT &&value)
AWS_S3CRT_API Aws::Vector< Aws::String > GetResponseChecksumAlgorithmNames() const override
const Aws::String & GetResponseContentLanguage() const
AWS_S3CRT_API Aws::String SerializePayload() const override
bool ResponseContentTypeHasBeenSet() const
bool SSECustomerKeyHasBeenSet() const
const Aws::Utils::DateTime & GetResponseExpires() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
GetObjectRequest & WithResponseCacheControl(ResponseCacheControlT &&value)
const Aws::String & GetVersionId() const
GetObjectRequest & WithResponseContentLanguage(ResponseContentLanguageT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetIfNoneMatch() const
const Aws::String & GetRange() const
GetObjectRequest & WithResponseContentEncoding(ResponseContentEncodingT &&value)
GetObjectRequest & WithBucket(BucketT &&value)
const Aws::String & GetKey() const
void SetPartNumber(int value)
void SetIfUnmodifiedSince(IfUnmodifiedSinceT &&value)
const Aws::Utils::DateTime & GetIfUnmodifiedSince() const
bool IfNoneMatchHasBeenSet() const
bool ResponseCacheControlHasBeenSet() const
void SetBucket(BucketT &&value)
const Aws::String & GetSSECustomerKey() const
const Aws::String & GetBucket() const
bool BucketHasBeenSet() const
GetObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
GetObjectRequest & WithIfMatch(IfMatchT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
bool SSECustomerKeyMD5HasBeenSet() const
void SetRequestPayer(RequestPayer 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_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector