AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AutoMLJobChannel.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLChannelType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/CompressionType.h>
11#include <aws/sagemaker/model/AutoMLDataSource.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_SAGEMAKER_API AutoMLJobChannel() = default;
41 AWS_SAGEMAKER_API AutoMLJobChannel(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
54 inline AutoMLChannelType GetChannelType() const { return m_channelType; }
55 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
56 inline void SetChannelType(AutoMLChannelType value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
57 inline AutoMLJobChannel& WithChannelType(AutoMLChannelType value) { SetChannelType(value); return *this;}
59
61
79 inline const Aws::String& GetContentType() const { return m_contentType; }
80 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
81 template<typename ContentTypeT = Aws::String>
82 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
83 template<typename ContentTypeT = Aws::String>
84 AutoMLJobChannel& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
86
88
95 inline CompressionType GetCompressionType() const { return m_compressionType; }
96 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
97 inline void SetCompressionType(CompressionType value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
100
102
105 inline const AutoMLDataSource& GetDataSource() const { return m_dataSource; }
106 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
107 template<typename DataSourceT = AutoMLDataSource>
108 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
109 template<typename DataSourceT = AutoMLDataSource>
110 AutoMLJobChannel& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
112 private:
113
115 bool m_channelTypeHasBeenSet = false;
116
117 Aws::String m_contentType;
118 bool m_contentTypeHasBeenSet = false;
119
120 CompressionType m_compressionType{CompressionType::NOT_SET};
121 bool m_compressionTypeHasBeenSet = false;
122
123 AutoMLDataSource m_dataSource;
124 bool m_dataSourceHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SageMaker
129} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLJobChannel & WithChannelType(AutoMLChannelType value)
const AutoMLDataSource & GetDataSource() const
const Aws::String & GetContentType() const
AWS_SAGEMAKER_API AutoMLJobChannel()=default
AutoMLJobChannel & WithDataSource(DataSourceT &&value)
AutoMLJobChannel & WithContentType(ContentTypeT &&value)
void SetChannelType(AutoMLChannelType value)
AWS_SAGEMAKER_API AutoMLJobChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AutoMLJobChannel(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(ContentTypeT &&value)
AutoMLChannelType GetChannelType() const
AutoMLJobChannel & WithCompressionType(CompressionType value)
void SetCompressionType(CompressionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue