AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AutoMLJobChannel.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/AutoMLChannelType.h>
10#include <aws/sagemaker/model/AutoMLDataSource.h>
11#include <aws/sagemaker/model/CompressionType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
34 public:
35 AWS_SAGEMAKER_API AutoMLJobChannel() = default;
36 AWS_SAGEMAKER_API AutoMLJobChannel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
48 inline AutoMLChannelType GetChannelType() const { return m_channelType; }
49 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
50 inline void SetChannelType(AutoMLChannelType value) {
51 m_channelTypeHasBeenSet = true;
52 m_channelType = value;
53 }
55 SetChannelType(value);
56 return *this;
57 }
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) {
83 m_contentTypeHasBeenSet = true;
84 m_contentType = std::forward<ContentTypeT>(value);
85 }
86 template <typename ContentTypeT = Aws::String>
87 AutoMLJobChannel& WithContentType(ContentTypeT&& value) {
88 SetContentType(std::forward<ContentTypeT>(value));
89 return *this;
90 }
92
94
101 inline CompressionType GetCompressionType() const { return m_compressionType; }
102 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
104 m_compressionTypeHasBeenSet = true;
105 m_compressionType = value;
106 }
108 SetCompressionType(value);
109 return *this;
110 }
112
114
117 inline const AutoMLDataSource& GetDataSource() const { return m_dataSource; }
118 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
119 template <typename DataSourceT = AutoMLDataSource>
120 void SetDataSource(DataSourceT&& value) {
121 m_dataSourceHasBeenSet = true;
122 m_dataSource = std::forward<DataSourceT>(value);
123 }
124 template <typename DataSourceT = AutoMLDataSource>
125 AutoMLJobChannel& WithDataSource(DataSourceT&& value) {
126 SetDataSource(std::forward<DataSourceT>(value));
127 return *this;
128 }
130 private:
132
133 Aws::String m_contentType;
134
135 CompressionType m_compressionType{CompressionType::NOT_SET};
136
137 AutoMLDataSource m_dataSource;
138 bool m_channelTypeHasBeenSet = false;
139 bool m_contentTypeHasBeenSet = false;
140 bool m_compressionTypeHasBeenSet = false;
141 bool m_dataSourceHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace SageMaker
146} // 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