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 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
97 inline void SetS3AccessPointAlias(
const char* value) { m_s3AccessPointAliasHasBeenSet =
true; m_s3AccessPointAlias.assign(value); }
112 inline void SetS3AccessPointArn(
const char* value) { m_s3AccessPointArnHasBeenSet =
true; m_s3AccessPointArn.assign(value); }
136 bool m_bucketHasBeenSet =
false;
139 bool m_keyPrefixesHasBeenSet =
false;
142 bool m_keysHasBeenSet =
false;
145 bool m_s3AccessPointAliasHasBeenSet =
false;
148 bool m_s3AccessPointArnHasBeenSet =
false;
151 bool m_kmsKeysToGrantHasBeenSet =
false;
S3DataAccessAsset & AddKeyPrefixes(const Aws::String &value)
AWS_DATAEXCHANGE_API S3DataAccessAsset(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3AccessPointAlias() const
S3DataAccessAsset & WithKmsKeysToGrant(const Aws::Vector< KmsKeyToGrant > &value)
S3DataAccessAsset & WithKeys(const Aws::Vector< Aws::String > &value)
S3DataAccessAsset & WithS3AccessPointAlias(const char *value)
void SetS3AccessPointAlias(const char *value)
S3DataAccessAsset & WithBucket(const char *value)
AWS_DATAEXCHANGE_API S3DataAccessAsset()
S3DataAccessAsset & AddKeys(Aws::String &&value)
void SetS3AccessPointArn(const char *value)
S3DataAccessAsset & WithS3AccessPointArn(const Aws::String &value)
void SetBucket(const Aws::String &value)
bool S3AccessPointAliasHasBeenSet() const
void SetS3AccessPointArn(const Aws::String &value)
S3DataAccessAsset & AddKeys(const Aws::String &value)
const Aws::String & GetS3AccessPointArn() const
S3DataAccessAsset & AddKmsKeysToGrant(KmsKeyToGrant &&value)
void SetKmsKeysToGrant(Aws::Vector< KmsKeyToGrant > &&value)
S3DataAccessAsset & AddKeyPrefixes(Aws::String &&value)
S3DataAccessAsset & WithBucket(Aws::String &&value)
bool KeyPrefixesHasBeenSet() const
S3DataAccessAsset & AddKeyPrefixes(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
S3DataAccessAsset & AddKeys(const char *value)
const Aws::Vector< KmsKeyToGrant > & GetKmsKeysToGrant() const
const Aws::Vector< Aws::String > & GetKeyPrefixes() const
bool KeysHasBeenSet() const
void SetKmsKeysToGrant(const Aws::Vector< KmsKeyToGrant > &value)
S3DataAccessAsset & WithS3AccessPointArn(Aws::String &&value)
AWS_DATAEXCHANGE_API S3DataAccessAsset & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeys(const Aws::Vector< Aws::String > &value)
bool BucketHasBeenSet() const
void SetKeyPrefixes(Aws::Vector< Aws::String > &&value)
S3DataAccessAsset & WithKmsKeysToGrant(Aws::Vector< KmsKeyToGrant > &&value)
S3DataAccessAsset & WithKeyPrefixes(const Aws::Vector< Aws::String > &value)
S3DataAccessAsset & WithBucket(const Aws::String &value)
S3DataAccessAsset & WithS3AccessPointAlias(const Aws::String &value)
void SetS3AccessPointAlias(const Aws::String &value)
void SetKeyPrefixes(const Aws::Vector< Aws::String > &value)
void SetS3AccessPointAlias(Aws::String &&value)
bool KmsKeysToGrantHasBeenSet() const
const Aws::String & GetBucket() const
void SetBucket(Aws::String &&value)
S3DataAccessAsset & WithS3AccessPointArn(const char *value)
void SetKeys(Aws::Vector< Aws::String > &&value)
S3DataAccessAsset & AddKmsKeysToGrant(const KmsKeyToGrant &value)
S3DataAccessAsset & WithS3AccessPointAlias(Aws::String &&value)
S3DataAccessAsset & WithKeys(Aws::Vector< Aws::String > &&value)
bool S3AccessPointArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetKeys() const
void SetS3AccessPointArn(Aws::String &&value)
void SetBucket(const char *value)
S3DataAccessAsset & WithKeyPrefixes(Aws::Vector< Aws::String > &&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