/** * 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 data stored in Amazon S3 used by the Amazon Braket * job.

See Also:

AWS * API Reference

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

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline S3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline S3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

Depending on the value specified for the S3DataType, identifies * either a key name prefix or a manifest that locates the S3 data source.

*/ inline S3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws