/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Source details for an Amazon S3 data access asset.See Also:
* AWS
* API Reference
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAssetSourceEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAssetSourceEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon S3 bucket used for hosting shared data in the Amazon S3 data * access.
*/ inline S3DataAccessAssetSourceEntry& WithBucket(const char* value) { SetBucket(value); return *this;} /** *Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline const Aws::VectorOrganizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline bool KeyPrefixesHasBeenSet() const { return m_keyPrefixesHasBeenSet; } /** *Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline void SetKeyPrefixes(const Aws::VectorOrganizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline void SetKeyPrefixes(Aws::VectorOrganizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline S3DataAccessAssetSourceEntry& WithKeyPrefixes(const Aws::VectorOrganizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline S3DataAccessAssetSourceEntry& WithKeyPrefixes(Aws::VectorOrganizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline S3DataAccessAssetSourceEntry& AddKeyPrefixes(const Aws::String& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; } /** *Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline S3DataAccessAssetSourceEntry& AddKeyPrefixes(Aws::String&& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(std::move(value)); return *this; } /** *Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
*/ inline S3DataAccessAssetSourceEntry& AddKeyPrefixes(const char* value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; } /** *The keys used to create the Amazon S3 data access.
*/ inline const Aws::VectorThe keys used to create the Amazon S3 data access.
*/ inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; } /** *The keys used to create the Amazon S3 data access.
*/ inline void SetKeys(const Aws::VectorThe keys used to create the Amazon S3 data access.
*/ inline void SetKeys(Aws::VectorThe keys used to create the Amazon S3 data access.
*/ inline S3DataAccessAssetSourceEntry& WithKeys(const Aws::VectorThe keys used to create the Amazon S3 data access.
*/ inline S3DataAccessAssetSourceEntry& WithKeys(Aws::VectorThe keys used to create the Amazon S3 data access.
*/ inline S3DataAccessAssetSourceEntry& AddKeys(const Aws::String& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; } /** *The keys used to create the Amazon S3 data access.
*/ inline S3DataAccessAssetSourceEntry& AddKeys(Aws::String&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; } /** *The keys used to create the Amazon S3 data access.
*/ inline S3DataAccessAssetSourceEntry& AddKeys(const char* value) { m_keysHasBeenSet = true; m_keys.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.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ inline S3DataAccessAssetSourceEntry& 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.
*/ inline S3DataAccessAssetSourceEntry& 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.
*/ inline S3DataAccessAssetSourceEntry& 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.
*/ inline S3DataAccessAssetSourceEntry& 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