AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename DataSourceT = AutoMLDataSource>
55 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
56 template<typename DataSourceT = AutoMLDataSource>
57 AutoMLChannel& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
59
61
65 inline CompressionType GetCompressionType() const { return m_compressionType; }
66 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
67 inline void SetCompressionType(CompressionType value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
70
72
76 inline const Aws::String& GetTargetAttributeName() const { return m_targetAttributeName; }
77 inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
78 template<typename TargetAttributeNameT = Aws::String>
79 void SetTargetAttributeName(TargetAttributeNameT&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::forward<TargetAttributeNameT>(value); }
80 template<typename TargetAttributeNameT = Aws::String>
81 AutoMLChannel& WithTargetAttributeName(TargetAttributeNameT&& value) { SetTargetAttributeName(std::forward<TargetAttributeNameT>(value)); return *this;}
83
85
91 inline const Aws::String& GetContentType() const { return m_contentType; }
92 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
93 template<typename ContentTypeT = Aws::String>
94 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
95 template<typename ContentTypeT = Aws::String>
96 AutoMLChannel& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
98
100
108 inline AutoMLChannelType GetChannelType() const { return m_channelType; }
109 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
110 inline void SetChannelType(AutoMLChannelType value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
111 inline AutoMLChannel& WithChannelType(AutoMLChannelType value) { SetChannelType(value); return *this;}
113
115
129 inline const Aws::String& GetSampleWeightAttributeName() const { return m_sampleWeightAttributeName; }
130 inline bool SampleWeightAttributeNameHasBeenSet() const { return m_sampleWeightAttributeNameHasBeenSet; }
131 template<typename SampleWeightAttributeNameT = Aws::String>
132 void SetSampleWeightAttributeName(SampleWeightAttributeNameT&& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = std::forward<SampleWeightAttributeNameT>(value); }
133 template<typename SampleWeightAttributeNameT = Aws::String>
134 AutoMLChannel& WithSampleWeightAttributeName(SampleWeightAttributeNameT&& value) { SetSampleWeightAttributeName(std::forward<SampleWeightAttributeNameT>(value)); return *this;}
136 private:
137
138 AutoMLDataSource m_dataSource;
139 bool m_dataSourceHasBeenSet = false;
140
141 CompressionType m_compressionType{CompressionType::NOT_SET};
142 bool m_compressionTypeHasBeenSet = false;
143
144 Aws::String m_targetAttributeName;
145 bool m_targetAttributeNameHasBeenSet = false;
146
147 Aws::String m_contentType;
148 bool m_contentTypeHasBeenSet = false;
149
151 bool m_channelTypeHasBeenSet = false;
152
153 Aws::String m_sampleWeightAttributeName;
154 bool m_sampleWeightAttributeNameHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace SageMaker
159} // namespace Aws
AutoMLChannelType GetChannelType() const
const Aws::String & GetTargetAttributeName() const
AutoMLChannel & WithChannelType(AutoMLChannelType value)
AWS_SAGEMAKER_API AutoMLChannel(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSampleWeightAttributeName() const
void SetDataSource(DataSourceT &&value)
const AutoMLDataSource & GetDataSource() const
void SetCompressionType(CompressionType value)
void SetSampleWeightAttributeName(SampleWeightAttributeNameT &&value)
void SetContentType(ContentTypeT &&value)
void SetChannelType(AutoMLChannelType value)
AWS_SAGEMAKER_API AutoMLChannel()=default
const Aws::String & GetContentType() const
AutoMLChannel & WithTargetAttributeName(TargetAttributeNameT &&value)
AutoMLChannel & WithContentType(ContentTypeT &&value)
AWS_SAGEMAKER_API AutoMLChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLChannel & WithDataSource(DataSourceT &&value)
AutoMLChannel & WithCompressionType(CompressionType value)
CompressionType GetCompressionType() const
void SetTargetAttributeName(TargetAttributeNameT &&value)
AutoMLChannel & WithSampleWeightAttributeName(SampleWeightAttributeNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue