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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
65 template<
typename BucketT = Aws::String>
66 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
67 template<
typename BucketT = Aws::String>
77 template<
typename KeyT = Aws::String>
78 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
79 template<
typename KeyT = Aws::String>
90 template<
typename RenameSourceT = Aws::String>
91 void SetRenameSource(RenameSourceT&& value) { m_renameSourceHasBeenSet =
true; m_renameSource = std::forward<RenameSourceT>(value); }
92 template<
typename RenameSourceT = Aws::String>
106 template<
typename DestinationIfMatchT = Aws::String>
107 void SetDestinationIfMatch(DestinationIfMatchT&& value) { m_destinationIfMatchHasBeenSet =
true; m_destinationIfMatch = std::forward<DestinationIfMatchT>(value); }
108 template<
typename DestinationIfMatchT = Aws::String>
124 template<
typename DestinationIfNoneMatchT = Aws::String>
125 void SetDestinationIfNoneMatch(DestinationIfNoneMatchT&& value) { m_destinationIfNoneMatchHasBeenSet =
true; m_destinationIfNoneMatch = std::forward<DestinationIfNoneMatchT>(value); }
126 template<
typename DestinationIfNoneMatchT = Aws::String>
137 template<
typename DestinationIfModifiedSinceT = Aws::Utils::DateTime>
138 void SetDestinationIfModifiedSince(DestinationIfModifiedSinceT&& value) { m_destinationIfModifiedSinceHasBeenSet =
true; m_destinationIfModifiedSince = std::forward<DestinationIfModifiedSinceT>(value); }
139 template<
typename DestinationIfModifiedSinceT = Aws::Utils::DateTime>
149 template<
typename DestinationIfUnmodifiedSinceT = Aws::Utils::DateTime>
150 void SetDestinationIfUnmodifiedSince(DestinationIfUnmodifiedSinceT&& value) { m_destinationIfUnmodifiedSinceHasBeenSet =
true; m_destinationIfUnmodifiedSince = std::forward<DestinationIfUnmodifiedSinceT>(value); }
151 template<
typename DestinationIfUnmodifiedSinceT = Aws::Utils::DateTime>
162 template<
typename SourceIfMatchT = Aws::String>
163 void SetSourceIfMatch(SourceIfMatchT&& value) { m_sourceIfMatchHasBeenSet =
true; m_sourceIfMatch = std::forward<SourceIfMatchT>(value); }
164 template<
typename SourceIfMatchT = Aws::String>
177 template<
typename SourceIfNoneMatchT = Aws::String>
178 void SetSourceIfNoneMatch(SourceIfNoneMatchT&& value) { m_sourceIfNoneMatchHasBeenSet =
true; m_sourceIfNoneMatch = std::forward<SourceIfNoneMatchT>(value); }
179 template<
typename SourceIfNoneMatchT = Aws::String>
190 template<
typename SourceIfModifiedSinceT = Aws::Utils::DateTime>
191 void SetSourceIfModifiedSince(SourceIfModifiedSinceT&& value) { m_sourceIfModifiedSinceHasBeenSet =
true; m_sourceIfModifiedSince = std::forward<SourceIfModifiedSinceT>(value); }
192 template<
typename SourceIfModifiedSinceT = Aws::Utils::DateTime>
203 template<
typename SourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
204 void SetSourceIfUnmodifiedSince(SourceIfUnmodifiedSinceT&& value) { m_sourceIfUnmodifiedSinceHasBeenSet =
true; m_sourceIfUnmodifiedSince = std::forward<SourceIfUnmodifiedSinceT>(value); }
205 template<
typename SourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
223 template<
typename ClientTokenT = Aws::String>
224 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
225 template<
typename ClientTokenT = Aws::String>
233 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
234 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
235 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
237 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
239 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
245 bool m_bucketHasBeenSet =
false;
248 bool m_keyHasBeenSet =
false;
251 bool m_renameSourceHasBeenSet =
false;
254 bool m_destinationIfMatchHasBeenSet =
false;
257 bool m_destinationIfNoneMatchHasBeenSet =
false;
260 bool m_destinationIfModifiedSinceHasBeenSet =
false;
263 bool m_destinationIfUnmodifiedSinceHasBeenSet =
false;
266 bool m_sourceIfMatchHasBeenSet =
false;
269 bool m_sourceIfNoneMatchHasBeenSet =
false;
272 bool m_sourceIfModifiedSinceHasBeenSet =
false;
275 bool m_sourceIfUnmodifiedSinceHasBeenSet =
false;
278 bool m_clientTokenHasBeenSet =
true;
281 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