AWS SDK for C++  1.9.160
AWS SDK for C++
Channel.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SageMaker
27 {
28 namespace Model
29 {
30 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetChannelName() const{ return m_channelName; }
50 
54  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
55 
59  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
60 
64  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
65 
69  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
70 
74  inline Channel& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
75 
79  inline Channel& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
80 
84  inline Channel& WithChannelName(const char* value) { SetChannelName(value); return *this;}
85 
86 
90  inline const DataSource& GetDataSource() const{ return m_dataSource; }
91 
95  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
96 
100  inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
101 
105  inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
106 
110  inline Channel& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
111 
115  inline Channel& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
116 
117 
121  inline const Aws::String& GetContentType() const{ return m_contentType; }
122 
126  inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
127 
131  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
132 
136  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
137 
141  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
142 
146  inline Channel& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
147 
151  inline Channel& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
152 
156  inline Channel& WithContentType(const char* value) { SetContentType(value); return *this;}
157 
158 
164  inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
165 
171  inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
172 
178  inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
179 
185  inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
186 
192  inline Channel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
193 
199  inline Channel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
200 
201 
212  inline const RecordWrapper& GetRecordWrapperType() const{ return m_recordWrapperType; }
213 
224  inline bool RecordWrapperTypeHasBeenSet() const { return m_recordWrapperTypeHasBeenSet; }
225 
236  inline void SetRecordWrapperType(const RecordWrapper& value) { m_recordWrapperTypeHasBeenSet = true; m_recordWrapperType = value; }
237 
248  inline void SetRecordWrapperType(RecordWrapper&& value) { m_recordWrapperTypeHasBeenSet = true; m_recordWrapperType = std::move(value); }
249 
260  inline Channel& WithRecordWrapperType(const RecordWrapper& value) { SetRecordWrapperType(value); return *this;}
261 
272  inline Channel& WithRecordWrapperType(RecordWrapper&& value) { SetRecordWrapperType(std::move(value)); return *this;}
273 
274 
288  inline const TrainingInputMode& GetInputMode() const{ return m_inputMode; }
289 
303  inline bool InputModeHasBeenSet() const { return m_inputModeHasBeenSet; }
304 
318  inline void SetInputMode(const TrainingInputMode& value) { m_inputModeHasBeenSet = true; m_inputMode = value; }
319 
333  inline void SetInputMode(TrainingInputMode&& value) { m_inputModeHasBeenSet = true; m_inputMode = std::move(value); }
334 
348  inline Channel& WithInputMode(const TrainingInputMode& value) { SetInputMode(value); return *this;}
349 
363  inline Channel& WithInputMode(TrainingInputMode&& value) { SetInputMode(std::move(value)); return *this;}
364 
365 
382  inline const ShuffleConfig& GetShuffleConfig() const{ return m_shuffleConfig; }
383 
400  inline bool ShuffleConfigHasBeenSet() const { return m_shuffleConfigHasBeenSet; }
401 
418  inline void SetShuffleConfig(const ShuffleConfig& value) { m_shuffleConfigHasBeenSet = true; m_shuffleConfig = value; }
419 
436  inline void SetShuffleConfig(ShuffleConfig&& value) { m_shuffleConfigHasBeenSet = true; m_shuffleConfig = std::move(value); }
437 
454  inline Channel& WithShuffleConfig(const ShuffleConfig& value) { SetShuffleConfig(value); return *this;}
455 
472  inline Channel& WithShuffleConfig(ShuffleConfig&& value) { SetShuffleConfig(std::move(value)); return *this;}
473 
474  private:
475 
476  Aws::String m_channelName;
477  bool m_channelNameHasBeenSet;
478 
479  DataSource m_dataSource;
480  bool m_dataSourceHasBeenSet;
481 
482  Aws::String m_contentType;
483  bool m_contentTypeHasBeenSet;
484 
485  CompressionType m_compressionType;
486  bool m_compressionTypeHasBeenSet;
487 
488  RecordWrapper m_recordWrapperType;
489  bool m_recordWrapperTypeHasBeenSet;
490 
491  TrainingInputMode m_inputMode;
492  bool m_inputModeHasBeenSet;
493 
494  ShuffleConfig m_shuffleConfig;
495  bool m_shuffleConfigHasBeenSet;
496  };
497 
498 } // namespace Model
499 } // namespace SageMaker
500 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Channel::WithChannelName
Channel & WithChannelName(Aws::String &&value)
Definition: Channel.h:79
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Channel::WithDataSource
Channel & WithDataSource(DataSource &&value)
Definition: Channel.h:115
Aws::SageMaker::Model::Channel::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition: Channel.h:126
Aws::SageMaker::Model::Channel::WithInputMode
Channel & WithInputMode(const TrainingInputMode &value)
Definition: Channel.h:348
DataSource.h
Aws::SageMaker::Model::Channel::SetContentType
void SetContentType(const char *value)
Definition: Channel.h:141
Aws::SageMaker::Model::Channel::SetRecordWrapperType
void SetRecordWrapperType(RecordWrapper &&value)
Definition: Channel.h:248
Aws::SageMaker::Model::RecordWrapper
RecordWrapper
Definition: RecordWrapper.h:17
Aws::SageMaker::Model::Channel::Channel
Channel()
Aws::SageMaker::Model::Channel::RecordWrapperTypeHasBeenSet
bool RecordWrapperTypeHasBeenSet() const
Definition: Channel.h:224
Aws::SageMaker::Model::Channel::SetShuffleConfig
void SetShuffleConfig(const ShuffleConfig &value)
Definition: Channel.h:418
Aws::SageMaker::Model::Channel::SetInputMode
void SetInputMode(const TrainingInputMode &value)
Definition: Channel.h:318
Aws::SageMaker::Model::Channel::SetCompressionType
void SetCompressionType(const CompressionType &value)
Definition: Channel.h:178
Aws::SageMaker::Model::Channel::GetCompressionType
const CompressionType & GetCompressionType() const
Definition: Channel.h:164
Aws::SageMaker::Model::TrainingInputMode
TrainingInputMode
Definition: TrainingInputMode.h:17
Aws::SageMaker::Model::Channel::WithRecordWrapperType
Channel & WithRecordWrapperType(const RecordWrapper &value)
Definition: Channel.h:260
TrainingInputMode.h
Aws::SageMaker::Model::Channel::GetDataSource
const DataSource & GetDataSource() const
Definition: Channel.h:90
Aws::SageMaker::Model::Channel
Definition: Channel.h:38
Aws::SageMaker::Model::Channel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Channel::SetInputMode
void SetInputMode(TrainingInputMode &&value)
Definition: Channel.h:333
Aws::SageMaker::Model::Channel::operator=
Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Channel::CompressionTypeHasBeenSet
bool CompressionTypeHasBeenSet() const
Definition: Channel.h:171
Aws::SageMaker::Model::Channel::WithChannelName
Channel & WithChannelName(const char *value)
Definition: Channel.h:84
Aws::SageMaker::Model::Channel::InputModeHasBeenSet
bool InputModeHasBeenSet() const
Definition: Channel.h:303
Aws::SageMaker::Model::Channel::SetContentType
void SetContentType(Aws::String &&value)
Definition: Channel.h:136
Aws::SageMaker::Model::Channel::GetContentType
const Aws::String & GetContentType() const
Definition: Channel.h:121
CompressionType.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Channel::WithDataSource
Channel & WithDataSource(const DataSource &value)
Definition: Channel.h:110
Aws::SageMaker::Model::Channel::WithRecordWrapperType
Channel & WithRecordWrapperType(RecordWrapper &&value)
Definition: Channel.h:272
Aws::SageMaker::Model::Channel::SetShuffleConfig
void SetShuffleConfig(ShuffleConfig &&value)
Definition: Channel.h:436
Aws::SageMaker::Model::Channel::SetRecordWrapperType
void SetRecordWrapperType(const RecordWrapper &value)
Definition: Channel.h:236
ShuffleConfig.h
Aws::SageMaker::Model::CompressionType
CompressionType
Definition: CompressionType.h:17
Aws::SageMaker::Model::Channel::WithContentType
Channel & WithContentType(Aws::String &&value)
Definition: Channel.h:151
Aws::SageMaker::Model::Channel::WithShuffleConfig
Channel & WithShuffleConfig(const ShuffleConfig &value)
Definition: Channel.h:454
Aws::SageMaker::Model::DataSource
Definition: DataSource.h:33
Aws::SageMaker::Model::Channel::SetDataSource
void SetDataSource(DataSource &&value)
Definition: Channel.h:105
Aws::SageMaker::Model::Channel::WithContentType
Channel & WithContentType(const char *value)
Definition: Channel.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::Channel::GetInputMode
const TrainingInputMode & GetInputMode() const
Definition: Channel.h:288
AWSString.h
Aws::SageMaker::Model::Channel::ShuffleConfigHasBeenSet
bool ShuffleConfigHasBeenSet() const
Definition: Channel.h:400
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Channel::WithContentType
Channel & WithContentType(const Aws::String &value)
Definition: Channel.h:146
Aws::SageMaker::Model::Channel::WithCompressionType
Channel & WithCompressionType(CompressionType &&value)
Definition: Channel.h:199
Aws::SageMaker::Model::Channel::GetChannelName
const Aws::String & GetChannelName() const
Definition: Channel.h:49
Aws::SageMaker::Model::ShuffleConfig
Definition: ShuffleConfig.h:44
RecordWrapper.h
Aws::SageMaker::Model::Channel::Channel
Channel(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Channel::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: Channel.h:59
Aws::SageMaker::Model::Channel::SetChannelName
void SetChannelName(const char *value)
Definition: Channel.h:69
Aws::SageMaker::Model::Channel::GetRecordWrapperType
const RecordWrapper & GetRecordWrapperType() const
Definition: Channel.h:212
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Channel::WithChannelName
Channel & WithChannelName(const Aws::String &value)
Definition: Channel.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Channel::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: Channel.h:95
Aws::SageMaker::Model::Channel::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: Channel.h:54
Aws::SageMaker::Model::Channel::WithInputMode
Channel & WithInputMode(TrainingInputMode &&value)
Definition: Channel.h:363
Aws::SageMaker::Model::Channel::SetCompressionType
void SetCompressionType(CompressionType &&value)
Definition: Channel.h:185
Aws::SageMaker::Model::Channel::WithCompressionType
Channel & WithCompressionType(const CompressionType &value)
Definition: Channel.h:192
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Channel::WithShuffleConfig
Channel & WithShuffleConfig(ShuffleConfig &&value)
Definition: Channel.h:472
Aws::SageMaker::Model::Channel::GetShuffleConfig
const ShuffleConfig & GetShuffleConfig() const
Definition: Channel.h:382
Aws::SageMaker::Model::Channel::SetDataSource
void SetDataSource(const DataSource &value)
Definition: Channel.h:100
Aws::SageMaker::Model::Channel::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: Channel.h:64
Aws::SageMaker::Model::Channel::SetContentType
void SetContentType(const Aws::String &value)
Definition: Channel.h:131