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/RequestPayer.h>
85 template <
typename BucketT = Aws::String>
87 m_bucketHasBeenSet =
true;
88 m_bucket = std::forward<BucketT>(value);
90 template <
typename BucketT = Aws::String>
103 template <
typename KeyT = Aws::String>
105 m_keyHasBeenSet =
true;
106 m_key = std::forward<KeyT>(value);
108 template <
typename KeyT = Aws::String>
110 SetKey(std::forward<KeyT>(value));
125 template <
typename MFAT = Aws::String>
127 m_mFAHasBeenSet =
true;
128 m_mFA = std::forward<MFAT>(value);
130 template <
typename MFAT = Aws::String>
132 SetMFA(std::forward<MFAT>(value));
145 template <
typename VersionIdT = Aws::String>
147 m_versionIdHasBeenSet =
true;
148 m_versionId = std::forward<VersionIdT>(value);
150 template <
typename VersionIdT = Aws::String>
162 m_requestPayerHasBeenSet =
true;
163 m_requestPayer = value;
181 m_bypassGovernanceRetentionHasBeenSet =
true;
182 m_bypassGovernanceRetention = value;
198 template <
typename ExpectedBucketOwnerT = Aws::String>
200 m_expectedBucketOwnerHasBeenSet =
true;
201 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
203 template <
typename ExpectedBucketOwnerT = Aws::String>
222 template <
typename IfMatchT = Aws::String>
224 m_ifMatchHasBeenSet =
true;
225 m_ifMatch = std::forward<IfMatchT>(value);
227 template <
typename IfMatchT = Aws::String>
245 template <
typename IfMatchLastModifiedTimeT = Aws::Utils::DateTime>
247 m_ifMatchLastModifiedTimeHasBeenSet =
true;
248 m_ifMatchLastModifiedTime = std::forward<IfMatchLastModifiedTimeT>(value);
250 template <
typename IfMatchLastModifiedTimeT = Aws::Utils::DateTime>
272 m_ifMatchSizeHasBeenSet =
true;
273 m_ifMatchSize = value;
285 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
287 m_customizedAccessLogTagHasBeenSet =
true;
288 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
290 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
295 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
297 m_customizedAccessLogTagHasBeenSet =
true;
298 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
304 bool m_bucketHasBeenSet =
false;
307 bool m_keyHasBeenSet =
false;
310 bool m_mFAHasBeenSet =
false;
313 bool m_versionIdHasBeenSet =
false;
316 bool m_requestPayerHasBeenSet =
false;
318 bool m_bypassGovernanceRetention{
false};
319 bool m_bypassGovernanceRetentionHasBeenSet =
false;
322 bool m_expectedBucketOwnerHasBeenSet =
false;
325 bool m_ifMatchHasBeenSet =
false;
328 bool m_ifMatchLastModifiedTimeHasBeenSet =
false;
330 long long m_ifMatchSize{0};
331 bool m_ifMatchSizeHasBeenSet =
false;
334 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