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

The destination for an export job. Provide an S3 path, an Identity and Access * Management (IAM) role that allows Amazon Forecast to access the location, and an * Key Management Service (KMS) key (optional).

See Also:

AWS * API Reference

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

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline const S3Config& GetS3Config() const{ return m_s3Config; } /** *

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; } /** *

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; } /** *

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); } /** *

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline DataDestination& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;} /** *

The path to an Amazon Simple Storage Service (Amazon S3) bucket along with * the credentials to access the bucket.

*/ inline DataDestination& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;} private: S3Config m_s3Config; bool m_s3ConfigHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws