/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Similar to Channel. A channel is a named input source that training
* algorithms can consume. Refer to Channel for detailed
* descriptions.See Also:
AWS
* API Reference
The data source.
*/ inline const AutoMLDataSource& GetDataSource() const{ return m_dataSource; } /** *The data source.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The data source.
*/ inline void SetDataSource(const AutoMLDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *The data source.
*/ inline void SetDataSource(AutoMLDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *The data source.
*/ inline AutoMLChannel& WithDataSource(const AutoMLDataSource& value) { SetDataSource(value); return *this;} /** *The data source.
*/ inline AutoMLChannel& WithDataSource(AutoMLDataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *You can use Gzip or None. The default value is None.
*/ inline const CompressionType& GetCompressionType() const{ return m_compressionType; } /** *You can use Gzip or None. The default value is None.
*/ inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; } /** *You can use Gzip or None. The default value is None.
*/ inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; } /** *You can use Gzip or None. The default value is None.
*/ inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); } /** *You can use Gzip or None. The default value is None.
*/ inline AutoMLChannel& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;} /** *You can use Gzip or None. The default value is None.
*/ inline AutoMLChannel& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;} /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; } /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; } /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; } /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); } /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); } /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;} /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;} /** *The name of the target variable in supervised learning, a.k.a. 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;} private: AutoMLDataSource m_dataSource; bool m_dataSourceHasBeenSet; CompressionType m_compressionType; bool m_compressionTypeHasBeenSet; Aws::String m_targetAttributeName; bool m_targetAttributeNameHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws