AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AutoMLChannelType& GetChannelType() const{ return m_channelType; }
55 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
56 inline void SetChannelType(const AutoMLChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
57 inline void SetChannelType(AutoMLChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
58 inline AutoMLJobChannel& WithChannelType(const AutoMLChannelType& value) { SetChannelType(value); return *this;}
59 inline AutoMLJobChannel& WithChannelType(AutoMLChannelType&& value) { SetChannelType(std::move(value)); return *this;}
61
63
81 inline const Aws::String& GetContentType() const{ return m_contentType; }
82 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
83 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
84 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
85 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
86 inline AutoMLJobChannel& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
87 inline AutoMLJobChannel& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
88 inline AutoMLJobChannel& WithContentType(const char* value) { SetContentType(value); return *this;}
90
92
99 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
100 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
101 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
102 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
103 inline AutoMLJobChannel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
104 inline AutoMLJobChannel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
106
108
111 inline const AutoMLDataSource& GetDataSource() const{ return m_dataSource; }
112 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
113 inline void SetDataSource(const AutoMLDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
114 inline void SetDataSource(AutoMLDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
115 inline AutoMLJobChannel& WithDataSource(const AutoMLDataSource& value) { SetDataSource(value); return *this;}
116 inline AutoMLJobChannel& WithDataSource(AutoMLDataSource&& value) { SetDataSource(std::move(value)); return *this;}
118 private:
119
120 AutoMLChannelType m_channelType;
121 bool m_channelTypeHasBeenSet = false;
122
123 Aws::String m_contentType;
124 bool m_contentTypeHasBeenSet = false;
125
126 CompressionType m_compressionType;
127 bool m_compressionTypeHasBeenSet = false;
128
129 AutoMLDataSource m_dataSource;
130 bool m_dataSourceHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SageMaker
135} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLJobChannel & WithDataSource(const AutoMLDataSource &value)
const CompressionType & GetCompressionType() const
void SetCompressionType(CompressionType &&value)
AutoMLJobChannel & WithContentType(const Aws::String &value)
AutoMLJobChannel & WithDataSource(AutoMLDataSource &&value)
const AutoMLDataSource & GetDataSource() const
AutoMLJobChannel & WithCompressionType(CompressionType &&value)
AutoMLJobChannel & WithChannelType(AutoMLChannelType &&value)
void SetContentType(Aws::String &&value)
const Aws::String & GetContentType() const
void SetDataSource(const AutoMLDataSource &value)
void SetCompressionType(const CompressionType &value)
AutoMLJobChannel & WithChannelType(const AutoMLChannelType &value)
void SetChannelType(const AutoMLChannelType &value)
AWS_SAGEMAKER_API AutoMLJobChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AutoMLJobChannel(Aws::Utils::Json::JsonView jsonValue)
void SetDataSource(AutoMLDataSource &&value)
void SetChannelType(AutoMLChannelType &&value)
AutoMLJobChannel & WithCompressionType(const CompressionType &value)
const AutoMLChannelType & GetChannelType() const
void SetContentType(const Aws::String &value)
AutoMLJobChannel & WithContentType(const char *value)
AutoMLJobChannel & WithContentType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue