AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
InputFileConfig.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/DataSource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Braket {
21namespace Model {
22
30 public:
31 AWS_BRAKET_API InputFileConfig() = default;
34 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetChannelName() const { return m_channelName; }
41 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
42 template <typename ChannelNameT = Aws::String>
43 void SetChannelName(ChannelNameT&& value) {
44 m_channelNameHasBeenSet = true;
45 m_channelName = std::forward<ChannelNameT>(value);
46 }
47 template <typename ChannelNameT = Aws::String>
48 InputFileConfig& WithChannelName(ChannelNameT&& value) {
49 SetChannelName(std::forward<ChannelNameT>(value));
50 return *this;
51 }
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) {
62 m_contentTypeHasBeenSet = true;
63 m_contentType = std::forward<ContentTypeT>(value);
64 }
65 template <typename ContentTypeT = Aws::String>
66 InputFileConfig& WithContentType(ContentTypeT&& value) {
67 SetContentType(std::forward<ContentTypeT>(value));
68 return *this;
69 }
71
73
76 inline const DataSource& GetDataSource() const { return m_dataSource; }
77 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
78 template <typename DataSourceT = DataSource>
79 void SetDataSource(DataSourceT&& value) {
80 m_dataSourceHasBeenSet = true;
81 m_dataSource = std::forward<DataSourceT>(value);
82 }
83 template <typename DataSourceT = DataSource>
84 InputFileConfig& WithDataSource(DataSourceT&& value) {
85 SetDataSource(std::forward<DataSourceT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_channelName;
91
92 Aws::String m_contentType;
93
94 DataSource m_dataSource;
95 bool m_channelNameHasBeenSet = false;
96 bool m_contentTypeHasBeenSet = false;
97 bool m_dataSourceHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Braket
102} // 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