AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
49 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
50 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
51 inline InputFileConfig& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
52 inline InputFileConfig& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
53 inline InputFileConfig& WithChannelName(const char* value) { SetChannelName(value); return *this;}
55
57
60 inline const Aws::String& GetContentType() const{ return m_contentType; }
61 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
62 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
63 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
64 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
65 inline InputFileConfig& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
66 inline InputFileConfig& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
67 inline InputFileConfig& WithContentType(const char* value) { SetContentType(value); return *this;}
69
71
74 inline const DataSource& GetDataSource() const{ return m_dataSource; }
75 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
76 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
77 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
78 inline InputFileConfig& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
79 inline InputFileConfig& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_channelName;
84 bool m_channelNameHasBeenSet = false;
85
86 Aws::String m_contentType;
87 bool m_contentTypeHasBeenSet = false;
88
89 DataSource m_dataSource;
90 bool m_dataSourceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Braket
95} // namespace Aws
void SetContentType(Aws::String &&value)
InputFileConfig & WithChannelName(const Aws::String &value)
InputFileConfig & WithContentType(const char *value)
InputFileConfig & WithDataSource(const DataSource &value)
void SetDataSource(DataSource &&value)
void SetDataSource(const DataSource &value)
InputFileConfig & WithDataSource(DataSource &&value)
const Aws::String & GetContentType() const
void SetContentType(const Aws::String &value)
void SetChannelName(Aws::String &&value)
AWS_BRAKET_API InputFileConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputFileConfig & WithContentType(Aws::String &&value)
void SetContentType(const char *value)
const Aws::String & GetChannelName() const
void SetChannelName(const Aws::String &value)
InputFileConfig & WithChannelName(Aws::String &&value)
InputFileConfig & WithContentType(const Aws::String &value)
void SetChannelName(const char *value)
InputFileConfig & WithChannelName(const char *value)
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