/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The source of your data, an Identity and Access Management (IAM) role that
* allows Amazon Forecast to access the data and, optionally, an Key Management
* Service (KMS) key.See Also:
AWS
* API Reference
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline const S3Config& GetS3Config() const{ return m_s3Config; } /** *The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; } /** *The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; } /** *The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); } /** *The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline DataSource& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;} /** *The path to the data stored in an Amazon Simple Storage Service (Amazon S3) * bucket along with the credentials to access the data.
*/ inline DataSource& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;} private: S3Config m_s3Config; bool m_s3ConfigHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws