/** * 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 ComputeOptimizer { namespace Model { /** *

Describes the destination of the recommendations export and metadata * files.

See Also:

AWS * API Reference

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

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline const S3Destination& GetS3() const{ return m_s3; } /** *

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline void SetS3(const S3Destination& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline void SetS3(S3Destination&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline ExportDestination& WithS3(const S3Destination& value) { SetS3(value); return *this;} /** *

An object that describes the destination Amazon Simple Storage Service * (Amazon S3) bucket name and object keys of a recommendations export file, and * its associated metadata file.

*/ inline ExportDestination& WithS3(S3Destination&& value) { SetS3(std::move(value)); return *this;} private: S3Destination m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws