AWS SDK for C++  1.9.159
AWS SDK for C++
AutoMLChannel.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const AutoMLDataSource& GetDataSource() const{ return m_dataSource; }
47 
51  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
52 
56  inline void SetDataSource(const AutoMLDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
57 
61  inline void SetDataSource(AutoMLDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
62 
66  inline AutoMLChannel& WithDataSource(const AutoMLDataSource& value) { SetDataSource(value); return *this;}
67 
71  inline AutoMLChannel& WithDataSource(AutoMLDataSource&& value) { SetDataSource(std::move(value)); return *this;}
72 
73 
78  inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
79 
84  inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
85 
90  inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
91 
96  inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
97 
102  inline AutoMLChannel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
103 
108  inline AutoMLChannel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
109 
110 
115  inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; }
116 
121  inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
122 
127  inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; }
128 
133  inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); }
134 
139  inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); }
140 
145  inline AutoMLChannel& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;}
146 
151  inline AutoMLChannel& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;}
152 
157  inline AutoMLChannel& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;}
158 
159  private:
160 
161  AutoMLDataSource m_dataSource;
162  bool m_dataSourceHasBeenSet;
163 
164  CompressionType m_compressionType;
165  bool m_compressionTypeHasBeenSet;
166 
167  Aws::String m_targetAttributeName;
168  bool m_targetAttributeNameHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace SageMaker
173 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AutoMLChannel::SetTargetAttributeName
void SetTargetAttributeName(const Aws::String &value)
Definition: AutoMLChannel.h:127
Aws::SageMaker::Model::AutoMLChannel::WithTargetAttributeName
AutoMLChannel & WithTargetAttributeName(const char *value)
Definition: AutoMLChannel.h:157
Aws::SageMaker::Model::AutoMLDataSource
Definition: AutoMLDataSource.h:32
Aws::SageMaker::Model::AutoMLChannel::AutoMLChannel
AutoMLChannel(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLChannel::SetCompressionType
void SetCompressionType(CompressionType &&value)
Definition: AutoMLChannel.h:96
Aws::SageMaker::Model::AutoMLChannel::CompressionTypeHasBeenSet
bool CompressionTypeHasBeenSet() const
Definition: AutoMLChannel.h:84
Aws::SageMaker::Model::AutoMLChannel::SetDataSource
void SetDataSource(AutoMLDataSource &&value)
Definition: AutoMLChannel.h:61
Aws::SageMaker::Model::AutoMLChannel::SetTargetAttributeName
void SetTargetAttributeName(Aws::String &&value)
Definition: AutoMLChannel.h:133
Aws::SageMaker::Model::AutoMLChannel::WithTargetAttributeName
AutoMLChannel & WithTargetAttributeName(Aws::String &&value)
Definition: AutoMLChannel.h:151
Aws::SageMaker::Model::AutoMLChannel::AutoMLChannel
AutoMLChannel()
CompressionType.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AutoMLChannel::WithDataSource
AutoMLChannel & WithDataSource(AutoMLDataSource &&value)
Definition: AutoMLChannel.h:71
Aws::SageMaker::Model::CompressionType
CompressionType
Definition: CompressionType.h:17
Aws::SageMaker::Model::AutoMLChannel::SetTargetAttributeName
void SetTargetAttributeName(const char *value)
Definition: AutoMLChannel.h:139
Aws::SageMaker::Model::AutoMLChannel::WithCompressionType
AutoMLChannel & WithCompressionType(const CompressionType &value)
Definition: AutoMLChannel.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AutoMLChannel::SetDataSource
void SetDataSource(const AutoMLDataSource &value)
Definition: AutoMLChannel.h:56
Aws::SageMaker::Model::AutoMLChannel::WithCompressionType
AutoMLChannel & WithCompressionType(CompressionType &&value)
Definition: AutoMLChannel.h:108
Aws::SageMaker::Model::AutoMLChannel::GetDataSource
const AutoMLDataSource & GetDataSource() const
Definition: AutoMLChannel.h:46
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoMLChannel
Definition: AutoMLChannel.h:35
AutoMLDataSource.h
Aws::SageMaker::Model::AutoMLChannel::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: AutoMLChannel.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AutoMLChannel::WithTargetAttributeName
AutoMLChannel & WithTargetAttributeName(const Aws::String &value)
Definition: AutoMLChannel.h:145
Aws::SageMaker::Model::AutoMLChannel::operator=
AutoMLChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLChannel::GetTargetAttributeName
const Aws::String & GetTargetAttributeName() const
Definition: AutoMLChannel.h:115
Aws::SageMaker::Model::AutoMLChannel::SetCompressionType
void SetCompressionType(const CompressionType &value)
Definition: AutoMLChannel.h:90
Aws::SageMaker::Model::AutoMLChannel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AutoMLChannel::WithDataSource
AutoMLChannel & WithDataSource(const AutoMLDataSource &value)
Definition: AutoMLChannel.h:66
Aws::SageMaker::Model::AutoMLChannel::TargetAttributeNameHasBeenSet
bool TargetAttributeNameHasBeenSet() const
Definition: AutoMLChannel.h:121
Aws::SageMaker::Model::AutoMLChannel::GetCompressionType
const CompressionType & GetCompressionType() const
Definition: AutoMLChannel.h:78