/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about where to publish the analytics
* results.See Also:
AWS
* API Reference
Specifies the file format used when exporting data to Amazon S3.
*/ inline const AnalyticsS3ExportFileFormat& GetFormat() const{ return m_format; } /** *Specifies the file format used when exporting data to Amazon S3.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *Specifies the file format used when exporting data to Amazon S3.
*/ inline void SetFormat(const AnalyticsS3ExportFileFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *Specifies the file format used when exporting data to Amazon S3.
*/ inline void SetFormat(AnalyticsS3ExportFileFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *Specifies the file format used when exporting data to Amazon S3.
*/ inline AnalyticsS3BucketDestination& WithFormat(const AnalyticsS3ExportFileFormat& value) { SetFormat(value); return *this;} /** *Specifies the file format used when exporting data to Amazon S3.
*/ inline AnalyticsS3BucketDestination& WithFormat(AnalyticsS3ExportFileFormat&& value) { SetFormat(std::move(value)); return *this;} /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; } /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; } /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; } /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); } /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); } /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline AnalyticsS3BucketDestination& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;} /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline AnalyticsS3BucketDestination& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;} /** *The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.
* Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes.
*/ inline AnalyticsS3BucketDestination& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;} /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline AnalyticsS3BucketDestination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline AnalyticsS3BucketDestination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the bucket to which data is exported.
*/ inline AnalyticsS3BucketDestination& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline AnalyticsS3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline AnalyticsS3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The prefix to use when exporting data. The prefix is prepended to all * results.
*/ inline AnalyticsS3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: AnalyticsS3ExportFileFormat m_format; bool m_formatHasBeenSet; Aws::String m_bucketAccountId; bool m_bucketAccountIdHasBeenSet; Aws::String m_bucket; bool m_bucketHasBeenSet; Aws::String m_prefix; bool m_prefixHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws