7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/S3CannedAccessControlList.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/s3control/model/S3MetadataDirective.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/s3control/model/S3ObjectMetadata.h>
14#include <aws/s3control/model/S3StorageClass.h>
15#include <aws/s3control/model/S3ObjectLockLegalHoldStatus.h>
16#include <aws/s3control/model/S3ObjectLockMode.h>
17#include <aws/s3control/model/S3ChecksumAlgorithm.h>
18#include <aws/s3control/model/S3Grant.h>
19#include <aws/s3control/model/S3Tag.h>
77 template<
typename TargetResourceT = Aws::String>
78 void SetTargetResource(TargetResourceT&& value) { m_targetResourceHasBeenSet =
true; m_targetResource = std::forward<TargetResourceT>(value); }
79 template<
typename TargetResourceT = Aws::String>
101 template<
typename AccessControlGrantsT = Aws::Vector<S3Grant>>
102 void SetAccessControlGrants(AccessControlGrantsT&& value) { m_accessControlGrantsHasBeenSet =
true; m_accessControlGrants = std::forward<AccessControlGrantsT>(value); }
103 template<
typename AccessControlGrantsT = Aws::Vector<S3Grant>>
105 template<
typename AccessControlGrantsT = S3Grant>
125 template<
typename ModifiedSinceConstra
intT = Aws::Utils::DateTime>
126 void SetModifiedSinceConstraint(ModifiedSinceConstraintT&& value) { m_modifiedSinceConstraintHasBeenSet =
true; m_modifiedSinceConstraint = std::forward<ModifiedSinceConstraintT>(value); }
127 template<
typename ModifiedSinceConstra
intT = Aws::Utils::DateTime>
139 template<
typename NewObjectMetadataT = S3ObjectMetadata>
140 void SetNewObjectMetadata(NewObjectMetadataT&& value) { m_newObjectMetadataHasBeenSet =
true; m_newObjectMetadata = std::forward<NewObjectMetadataT>(value); }
141 template<
typename NewObjectMetadataT = S3ObjectMetadata>
157 template<
typename NewObjectTaggingT = Aws::Vector<S3Tag>>
158 void SetNewObjectTagging(NewObjectTaggingT&& value) { m_newObjectTaggingHasBeenSet =
true; m_newObjectTagging = std::forward<NewObjectTaggingT>(value); }
159 template<
typename NewObjectTaggingT = Aws::Vector<S3Tag>>
161 template<
typename NewObjectTaggingT = S3Tag>
175 template<
typename RedirectLocationT = Aws::String>
176 void SetRedirectLocation(RedirectLocationT&& value) { m_redirectLocationHasBeenSet =
true; m_redirectLocation = std::forward<RedirectLocationT>(value); }
177 template<
typename RedirectLocationT = Aws::String>
188 inline void SetRequesterPays(
bool value) { m_requesterPaysHasBeenSet =
true; m_requesterPays = value; }
210 template<
typename UnModifiedSinceConstra
intT = Aws::Utils::DateTime>
211 void SetUnModifiedSinceConstraint(UnModifiedSinceConstraintT&& value) { m_unModifiedSinceConstraintHasBeenSet =
true; m_unModifiedSinceConstraint = std::forward<UnModifiedSinceConstraintT>(value); }
212 template<
typename UnModifiedSinceConstra
intT = Aws::Utils::DateTime>
244 template<
typename SSEAwsKmsKeyIdT = Aws::String>
245 void SetSSEAwsKmsKeyId(SSEAwsKmsKeyIdT&& value) { m_sSEAwsKmsKeyIdHasBeenSet =
true; m_sSEAwsKmsKeyId = std::forward<SSEAwsKmsKeyIdT>(value); }
246 template<
typename SSEAwsKmsKeyIdT = Aws::String>
259 template<
typename TargetKeyPrefixT = Aws::String>
260 void SetTargetKeyPrefix(TargetKeyPrefixT&& value) { m_targetKeyPrefixHasBeenSet =
true; m_targetKeyPrefix = std::forward<TargetKeyPrefixT>(value); }
261 template<
typename TargetKeyPrefixT = Aws::String>
297 template<
typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
298 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { m_objectLockRetainUntilDateHasBeenSet =
true; m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value); }
299 template<
typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
320 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
339 bool m_targetResourceHasBeenSet =
false;
342 bool m_cannedAccessControlListHasBeenSet =
false;
345 bool m_accessControlGrantsHasBeenSet =
false;
348 bool m_metadataDirectiveHasBeenSet =
false;
351 bool m_modifiedSinceConstraintHasBeenSet =
false;
353 S3ObjectMetadata m_newObjectMetadata;
354 bool m_newObjectMetadataHasBeenSet =
false;
357 bool m_newObjectTaggingHasBeenSet =
false;
360 bool m_redirectLocationHasBeenSet =
false;
362 bool m_requesterPays{
false};
363 bool m_requesterPaysHasBeenSet =
false;
366 bool m_storageClassHasBeenSet =
false;
369 bool m_unModifiedSinceConstraintHasBeenSet =
false;
372 bool m_sSEAwsKmsKeyIdHasBeenSet =
false;
375 bool m_targetKeyPrefixHasBeenSet =
false;
378 bool m_objectLockLegalHoldStatusHasBeenSet =
false;
381 bool m_objectLockModeHasBeenSet =
false;
384 bool m_objectLockRetainUntilDateHasBeenSet =
false;
386 bool m_bucketKeyEnabled{
false};
387 bool m_bucketKeyEnabledHasBeenSet =
false;
390 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