AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Channel.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/DataSource.h>
10#include <aws/sagemaker/model/CompressionType.h>
11#include <aws/sagemaker/model/RecordWrapper.h>
12#include <aws/sagemaker/model/TrainingInputMode.h>
13#include <aws/sagemaker/model/ShuffleConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 class Channel
38 {
39 public:
40 AWS_SAGEMAKER_API Channel();
41 AWS_SAGEMAKER_API Channel(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Channel& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetChannelName() const{ return m_channelName; }
51 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
52 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
53 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
54 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
55 inline Channel& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
56 inline Channel& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
57 inline Channel& WithChannelName(const char* value) { SetChannelName(value); return *this;}
59
61
64 inline const DataSource& GetDataSource() const{ return m_dataSource; }
65 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
66 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
67 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
68 inline Channel& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
69 inline Channel& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetContentType() const{ return m_contentType; }
77 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
78 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
79 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
80 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
81 inline Channel& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
82 inline Channel& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
83 inline Channel& WithContentType(const char* value) { SetContentType(value); return *this;}
85
87
92 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
93 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
94 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
95 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
96 inline Channel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
97 inline Channel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
99
101
111 inline const RecordWrapper& GetRecordWrapperType() const{ return m_recordWrapperType; }
112 inline bool RecordWrapperTypeHasBeenSet() const { return m_recordWrapperTypeHasBeenSet; }
113 inline void SetRecordWrapperType(const RecordWrapper& value) { m_recordWrapperTypeHasBeenSet = true; m_recordWrapperType = value; }
114 inline void SetRecordWrapperType(RecordWrapper&& value) { m_recordWrapperTypeHasBeenSet = true; m_recordWrapperType = std::move(value); }
115 inline Channel& WithRecordWrapperType(const RecordWrapper& value) { SetRecordWrapperType(value); return *this;}
116 inline Channel& WithRecordWrapperType(RecordWrapper&& value) { SetRecordWrapperType(std::move(value)); return *this;}
118
120
134 inline const TrainingInputMode& GetInputMode() const{ return m_inputMode; }
135 inline bool InputModeHasBeenSet() const { return m_inputModeHasBeenSet; }
136 inline void SetInputMode(const TrainingInputMode& value) { m_inputModeHasBeenSet = true; m_inputMode = value; }
137 inline void SetInputMode(TrainingInputMode&& value) { m_inputModeHasBeenSet = true; m_inputMode = std::move(value); }
138 inline Channel& WithInputMode(const TrainingInputMode& value) { SetInputMode(value); return *this;}
139 inline Channel& WithInputMode(TrainingInputMode&& value) { SetInputMode(std::move(value)); return *this;}
141
143
159 inline const ShuffleConfig& GetShuffleConfig() const{ return m_shuffleConfig; }
160 inline bool ShuffleConfigHasBeenSet() const { return m_shuffleConfigHasBeenSet; }
161 inline void SetShuffleConfig(const ShuffleConfig& value) { m_shuffleConfigHasBeenSet = true; m_shuffleConfig = value; }
162 inline void SetShuffleConfig(ShuffleConfig&& value) { m_shuffleConfigHasBeenSet = true; m_shuffleConfig = std::move(value); }
163 inline Channel& WithShuffleConfig(const ShuffleConfig& value) { SetShuffleConfig(value); return *this;}
164 inline Channel& WithShuffleConfig(ShuffleConfig&& value) { SetShuffleConfig(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_channelName;
169 bool m_channelNameHasBeenSet = false;
170
171 DataSource m_dataSource;
172 bool m_dataSourceHasBeenSet = false;
173
174 Aws::String m_contentType;
175 bool m_contentTypeHasBeenSet = false;
176
177 CompressionType m_compressionType;
178 bool m_compressionTypeHasBeenSet = false;
179
180 RecordWrapper m_recordWrapperType;
181 bool m_recordWrapperTypeHasBeenSet = false;
182
183 TrainingInputMode m_inputMode;
184 bool m_inputModeHasBeenSet = false;
185
186 ShuffleConfig m_shuffleConfig;
187 bool m_shuffleConfigHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SageMaker
192} // namespace Aws
const DataSource & GetDataSource() const
Definition Channel.h:64
Channel & WithChannelName(const Aws::String &value)
Definition Channel.h:55
Channel & WithShuffleConfig(ShuffleConfig &&value)
Definition Channel.h:164
const TrainingInputMode & GetInputMode() const
Definition Channel.h:134
Channel & WithCompressionType(const CompressionType &value)
Definition Channel.h:96
void SetRecordWrapperType(const RecordWrapper &value)
Definition Channel.h:113
void SetShuffleConfig(const ShuffleConfig &value)
Definition Channel.h:161
void SetDataSource(const DataSource &value)
Definition Channel.h:66
Channel & WithShuffleConfig(const ShuffleConfig &value)
Definition Channel.h:163
bool CompressionTypeHasBeenSet() const
Definition Channel.h:93
Channel & WithDataSource(DataSource &&value)
Definition Channel.h:69
const Aws::String & GetContentType() const
Definition Channel.h:76
void SetDataSource(DataSource &&value)
Definition Channel.h:67
void SetChannelName(const Aws::String &value)
Definition Channel.h:52
bool DataSourceHasBeenSet() const
Definition Channel.h:65
Channel & WithRecordWrapperType(RecordWrapper &&value)
Definition Channel.h:116
void SetChannelName(const char *value)
Definition Channel.h:54
void SetCompressionType(CompressionType &&value)
Definition Channel.h:95
Channel & WithContentType(const Aws::String &value)
Definition Channel.h:81
const RecordWrapper & GetRecordWrapperType() const
Definition Channel.h:111
Channel & WithContentType(const char *value)
Definition Channel.h:83
Channel & WithInputMode(TrainingInputMode &&value)
Definition Channel.h:139
Channel & WithDataSource(const DataSource &value)
Definition Channel.h:68
bool ContentTypeHasBeenSet() const
Definition Channel.h:77
const Aws::String & GetChannelName() const
Definition Channel.h:50
bool InputModeHasBeenSet() const
Definition Channel.h:135
void SetCompressionType(const CompressionType &value)
Definition Channel.h:94
Channel & WithRecordWrapperType(const RecordWrapper &value)
Definition Channel.h:115
Channel & WithContentType(Aws::String &&value)
Definition Channel.h:82
bool ChannelNameHasBeenSet() const
Definition Channel.h:51
void SetContentType(const Aws::String &value)
Definition Channel.h:78
AWS_SAGEMAKER_API Channel()
void SetInputMode(const TrainingInputMode &value)
Definition Channel.h:136
Channel & WithInputMode(const TrainingInputMode &value)
Definition Channel.h:138
void SetContentType(const char *value)
Definition Channel.h:80
void SetInputMode(TrainingInputMode &&value)
Definition Channel.h:137
bool RecordWrapperTypeHasBeenSet() const
Definition Channel.h:112
Channel & WithChannelName(const char *value)
Definition Channel.h:57
bool ShuffleConfigHasBeenSet() const
Definition Channel.h:160
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Channel & WithCompressionType(CompressionType &&value)
Definition Channel.h:97
AWS_SAGEMAKER_API Channel(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(Aws::String &&value)
Definition Channel.h:79
void SetRecordWrapperType(RecordWrapper &&value)
Definition Channel.h:114
void SetShuffleConfig(ShuffleConfig &&value)
Definition Channel.h:162
const ShuffleConfig & GetShuffleConfig() const
Definition Channel.h:159
void SetChannelName(Aws::String &&value)
Definition Channel.h:53
const CompressionType & GetCompressionType() const
Definition Channel.h:92
Channel & WithChannelName(Aws::String &&value)
Definition Channel.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue