7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dataexchange/model/KmsKeyToGrant.h>
50 template<
typename BucketT = Aws::String>
51 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
52 template<
typename BucketT = Aws::String>
62 template<
typename KeyPrefixesT = Aws::Vector<Aws::String>>
63 void SetKeyPrefixes(KeyPrefixesT&& value) { m_keyPrefixesHasBeenSet =
true; m_keyPrefixes = std::forward<KeyPrefixesT>(value); }
64 template<
typename KeyPrefixesT = Aws::Vector<Aws::String>>
66 template<
typename KeyPrefixesT = Aws::String>
76 template<
typename KeysT = Aws::Vector<Aws::String>>
77 void SetKeys(KeysT&& value) { m_keysHasBeenSet =
true; m_keys = std::forward<KeysT>(value); }
78 template<
typename KeysT = Aws::Vector<Aws::String>>
80 template<
typename KeysT = Aws::String>
91 template<
typename KmsKeysToGrantT = Aws::Vector<KmsKeyToGrant>>
92 void SetKmsKeysToGrant(KmsKeysToGrantT&& value) { m_kmsKeysToGrantHasBeenSet =
true; m_kmsKeysToGrant = std::forward<KmsKeysToGrantT>(value); }
93 template<
typename KmsKeysToGrantT = Aws::Vector<KmsKeyToGrant>>
95 template<
typename KmsKeysToGrantT = KmsKeyToGrant>
101 bool m_bucketHasBeenSet =
false;
104 bool m_keyPrefixesHasBeenSet =
false;
107 bool m_keysHasBeenSet =
false;
110 bool m_kmsKeysToGrantHasBeenSet =
false;
S3DataAccessAssetSourceEntry & WithKeyPrefixes(KeyPrefixesT &&value)
void SetKmsKeysToGrant(KmsKeysToGrantT &&value)
AWS_DATAEXCHANGE_API S3DataAccessAssetSourceEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API S3DataAccessAssetSourceEntry(Aws::Utils::Json::JsonView jsonValue)
S3DataAccessAssetSourceEntry & WithBucket(BucketT &&value)
bool KeysHasBeenSet() const
const Aws::Vector< Aws::String > & GetKeyPrefixes() const
S3DataAccessAssetSourceEntry & AddKeys(KeysT &&value)
void SetKeys(KeysT &&value)
void SetBucket(BucketT &&value)
AWS_DATAEXCHANGE_API S3DataAccessAssetSourceEntry()=default
const Aws::Vector< Aws::String > & GetKeys() const
bool BucketHasBeenSet() const
const Aws::Vector< KmsKeyToGrant > & GetKmsKeysToGrant() const
S3DataAccessAssetSourceEntry & AddKmsKeysToGrant(KmsKeysToGrantT &&value)
S3DataAccessAssetSourceEntry & WithKmsKeysToGrant(KmsKeysToGrantT &&value)
bool KeyPrefixesHasBeenSet() const
S3DataAccessAssetSourceEntry & WithKeys(KeysT &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool KmsKeysToGrantHasBeenSet() const
S3DataAccessAssetSourceEntry & AddKeyPrefixes(KeyPrefixesT &&value)
const Aws::String & GetBucket() const
void SetKeyPrefixes(KeyPrefixesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue