7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/S3Request.h>
12#include <aws/s3/S3_EXPORTS.h>
61 template <
typename BucketT = Aws::String>
63 m_bucketHasBeenSet =
true;
64 m_bucket = std::forward<BucketT>(value);
66 template <
typename BucketT = Aws::String>
79 template <
typename KeyT = Aws::String>
81 m_keyHasBeenSet =
true;
82 m_key = std::forward<KeyT>(value);
84 template <
typename KeyT = Aws::String>
86 SetKey(std::forward<KeyT>(value));
98 template <
typename RenameSourceT = Aws::String>
100 m_renameSourceHasBeenSet =
true;
101 m_renameSource = std::forward<RenameSourceT>(value);
103 template <
typename RenameSourceT = Aws::String>
120 template <
typename DestinationIfMatchT = Aws::String>
122 m_destinationIfMatchHasBeenSet =
true;
123 m_destinationIfMatch = std::forward<DestinationIfMatchT>(value);
125 template <
typename DestinationIfMatchT = Aws::String>
144 template <
typename DestinationIfNoneMatchT = Aws::String>
146 m_destinationIfNoneMatchHasBeenSet =
true;
147 m_destinationIfNoneMatch = std::forward<DestinationIfNoneMatchT>(value);
149 template <
typename DestinationIfNoneMatchT = Aws::String>
163 template <
typename DestinationIfModifiedSinceT = Aws::Utils::DateTime>
165 m_destinationIfModifiedSinceHasBeenSet =
true;
166 m_destinationIfModifiedSince = std::forward<DestinationIfModifiedSinceT>(value);
168 template <
typename DestinationIfModifiedSinceT = Aws::Utils::DateTime>
181 template <
typename DestinationIfUnmodifiedSinceT = Aws::Utils::DateTime>
183 m_destinationIfUnmodifiedSinceHasBeenSet =
true;
184 m_destinationIfUnmodifiedSince = std::forward<DestinationIfUnmodifiedSinceT>(value);
186 template <
typename DestinationIfUnmodifiedSinceT = Aws::Utils::DateTime>
200 template <
typename SourceIfMatchT = Aws::String>
202 m_sourceIfMatchHasBeenSet =
true;
203 m_sourceIfMatch = std::forward<SourceIfMatchT>(value);
205 template <
typename SourceIfMatchT = Aws::String>
221 template <
typename SourceIfNoneMatchT = Aws::String>
223 m_sourceIfNoneMatchHasBeenSet =
true;
224 m_sourceIfNoneMatch = std::forward<SourceIfNoneMatchT>(value);
226 template <
typename SourceIfNoneMatchT = Aws::String>
240 template <
typename SourceIfModifiedSinceT = Aws::Utils::DateTime>
242 m_sourceIfModifiedSinceHasBeenSet =
true;
243 m_sourceIfModifiedSince = std::forward<SourceIfModifiedSinceT>(value);
245 template <
typename SourceIfModifiedSinceT = Aws::Utils::DateTime>
259 template <
typename SourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
261 m_sourceIfUnmodifiedSinceHasBeenSet =
true;
262 m_sourceIfUnmodifiedSince = std::forward<SourceIfUnmodifiedSinceT>(value);
264 template <
typename SourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
285 template <
typename ClientTokenT = Aws::String>
287 m_clientTokenHasBeenSet =
true;
288 m_clientToken = std::forward<ClientTokenT>(value);
290 template <
typename ClientTokenT = Aws::String>
301 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
303 m_customizedAccessLogTagHasBeenSet =
true;
304 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
306 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
311 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
313 m_customizedAccessLogTagHasBeenSet =
true;
314 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
320 bool m_bucketHasBeenSet =
false;
323 bool m_keyHasBeenSet =
false;
326 bool m_renameSourceHasBeenSet =
false;
329 bool m_destinationIfMatchHasBeenSet =
false;
332 bool m_destinationIfNoneMatchHasBeenSet =
false;
335 bool m_destinationIfModifiedSinceHasBeenSet =
false;
338 bool m_destinationIfUnmodifiedSinceHasBeenSet =
false;
341 bool m_sourceIfMatchHasBeenSet =
false;
344 bool m_sourceIfNoneMatchHasBeenSet =
false;
347 bool m_sourceIfModifiedSinceHasBeenSet =
false;
350 bool m_sourceIfUnmodifiedSinceHasBeenSet =
false;
353 bool m_clientTokenHasBeenSet =
true;
356 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3_API Aws::String SerializePayload() const override
void SetKey(KeyT &&value)
virtual const char * GetServiceRequestName() const override
RenameObjectRequest & WithRenameSource(RenameSourceT &&value)
RenameObjectRequest & WithClientToken(ClientTokenT &&value)
AWS_S3_API RenameObjectRequest()=default
const Aws::String & GetSourceIfMatch() const
RenameObjectRequest & WithBucket(BucketT &&value)
void SetDestinationIfUnmodifiedSince(DestinationIfUnmodifiedSinceT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::String & GetClientToken() const
RenameObjectRequest & WithDestinationIfMatch(DestinationIfMatchT &&value)
RenameObjectRequest & WithDestinationIfModifiedSince(DestinationIfModifiedSinceT &&value)
RenameObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetBucket(BucketT &&value)
const Aws::Utils::DateTime & GetDestinationIfUnmodifiedSince() const
RenameObjectRequest & WithSourceIfNoneMatch(SourceIfNoneMatchT &&value)
RenameObjectRequest & WithKey(KeyT &&value)
const Aws::String & GetKey() const
void SetRenameSource(RenameSourceT &&value)
const Aws::Utils::DateTime & GetDestinationIfModifiedSince() const
RenameObjectRequest & WithSourceIfMatch(SourceIfMatchT &&value)
void SetDestinationIfNoneMatch(DestinationIfNoneMatchT &&value)
bool SourceIfUnmodifiedSinceHasBeenSet() const
const Aws::Utils::DateTime & GetSourceIfUnmodifiedSince() const
bool ClientTokenHasBeenSet() const
RenameObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
bool SourceIfMatchHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetClientToken(ClientTokenT &&value)
const Aws::Utils::DateTime & GetSourceIfModifiedSince() const
RenameObjectRequest & WithSourceIfModifiedSince(SourceIfModifiedSinceT &&value)
bool BucketHasBeenSet() const
bool SourceIfNoneMatchHasBeenSet() const
void SetSourceIfMatch(SourceIfMatchT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
RenameObjectRequest & WithDestinationIfNoneMatch(DestinationIfNoneMatchT &&value)
const Aws::String & GetSourceIfNoneMatch() const
bool KeyHasBeenSet() const
void SetDestinationIfModifiedSince(DestinationIfModifiedSinceT &&value)
bool RenameSourceHasBeenSet() const
RenameObjectRequest & WithSourceIfUnmodifiedSince(SourceIfUnmodifiedSinceT &&value)
void SetDestinationIfMatch(DestinationIfMatchT &&value)
bool DestinationIfUnmodifiedSinceHasBeenSet() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool DestinationIfModifiedSinceHasBeenSet() const
bool DestinationIfMatchHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetDestinationIfNoneMatch() const
const Aws::String & GetDestinationIfMatch() const
void SetSourceIfNoneMatch(SourceIfNoneMatchT &&value)
bool SourceIfModifiedSinceHasBeenSet() const
bool DestinationIfNoneMatchHasBeenSet() const
void SetSourceIfUnmodifiedSince(SourceIfUnmodifiedSinceT &&value)
const Aws::String & GetBucket() const
RenameObjectRequest & WithDestinationIfUnmodifiedSince(DestinationIfUnmodifiedSinceT &&value)
void SetSourceIfModifiedSince(SourceIfModifiedSinceT &&value)
const Aws::String & GetRenameSource() const
Aws::Endpoint::EndpointParameters EndpointParameters
static Aws::Utils::UUID PseudoRandomUUID()
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