/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

An optional structure that contains the Amazon S3 bucket configuration that * the generated snapshots are stored in. If you don't provide this information, * generated snapshots are stored in the default Amazon QuickSight * bucket.

See Also:

AWS * API Reference

*/ class S3BucketConfiguration { public: AWS_QUICKSIGHT_API S3BucketConfiguration(); AWS_QUICKSIGHT_API S3BucketConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API S3BucketConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline S3BucketConfiguration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline S3BucketConfiguration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The name of an existing Amazon S3 bucket where the generated snapshot * artifacts are sent.

*/ inline S3BucketConfiguration& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; } /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; } /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; } /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); } /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); } /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline S3BucketConfiguration& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;} /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline S3BucketConfiguration& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;} /** *

The prefix of the Amazon S3 bucket that the generated snapshots are stored * in.

*/ inline S3BucketConfiguration& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;} /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline const Aws::String& GetBucketRegion() const{ return m_bucketRegion; } /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline bool BucketRegionHasBeenSet() const { return m_bucketRegionHasBeenSet; } /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline void SetBucketRegion(const Aws::String& value) { m_bucketRegionHasBeenSet = true; m_bucketRegion = value; } /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline void SetBucketRegion(Aws::String&& value) { m_bucketRegionHasBeenSet = true; m_bucketRegion = std::move(value); } /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline void SetBucketRegion(const char* value) { m_bucketRegionHasBeenSet = true; m_bucketRegion.assign(value); } /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline S3BucketConfiguration& WithBucketRegion(const Aws::String& value) { SetBucketRegion(value); return *this;} /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline S3BucketConfiguration& WithBucketRegion(Aws::String&& value) { SetBucketRegion(std::move(value)); return *this;} /** *

The region that the Amazon S3 bucket is located in. The bucket must be * located in the same region that the StartDashboardSnapshotJob API * call is made.

*/ inline S3BucketConfiguration& WithBucketRegion(const char* value) { SetBucketRegion(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_bucketPrefix; bool m_bucketPrefixHasBeenSet = false; Aws::String m_bucketRegion; bool m_bucketRegionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws