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>
73 inline void SetTargetResource(
const char* value) { m_targetResourceHasBeenSet =
true; m_targetResource.assign(value); }
177 inline void SetRedirectLocation(
const char* value) { m_redirectLocationHasBeenSet =
true; m_redirectLocation.assign(value); }
190 inline void SetRequesterPays(
bool value) { m_requesterPaysHasBeenSet =
true; m_requesterPays = value; }
229 inline void SetSSEAwsKmsKeyId(
const char* value) { m_sSEAwsKmsKeyIdHasBeenSet =
true; m_sSEAwsKmsKeyId.assign(value); }
246 inline void SetTargetKeyPrefix(
const char* value) { m_targetKeyPrefixHasBeenSet =
true; m_targetKeyPrefix.assign(value); }
306 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
327 bool m_targetResourceHasBeenSet =
false;
330 bool m_cannedAccessControlListHasBeenSet =
false;
333 bool m_accessControlGrantsHasBeenSet =
false;
336 bool m_metadataDirectiveHasBeenSet =
false;
339 bool m_modifiedSinceConstraintHasBeenSet =
false;
342 bool m_newObjectMetadataHasBeenSet =
false;
345 bool m_newObjectTaggingHasBeenSet =
false;
348 bool m_redirectLocationHasBeenSet =
false;
350 bool m_requesterPays;
351 bool m_requesterPaysHasBeenSet =
false;
354 bool m_storageClassHasBeenSet =
false;
357 bool m_unModifiedSinceConstraintHasBeenSet =
false;
360 bool m_sSEAwsKmsKeyIdHasBeenSet =
false;
363 bool m_targetKeyPrefixHasBeenSet =
false;
366 bool m_objectLockLegalHoldStatusHasBeenSet =
false;
369 bool m_objectLockModeHasBeenSet =
false;
372 bool m_objectLockRetainUntilDateHasBeenSet =
false;
374 bool m_bucketKeyEnabled;
375 bool m_bucketKeyEnabledHasBeenSet =
false;
378 bool m_checksumAlgorithmHasBeenSet =
false;
S3CopyObjectOperation & WithSSEAwsKmsKeyId(const Aws::String &value)
S3CopyObjectOperation & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
S3CopyObjectOperation & AddAccessControlGrants(const S3Grant &value)
bool BucketKeyEnabledHasBeenSet() const
void SetSSEAwsKmsKeyId(const Aws::String &value)
bool ModifiedSinceConstraintHasBeenSet() const
void SetTargetResource(const Aws::String &value)
void SetModifiedSinceConstraint(Aws::Utils::DateTime &&value)
bool ObjectLockModeHasBeenSet() const
void SetSSEAwsKmsKeyId(const char *value)
const Aws::Vector< S3Tag > & GetNewObjectTagging() const
S3CopyObjectOperation & WithObjectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus &&value)
S3CopyObjectOperation & WithCannedAccessControlList(S3CannedAccessControlList &&value)
void SetObjectLockMode(const S3ObjectLockMode &value)
AWS_S3CONTROL_API S3CopyObjectOperation()
S3CopyObjectOperation & WithCannedAccessControlList(const S3CannedAccessControlList &value)
bool UnModifiedSinceConstraintHasBeenSet() const
void SetUnModifiedSinceConstraint(const Aws::Utils::DateTime &value)
S3CopyObjectOperation & WithMetadataDirective(const S3MetadataDirective &value)
bool TargetKeyPrefixHasBeenSet() const
const Aws::Vector< S3Grant > & GetAccessControlGrants() const
S3CopyObjectOperation & WithRedirectLocation(const char *value)
S3CopyObjectOperation & WithUnModifiedSinceConstraint(Aws::Utils::DateTime &&value)
void SetCannedAccessControlList(S3CannedAccessControlList &&value)
S3CopyObjectOperation & WithRequesterPays(bool value)
const S3ObjectMetadata & GetNewObjectMetadata() const
S3CopyObjectOperation & WithObjectLockLegalHoldStatus(const S3ObjectLockLegalHoldStatus &value)
const Aws::String & GetTargetResource() const
AWS_S3CONTROL_API S3CopyObjectOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
S3CopyObjectOperation & WithTargetKeyPrefix(const char *value)
void SetChecksumAlgorithm(S3ChecksumAlgorithm &&value)
S3CopyObjectOperation & WithObjectLockMode(S3ObjectLockMode &&value)
S3CopyObjectOperation & WithBucketKeyEnabled(bool value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetObjectLockMode(S3ObjectLockMode &&value)
bool AccessControlGrantsHasBeenSet() const
void SetObjectLockLegalHoldStatus(const S3ObjectLockLegalHoldStatus &value)
S3CopyObjectOperation & WithMetadataDirective(S3MetadataDirective &&value)
void SetTargetKeyPrefix(const char *value)
const S3CannedAccessControlList & GetCannedAccessControlList() const
bool RequesterPaysHasBeenSet() const
bool GetRequesterPays() const
bool NewObjectTaggingHasBeenSet() const
S3CopyObjectOperation & WithSSEAwsKmsKeyId(const char *value)
S3CopyObjectOperation & WithUnModifiedSinceConstraint(const Aws::Utils::DateTime &value)
bool NewObjectMetadataHasBeenSet() const
S3CopyObjectOperation & AddAccessControlGrants(S3Grant &&value)
bool StorageClassHasBeenSet() const
void SetSSEAwsKmsKeyId(Aws::String &&value)
void SetNewObjectMetadata(const S3ObjectMetadata &value)
S3CopyObjectOperation & WithStorageClass(const S3StorageClass &value)
S3CopyObjectOperation & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
S3CopyObjectOperation & AddNewObjectTagging(const S3Tag &value)
S3CopyObjectOperation & WithModifiedSinceConstraint(Aws::Utils::DateTime &&value)
void SetRedirectLocation(const char *value)
S3CopyObjectOperation & WithModifiedSinceConstraint(const Aws::Utils::DateTime &value)
void SetStorageClass(S3StorageClass &&value)
void SetMetadataDirective(S3MetadataDirective &&value)
S3CopyObjectOperation & WithTargetResource(Aws::String &&value)
void SetRequesterPays(bool value)
S3CopyObjectOperation & WithRedirectLocation(const Aws::String &value)
void SetAccessControlGrants(Aws::Vector< S3Grant > &&value)
bool GetBucketKeyEnabled() const
void SetBucketKeyEnabled(bool value)
const S3ObjectLockMode & GetObjectLockMode() const
S3CopyObjectOperation & WithChecksumAlgorithm(S3ChecksumAlgorithm &&value)
void SetRedirectLocation(Aws::String &&value)
void SetStorageClass(const S3StorageClass &value)
void SetChecksumAlgorithm(const S3ChecksumAlgorithm &value)
void SetAccessControlGrants(const Aws::Vector< S3Grant > &value)
void SetTargetKeyPrefix(const Aws::String &value)
const Aws::String & GetSSEAwsKmsKeyId() const
bool MetadataDirectiveHasBeenSet() const
void SetModifiedSinceConstraint(const Aws::Utils::DateTime &value)
void SetTargetResource(Aws::String &&value)
bool ObjectLockLegalHoldStatusHasBeenSet() const
void SetCannedAccessControlList(const S3CannedAccessControlList &value)
bool CannedAccessControlListHasBeenSet() const
void SetTargetResource(const char *value)
S3CopyObjectOperation & WithAccessControlGrants(Aws::Vector< S3Grant > &&value)
void SetRedirectLocation(const Aws::String &value)
S3CopyObjectOperation & WithAccessControlGrants(const Aws::Vector< S3Grant > &value)
S3CopyObjectOperation & WithRedirectLocation(Aws::String &&value)
const S3ChecksumAlgorithm & GetChecksumAlgorithm() const
const Aws::Utils::DateTime & GetModifiedSinceConstraint() const
S3CopyObjectOperation & WithNewObjectTagging(Aws::Vector< S3Tag > &&value)
const S3MetadataDirective & GetMetadataDirective() const
const Aws::String & GetTargetKeyPrefix() const
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
bool SSEAwsKmsKeyIdHasBeenSet() const
void SetObjectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus &&value)
AWS_S3CONTROL_API S3CopyObjectOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3CopyObjectOperation & WithSSEAwsKmsKeyId(Aws::String &&value)
S3CopyObjectOperation & WithTargetKeyPrefix(Aws::String &&value)
S3CopyObjectOperation & AddNewObjectTagging(S3Tag &&value)
S3CopyObjectOperation & WithTargetResource(const Aws::String &value)
void SetNewObjectTagging(const Aws::Vector< S3Tag > &value)
S3CopyObjectOperation & WithTargetResource(const char *value)
void SetMetadataDirective(const S3MetadataDirective &value)
S3CopyObjectOperation & WithTargetKeyPrefix(const Aws::String &value)
S3CopyObjectOperation & WithNewObjectMetadata(const S3ObjectMetadata &value)
S3CopyObjectOperation & WithNewObjectTagging(const Aws::Vector< S3Tag > &value)
const Aws::String & GetRedirectLocation() const
void SetTargetKeyPrefix(Aws::String &&value)
bool RedirectLocationHasBeenSet() const
const S3StorageClass & GetStorageClass() const
S3CopyObjectOperation & WithStorageClass(S3StorageClass &&value)
const Aws::Utils::DateTime & GetUnModifiedSinceConstraint() const
S3CopyObjectOperation & WithNewObjectMetadata(S3ObjectMetadata &&value)
bool ObjectLockRetainUntilDateHasBeenSet() const
void SetUnModifiedSinceConstraint(Aws::Utils::DateTime &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const S3ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
bool ChecksumAlgorithmHasBeenSet() const
void SetNewObjectTagging(Aws::Vector< S3Tag > &&value)
bool TargetResourceHasBeenSet() const
S3CopyObjectOperation & WithChecksumAlgorithm(const S3ChecksumAlgorithm &value)
S3CopyObjectOperation & WithObjectLockMode(const S3ObjectLockMode &value)
void SetNewObjectMetadata(S3ObjectMetadata &&value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
S3CannedAccessControlList
S3ObjectLockLegalHoldStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector