/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Braket { namespace Model { /** *

A list of parameters that specify the input channels, type of input data, and * where it is located.

See Also:

AWS * API Reference

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

A named input source that an Amazon Braket job can consume.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

A named input source that an Amazon Braket job can consume.

*/ inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *

A named input source that an Amazon Braket job can consume.

*/ inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } /** *

A named input source that an Amazon Braket job can consume.

*/ inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } /** *

A named input source that an Amazon Braket job can consume.

*/ inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } /** *

A named input source that an Amazon Braket job can consume.

*/ inline InputFileConfig& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

A named input source that an Amazon Braket job can consume.

*/ inline InputFileConfig& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

A named input source that an Amazon Braket job can consume.

*/ inline InputFileConfig& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The MIME type of the data.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

The MIME type of the data.

*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *

The MIME type of the data.

*/ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *

The MIME type of the data.

*/ inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *

The MIME type of the data.

*/ inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); } /** *

The MIME type of the data.

*/ inline InputFileConfig& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

The MIME type of the data.

*/ inline InputFileConfig& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

The MIME type of the data.

*/ inline InputFileConfig& WithContentType(const char* value) { SetContentType(value); return *this;} /** *

The location of the channel data.

*/ inline const DataSource& GetDataSource() const{ return m_dataSource; } /** *

The location of the channel data.

*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *

The location of the channel data.

*/ inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *

The location of the channel data.

*/ inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *

The location of the channel data.

*/ inline InputFileConfig& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} /** *

The location of the channel data.

*/ inline InputFileConfig& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} private: Aws::String m_channelName; bool m_channelNameHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; DataSource m_dataSource; bool m_dataSourceHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws