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/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
89 template<
typename BucketT = Aws::String>
90 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
91 template<
typename BucketT = Aws::String>
101 template<
typename KeyT = Aws::String>
102 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
103 template<
typename KeyT = Aws::String>
117 template<
typename MFAT = Aws::String>
118 void SetMFA(MFAT&& value) { m_mFAHasBeenSet =
true; m_mFA = std::forward<MFAT>(value); }
119 template<
typename MFAT = Aws::String>
131 template<
typename VersionIdT = Aws::String>
132 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
133 template<
typename VersionIdT = Aws::String>
166 template<
typename ExpectedBucketOwnerT = Aws::String>
167 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
168 template<
typename ExpectedBucketOwnerT = Aws::String>
184 template<
typename IfMatchT = Aws::String>
185 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
186 template<
typename IfMatchT = Aws::String>
201 template<
typename IfMatchLastModifiedTimeT = Aws::Utils::DateTime>
202 void SetIfMatchLastModifiedTime(IfMatchLastModifiedTimeT&& value) { m_ifMatchLastModifiedTimeHasBeenSet =
true; m_ifMatchLastModifiedTime = std::forward<IfMatchLastModifiedTimeT>(value); }
203 template<
typename IfMatchLastModifiedTimeT = Aws::Utils::DateTime>
221 inline void SetIfMatchSize(
long long value) { m_ifMatchSizeHasBeenSet =
true; m_ifMatchSize = value; }
229 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
230 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
231 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
233 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
235 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
241 bool m_bucketHasBeenSet =
false;
244 bool m_keyHasBeenSet =
false;
247 bool m_mFAHasBeenSet =
false;
250 bool m_versionIdHasBeenSet =
false;
253 bool m_requestPayerHasBeenSet =
false;
255 bool m_bypassGovernanceRetention{
false};
256 bool m_bypassGovernanceRetentionHasBeenSet =
false;
259 bool m_expectedBucketOwnerHasBeenSet =
false;
262 bool m_ifMatchHasBeenSet =
false;
265 bool m_ifMatchLastModifiedTimeHasBeenSet =
false;
267 long long m_ifMatchSize{0};
268 bool m_ifMatchSizeHasBeenSet =
false;
271 bool m_customizedAccessLogTagHasBeenSet =
false;
bool IfMatchLastModifiedTimeHasBeenSet() const
void SetVersionId(VersionIdT &&value)
const Aws::Utils::DateTime & GetIfMatchLastModifiedTime() const
DeleteObjectRequest & WithBucket(BucketT &&value)
AWS_S3_API DeleteObjectRequest()=default
DeleteObjectRequest & WithVersionId(VersionIdT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
DeleteObjectRequest & WithRequestPayer(RequestPayer value)
bool MFAHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
bool BypassGovernanceRetentionHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetBucket() const
bool CustomizedAccessLogTagHasBeenSet() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetMFA(MFAT &&value)
void SetBypassGovernanceRetention(bool value)
void SetIfMatchSize(long long value)
void SetIfMatch(IfMatchT &&value)
void SetIfMatchLastModifiedTime(IfMatchLastModifiedTimeT &&value)
DeleteObjectRequest & WithBypassGovernanceRetention(bool value)
RequestPayer GetRequestPayer() const
DeleteObjectRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool RequestPayerHasBeenSet() const
DeleteObjectRequest & WithIfMatchLastModifiedTime(IfMatchLastModifiedTimeT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetMFA() const
bool IfMatchHasBeenSet() const
const Aws::String & GetVersionId() const
DeleteObjectRequest & WithMFA(MFAT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetKey() const
void SetKey(KeyT &&value)
void SetBucket(BucketT &&value)
const Aws::String & GetIfMatch() const
bool VersionIdHasBeenSet() const
DeleteObjectRequest & WithKey(KeyT &&value)
DeleteObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
DeleteObjectRequest & WithIfMatch(IfMatchT &&value)
bool IfMatchSizeHasBeenSet() const
DeleteObjectRequest & WithIfMatchSize(long long value)
bool GetBypassGovernanceRetention() const
bool BucketHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3_API Aws::String SerializePayload() const override
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
bool KeyHasBeenSet() const
long long GetIfMatchSize() const
void SetRequestPayer(RequestPayer value)
DeleteObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() 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