/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the destination Amazon Simple Storage Service (Amazon S3) bucket
* name and key prefix for a recommendations export job. You must create the
* destination Amazon S3 bucket for your recommendations export before you create
* the export job. Compute Optimizer does not create the S3 bucket for you. After
* you create the S3 bucket, ensure that it has the required permission policy to
* allow Compute Optimizer to write the export file to it. If you plan to specify
* an object prefix when you create the export job, you must include the object
* prefix in the policy that you add to the S3 bucket. For more information, see Amazon
* S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User
* Guide.See Also:
AWS
* API Reference
The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline S3DestinationConfig& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline S3DestinationConfig& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket to use as the destination for an export * job.
*/ inline S3DestinationConfig& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket prefix for an export job.
*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *The Amazon S3 bucket prefix for an export job.
*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *The Amazon S3 bucket prefix for an export job.
*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *The Amazon S3 bucket prefix for an export job.
*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *The Amazon S3 bucket prefix for an export job.
*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *The Amazon S3 bucket prefix for an export job.
*/ inline S3DestinationConfig& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *The Amazon S3 bucket prefix for an export job.
*/ inline S3DestinationConfig& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *The Amazon S3 bucket prefix for an export job.
*/ inline S3DestinationConfig& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPrefix; bool m_keyPrefixHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws