AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLChannel.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLDataSource.h>
9#include <aws/sagemaker/model/CompressionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/AutoMLChannelType.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
40 {
41 public:
42 AWS_SAGEMAKER_API AutoMLChannel();
43 AWS_SAGEMAKER_API AutoMLChannel(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API AutoMLChannel& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const AutoMLDataSource& GetDataSource() const{ return m_dataSource; }
53 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
54 inline void SetDataSource(const AutoMLDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
55 inline void SetDataSource(AutoMLDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
56 inline AutoMLChannel& WithDataSource(const AutoMLDataSource& value) { SetDataSource(value); return *this;}
57 inline AutoMLChannel& WithDataSource(AutoMLDataSource&& value) { SetDataSource(std::move(value)); return *this;}
59
61
65 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
66 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
67 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
68 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
69 inline AutoMLChannel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
70 inline AutoMLChannel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
72
74
78 inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; }
79 inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
80 inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; }
81 inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); }
82 inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); }
83 inline AutoMLChannel& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;}
84 inline AutoMLChannel& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;}
85 inline AutoMLChannel& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;}
87
89
95 inline const Aws::String& GetContentType() const{ return m_contentType; }
96 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
97 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
98 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
99 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
100 inline AutoMLChannel& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
101 inline AutoMLChannel& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
102 inline AutoMLChannel& WithContentType(const char* value) { SetContentType(value); return *this;}
104
106
114 inline const AutoMLChannelType& GetChannelType() const{ return m_channelType; }
115 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
116 inline void SetChannelType(const AutoMLChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
117 inline void SetChannelType(AutoMLChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
118 inline AutoMLChannel& WithChannelType(const AutoMLChannelType& value) { SetChannelType(value); return *this;}
119 inline AutoMLChannel& WithChannelType(AutoMLChannelType&& value) { SetChannelType(std::move(value)); return *this;}
121
123
137 inline const Aws::String& GetSampleWeightAttributeName() const{ return m_sampleWeightAttributeName; }
138 inline bool SampleWeightAttributeNameHasBeenSet() const { return m_sampleWeightAttributeNameHasBeenSet; }
139 inline void SetSampleWeightAttributeName(const Aws::String& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = value; }
140 inline void SetSampleWeightAttributeName(Aws::String&& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = std::move(value); }
141 inline void SetSampleWeightAttributeName(const char* value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName.assign(value); }
143 inline AutoMLChannel& WithSampleWeightAttributeName(Aws::String&& value) { SetSampleWeightAttributeName(std::move(value)); return *this;}
144 inline AutoMLChannel& WithSampleWeightAttributeName(const char* value) { SetSampleWeightAttributeName(value); return *this;}
146 private:
147
148 AutoMLDataSource m_dataSource;
149 bool m_dataSourceHasBeenSet = false;
150
151 CompressionType m_compressionType;
152 bool m_compressionTypeHasBeenSet = false;
153
154 Aws::String m_targetAttributeName;
155 bool m_targetAttributeNameHasBeenSet = false;
156
157 Aws::String m_contentType;
158 bool m_contentTypeHasBeenSet = false;
159
160 AutoMLChannelType m_channelType;
161 bool m_channelTypeHasBeenSet = false;
162
163 Aws::String m_sampleWeightAttributeName;
164 bool m_sampleWeightAttributeNameHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
AutoMLChannel & WithContentType(const char *value)
void SetChannelType(const AutoMLChannelType &value)
AutoMLChannel & WithTargetAttributeName(Aws::String &&value)
void SetDataSource(const AutoMLDataSource &value)
void SetTargetAttributeName(const Aws::String &value)
void SetTargetAttributeName(const char *value)
const Aws::String & GetTargetAttributeName() const
void SetContentType(Aws::String &&value)
AutoMLChannel & WithContentType(const Aws::String &value)
AWS_SAGEMAKER_API AutoMLChannel(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSampleWeightAttributeName() const
void SetCompressionType(const CompressionType &value)
const AutoMLDataSource & GetDataSource() const
void SetTargetAttributeName(Aws::String &&value)
AutoMLChannel & WithDataSource(AutoMLDataSource &&value)
void SetSampleWeightAttributeName(const char *value)
const CompressionType & GetCompressionType() const
const AutoMLChannelType & GetChannelType() const
AutoMLChannel & WithSampleWeightAttributeName(Aws::String &&value)
void SetContentType(const char *value)
AutoMLChannel & WithChannelType(const AutoMLChannelType &value)
void SetDataSource(AutoMLDataSource &&value)
void SetSampleWeightAttributeName(Aws::String &&value)
AutoMLChannel & WithSampleWeightAttributeName(const char *value)
void SetChannelType(AutoMLChannelType &&value)
void SetCompressionType(CompressionType &&value)
const Aws::String & GetContentType() const
AutoMLChannel & WithSampleWeightAttributeName(const Aws::String &value)
AutoMLChannel & WithCompressionType(const CompressionType &value)
AutoMLChannel & WithDataSource(const AutoMLDataSource &value)
AWS_SAGEMAKER_API AutoMLChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSampleWeightAttributeName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLChannel & WithChannelType(AutoMLChannelType &&value)
AutoMLChannel & WithTargetAttributeName(const char *value)
void SetContentType(const Aws::String &value)
AutoMLChannel & WithContentType(Aws::String &&value)
AutoMLChannel & WithCompressionType(CompressionType &&value)
AutoMLChannel & WithTargetAttributeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue