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/s3/model/RequestPayer.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
56 template<
typename BucketT = Aws::String>
57 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
58 template<
typename BucketT = Aws::String>
68 template<
typename KeyT = Aws::String>
69 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
70 template<
typename KeyT = Aws::String>
90 template<
typename ExpectedBucketOwnerT = Aws::String>
91 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
92 template<
typename ExpectedBucketOwnerT = Aws::String>
100 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
101 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
102 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
106 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
112 bool m_bucketHasBeenSet =
false;
115 bool m_keyHasBeenSet =
false;
118 bool m_requestPayerHasBeenSet =
false;
121 bool m_expectedBucketOwnerHasBeenSet =
false;
124 bool m_customizedAccessLogTagHasBeenSet =
false;
GetObjectTorrentRequest & WithKey(KeyT &&value)
RequestPayer GetRequestPayer() const
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetObjectTorrentRequest & WithBucket(BucketT &&value)
const Aws::String & GetKey() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API GetObjectTorrentRequest()=default
const Aws::String & GetBucket() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetObjectTorrentRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
GetObjectTorrentRequest & WithRequestPayer(RequestPayer value)
GetObjectTorrentRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
virtual const char * GetServiceRequestName() const override
bool KeyHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
void SetKey(KeyT &&value)
bool BucketHasBeenSet() const
void SetRequestPayer(RequestPayer value)
void SetBucket(BucketT &&value)
AWS_S3_API Aws::String SerializePayload() const override
bool ExpectedBucketOwnerHasBeenSet() const
GetObjectTorrentRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool RequestPayerHasBeenSet() 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_string< char, std::char_traits< char >, Aws::Allocator< char > > String