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

Information about the source of the data used by the Amazon Braket * job.

See Also:

AWS * API Reference

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

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline const S3DataSource& GetS3DataSource() const{ return m_s3DataSource; } /** *

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; } /** *

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline void SetS3DataSource(const S3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; } /** *

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline void SetS3DataSource(S3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); } /** *

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline DataSource& WithS3DataSource(const S3DataSource& value) { SetS3DataSource(value); return *this;} /** *

Information about the data stored in Amazon S3 used by the Amazon Braket * job.

*/ inline DataSource& WithS3DataSource(S3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;} private: S3DataSource m_s3DataSource; bool m_s3DataSourceHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws