AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputFileConfig.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/braket/model/DataSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Braket
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BRAKET_API InputFileConfig() = default;
39 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetChannelName() const { return m_channelName; }
47 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
48 template<typename ChannelNameT = Aws::String>
49 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
50 template<typename ChannelNameT = Aws::String>
51 InputFileConfig& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetContentType() const { return m_contentType; }
59 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
60 template<typename ContentTypeT = Aws::String>
61 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
62 template<typename ContentTypeT = Aws::String>
63 InputFileConfig& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
65
67
70 inline const DataSource& GetDataSource() const { return m_dataSource; }
71 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
72 template<typename DataSourceT = DataSource>
73 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
74 template<typename DataSourceT = DataSource>
75 InputFileConfig& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
77 private:
78
79 Aws::String m_channelName;
80 bool m_channelNameHasBeenSet = false;
81
82 Aws::String m_contentType;
83 bool m_contentTypeHasBeenSet = false;
84
85 DataSource m_dataSource;
86 bool m_dataSourceHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Braket
91} // namespace Aws
InputFileConfig & WithChannelName(ChannelNameT &&value)
void SetContentType(ContentTypeT &&value)
const Aws::String & GetContentType() const
void SetChannelName(ChannelNameT &&value)
AWS_BRAKET_API InputFileConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputFileConfig & WithContentType(ContentTypeT &&value)
const Aws::String & GetChannelName() const
InputFileConfig & WithDataSource(DataSourceT &&value)
void SetDataSource(DataSourceT &&value)
AWS_BRAKET_API InputFileConfig()=default
const DataSource & GetDataSource() const
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BRAKET_API InputFileConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue