/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon S3 data access that is the asset.See Also:
AWS
* API Reference
The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline S3DataAccessAsset& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline S3DataAccessAsset& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon S3 bucket hosting data to be shared in the S3 data access.
*/ inline S3DataAccessAsset& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline const Aws::VectorThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline bool KeyPrefixesHasBeenSet() const { return m_keyPrefixesHasBeenSet; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline void SetKeyPrefixes(const Aws::VectorThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline void SetKeyPrefixes(Aws::VectorThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAsset& WithKeyPrefixes(const Aws::VectorThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAsset& WithKeyPrefixes(Aws::VectorThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAsset& AddKeyPrefixes(const Aws::String& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAsset& AddKeyPrefixes(Aws::String&& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(std::move(value)); return *this; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAsset& AddKeyPrefixes(const char* value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; } /** *S3 keys made available using this asset.
*/ inline const Aws::VectorS3 keys made available using this asset.
*/ inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; } /** *S3 keys made available using this asset.
*/ inline void SetKeys(const Aws::VectorS3 keys made available using this asset.
*/ inline void SetKeys(Aws::VectorS3 keys made available using this asset.
*/ inline S3DataAccessAsset& WithKeys(const Aws::VectorS3 keys made available using this asset.
*/ inline S3DataAccessAsset& WithKeys(Aws::VectorS3 keys made available using this asset.
*/ inline S3DataAccessAsset& AddKeys(const Aws::String& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; } /** *S3 keys made available using this asset.
*/ inline S3DataAccessAsset& AddKeys(Aws::String&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; } /** *S3 keys made available using this asset.
*/ inline S3DataAccessAsset& AddKeys(const char* value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline const Aws::String& GetS3AccessPointAlias() const{ return m_s3AccessPointAlias; } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline bool S3AccessPointAliasHasBeenSet() const { return m_s3AccessPointAliasHasBeenSet; } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline void SetS3AccessPointAlias(const Aws::String& value) { m_s3AccessPointAliasHasBeenSet = true; m_s3AccessPointAlias = value; } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline void SetS3AccessPointAlias(Aws::String&& value) { m_s3AccessPointAliasHasBeenSet = true; m_s3AccessPointAlias = std::move(value); } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline void SetS3AccessPointAlias(const char* value) { m_s3AccessPointAliasHasBeenSet = true; m_s3AccessPointAlias.assign(value); } /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline S3DataAccessAsset& WithS3AccessPointAlias(const Aws::String& value) { SetS3AccessPointAlias(value); return *this;} /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline S3DataAccessAsset& WithS3AccessPointAlias(Aws::String&& value) { SetS3AccessPointAlias(std::move(value)); return *this;} /** *The automatically-generated bucket-style alias for your Amazon S3 Access * Point. Customers can access their entitled data using the S3 Access Point * alias.
*/ inline S3DataAccessAsset& WithS3AccessPointAlias(const char* value) { SetS3AccessPointAlias(value); return *this;} /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline const Aws::String& GetS3AccessPointArn() const{ return m_s3AccessPointArn; } /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline bool S3AccessPointArnHasBeenSet() const { return m_s3AccessPointArnHasBeenSet; } /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline void SetS3AccessPointArn(const Aws::String& value) { m_s3AccessPointArnHasBeenSet = true; m_s3AccessPointArn = value; } /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline void SetS3AccessPointArn(Aws::String&& value) { m_s3AccessPointArnHasBeenSet = true; m_s3AccessPointArn = std::move(value); } /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline void SetS3AccessPointArn(const char* value) { m_s3AccessPointArnHasBeenSet = true; m_s3AccessPointArn.assign(value); } /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline S3DataAccessAsset& WithS3AccessPointArn(const Aws::String& value) { SetS3AccessPointArn(value); return *this;} /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline S3DataAccessAsset& WithS3AccessPointArn(Aws::String&& value) { SetS3AccessPointArn(std::move(value)); return *this;} /** *The ARN for your Amazon S3 Access Point. Customers can also access their * entitled data using the S3 Access Point ARN.
*/ inline S3DataAccessAsset& WithS3AccessPointArn(const char* value) { SetS3AccessPointArn(value); return *this;} /** *List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline const Aws::VectorList of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline bool KmsKeysToGrantHasBeenSet() const { return m_kmsKeysToGrantHasBeenSet; } /** *List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline void SetKmsKeysToGrant(const Aws::VectorList of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline void SetKmsKeysToGrant(Aws::VectorList of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline S3DataAccessAsset& WithKmsKeysToGrant(const Aws::VectorList of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline S3DataAccessAsset& WithKmsKeysToGrant(Aws::VectorList of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline S3DataAccessAsset& AddKmsKeysToGrant(const KmsKeyToGrant& value) { m_kmsKeysToGrantHasBeenSet = true; m_kmsKeysToGrant.push_back(value); return *this; } /** *List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs * used to encrypt S3 objects being shared in this S3 Data Access asset. Providers * must include all AWS KMS keys used to encrypt these shared S3 objects.
*/ inline S3DataAccessAsset& AddKmsKeysToGrant(KmsKeyToGrant&& value) { m_kmsKeysToGrantHasBeenSet = true; m_kmsKeysToGrant.push_back(std::move(value)); return *this; } private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::Vector