7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3control/S3Control_EXPORTS.h>
11#include <aws/s3control/model/S3CannedAccessControlList.h>
12#include <aws/s3control/model/S3ChecksumAlgorithm.h>
13#include <aws/s3control/model/S3Grant.h>
14#include <aws/s3control/model/S3MetadataDirective.h>
15#include <aws/s3control/model/S3ObjectLockLegalHoldStatus.h>
16#include <aws/s3control/model/S3ObjectLockMode.h>
17#include <aws/s3control/model/S3ObjectMetadata.h>
18#include <aws/s3control/model/S3StorageClass.h>
19#include <aws/s3control/model/S3Tag.h>
71 template <
typename TargetResourceT = Aws::String>
73 m_targetResourceHasBeenSet =
true;
74 m_targetResource = std::forward<TargetResourceT>(value);
76 template <
typename TargetResourceT = Aws::String>
91 m_cannedAccessControlListHasBeenSet =
true;
92 m_cannedAccessControlList = value;
107 template <
typename AccessControlGrantsT = Aws::Vector<S3Grant>>
109 m_accessControlGrantsHasBeenSet =
true;
110 m_accessControlGrants = std::forward<AccessControlGrantsT>(value);
112 template <
typename AccessControlGrantsT = Aws::Vector<S3Grant>>
117 template <
typename AccessControlGrantsT = S3Grant>
119 m_accessControlGrantsHasBeenSet =
true;
120 m_accessControlGrants.emplace_back(std::forward<AccessControlGrantsT>(value));
132 m_metadataDirectiveHasBeenSet =
true;
133 m_metadataDirective = value;
147 template <
typename ModifiedSinceConstra
intT = Aws::Utils::DateTime>
149 m_modifiedSinceConstraintHasBeenSet =
true;
150 m_modifiedSinceConstraint = std::forward<ModifiedSinceConstraintT>(value);
152 template <
typename ModifiedSinceConstra
intT = Aws::Utils::DateTime>
167 template <
typename NewObjectMetadataT = S3ObjectMetadata>
169 m_newObjectMetadataHasBeenSet =
true;
170 m_newObjectMetadata = std::forward<NewObjectMetadataT>(value);
172 template <
typename NewObjectMetadataT = S3ObjectMetadata>
191 template <
typename NewObjectTaggingT = Aws::Vector<S3Tag>>
193 m_newObjectTaggingHasBeenSet =
true;
194 m_newObjectTagging = std::forward<NewObjectTaggingT>(value);
196 template <
typename NewObjectTaggingT = Aws::Vector<S3Tag>>
201 template <
typename NewObjectTaggingT = S3Tag>
203 m_newObjectTaggingHasBeenSet =
true;
204 m_newObjectTagging.emplace_back(std::forward<NewObjectTaggingT>(value));
219 template <
typename RedirectLocationT = Aws::String>
221 m_redirectLocationHasBeenSet =
true;
222 m_redirectLocation = std::forward<RedirectLocationT>(value);
224 template <
typename RedirectLocationT = Aws::String>
239 m_requesterPaysHasBeenSet =
true;
240 m_requesterPays = value;
257 m_storageClassHasBeenSet =
true;
258 m_storageClass = value;
272 template <
typename UnModifiedSinceConstra
intT = Aws::Utils::DateTime>
274 m_unModifiedSinceConstraintHasBeenSet =
true;
275 m_unModifiedSinceConstraint = std::forward<UnModifiedSinceConstraintT>(value);
277 template <
typename UnModifiedSinceConstra
intT = Aws::Utils::DateTime>
312 template <
typename SSEAwsKmsKeyIdT = Aws::String>
314 m_sSEAwsKmsKeyIdHasBeenSet =
true;
315 m_sSEAwsKmsKeyId = std::forward<SSEAwsKmsKeyIdT>(value);
317 template <
typename SSEAwsKmsKeyIdT = Aws::String>
333 template <
typename TargetKeyPrefixT = Aws::String>
335 m_targetKeyPrefixHasBeenSet =
true;
336 m_targetKeyPrefix = std::forward<TargetKeyPrefixT>(value);
338 template <
typename TargetKeyPrefixT = Aws::String>
354 m_objectLockLegalHoldStatusHasBeenSet =
true;
355 m_objectLockLegalHoldStatus = value;
372 m_objectLockModeHasBeenSet =
true;
373 m_objectLockMode = value;
389 template <
typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
391 m_objectLockRetainUntilDateHasBeenSet =
true;
392 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
394 template <
typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
419 m_bucketKeyEnabledHasBeenSet =
true;
420 m_bucketKeyEnabled = value;
438 m_checksumAlgorithmHasBeenSet =
true;
439 m_checksumAlgorithm = value;
457 S3ObjectMetadata m_newObjectMetadata;
463 bool m_requesterPays{
false};
479 bool m_bucketKeyEnabled{
false};
482 bool m_targetResourceHasBeenSet =
false;
483 bool m_cannedAccessControlListHasBeenSet =
false;
484 bool m_accessControlGrantsHasBeenSet =
false;
485 bool m_metadataDirectiveHasBeenSet =
false;
486 bool m_modifiedSinceConstraintHasBeenSet =
false;
487 bool m_newObjectMetadataHasBeenSet =
false;
488 bool m_newObjectTaggingHasBeenSet =
false;
489 bool m_redirectLocationHasBeenSet =
false;
490 bool m_requesterPaysHasBeenSet =
false;
491 bool m_storageClassHasBeenSet =
false;
492 bool m_unModifiedSinceConstraintHasBeenSet =
false;
493 bool m_sSEAwsKmsKeyIdHasBeenSet =
false;
494 bool m_targetKeyPrefixHasBeenSet =
false;
495 bool m_objectLockLegalHoldStatusHasBeenSet =
false;
496 bool m_objectLockModeHasBeenSet =
false;
497 bool m_objectLockRetainUntilDateHasBeenSet =
false;
498 bool m_bucketKeyEnabledHasBeenSet =
false;
499 bool m_checksumAlgorithmHasBeenSet =
false;
void SetTargetKeyPrefix(TargetKeyPrefixT &&value)
void SetObjectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus value)
S3ChecksumAlgorithm GetChecksumAlgorithm() const
bool BucketKeyEnabledHasBeenSet() const
S3CopyObjectOperation & WithStorageClass(S3StorageClass value)
bool ModifiedSinceConstraintHasBeenSet() const
bool ObjectLockModeHasBeenSet() const
const Aws::Vector< S3Tag > & GetNewObjectTagging() const
S3CopyObjectOperation & AddAccessControlGrants(AccessControlGrantsT &&value)
bool UnModifiedSinceConstraintHasBeenSet() const
void SetObjectLockMode(S3ObjectLockMode value)
S3MetadataDirective GetMetadataDirective() const
void SetTargetResource(TargetResourceT &&value)
S3CopyObjectOperation & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
bool TargetKeyPrefixHasBeenSet() const
S3CopyObjectOperation & WithNewObjectMetadata(NewObjectMetadataT &&value)
const Aws::Vector< S3Grant > & GetAccessControlGrants() const
S3CopyObjectOperation & WithUnModifiedSinceConstraint(UnModifiedSinceConstraintT &&value)
AWS_S3CONTROL_API S3CopyObjectOperation()=default
S3CopyObjectOperation & WithRequesterPays(bool value)
const S3ObjectMetadata & GetNewObjectMetadata() const
S3CopyObjectOperation & WithNewObjectTagging(NewObjectTaggingT &&value)
const Aws::String & GetTargetResource() const
AWS_S3CONTROL_API S3CopyObjectOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNewObjectMetadata(NewObjectMetadataT &&value)
S3CopyObjectOperation & WithSSEAwsKmsKeyId(SSEAwsKmsKeyIdT &&value)
S3CopyObjectOperation & WithBucketKeyEnabled(bool value)
S3CopyObjectOperation & WithAccessControlGrants(AccessControlGrantsT &&value)
bool AccessControlGrantsHasBeenSet() const
void SetAccessControlGrants(AccessControlGrantsT &&value)
void SetModifiedSinceConstraint(ModifiedSinceConstraintT &&value)
bool RequesterPaysHasBeenSet() const
S3CopyObjectOperation & WithModifiedSinceConstraint(ModifiedSinceConstraintT &&value)
bool GetRequesterPays() const
bool NewObjectTaggingHasBeenSet() const
void SetStorageClass(S3StorageClass value)
S3CopyObjectOperation & WithRedirectLocation(RedirectLocationT &&value)
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
bool NewObjectMetadataHasBeenSet() const
bool StorageClassHasBeenSet() const
S3CopyObjectOperation & WithCannedAccessControlList(S3CannedAccessControlList value)
void SetChecksumAlgorithm(S3ChecksumAlgorithm value)
void SetNewObjectTagging(NewObjectTaggingT &&value)
void SetRequesterPays(bool value)
bool GetBucketKeyEnabled() const
void SetBucketKeyEnabled(bool value)
S3StorageClass GetStorageClass() const
void SetMetadataDirective(S3MetadataDirective value)
void SetSSEAwsKmsKeyId(SSEAwsKmsKeyIdT &&value)
const Aws::String & GetSSEAwsKmsKeyId() const
bool MetadataDirectiveHasBeenSet() const
bool ObjectLockLegalHoldStatusHasBeenSet() const
void SetCannedAccessControlList(S3CannedAccessControlList value)
bool CannedAccessControlListHasBeenSet() const
S3CopyObjectOperation & WithObjectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus value)
const Aws::Utils::DateTime & GetModifiedSinceConstraint() const
const Aws::String & GetTargetKeyPrefix() const
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
S3CopyObjectOperation & WithTargetResource(TargetResourceT &&value)
S3CopyObjectOperation & WithObjectLockMode(S3ObjectLockMode value)
bool SSEAwsKmsKeyIdHasBeenSet() const
AWS_S3CONTROL_API S3CopyObjectOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3CopyObjectOperation & WithMetadataDirective(S3MetadataDirective value)
S3CopyObjectOperation & WithTargetKeyPrefix(TargetKeyPrefixT &&value)
const Aws::String & GetRedirectLocation() const
bool RedirectLocationHasBeenSet() const
S3ObjectLockMode GetObjectLockMode() const
const Aws::Utils::DateTime & GetUnModifiedSinceConstraint() const
S3CannedAccessControlList GetCannedAccessControlList() const
bool ObjectLockRetainUntilDateHasBeenSet() const
S3ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool ChecksumAlgorithmHasBeenSet() const
bool TargetResourceHasBeenSet() const
S3CopyObjectOperation & WithChecksumAlgorithm(S3ChecksumAlgorithm value)
S3CopyObjectOperation & AddNewObjectTagging(NewObjectTaggingT &&value)
void SetUnModifiedSinceConstraint(UnModifiedSinceConstraintT &&value)
void SetRedirectLocation(RedirectLocationT &&value)
S3CannedAccessControlList
S3ObjectLockLegalHoldStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector