/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A key-value pair representing a column and data type that this transform can
* run against. The Schema
parameter of the MLTransform
* may contain up to 100 of these structures.See Also:
AWS
* API Reference
The name of the column.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the column.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the column.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the column.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the column.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the column.
*/ inline SchemaColumn& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the column.
*/ inline SchemaColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the column.
*/ inline SchemaColumn& WithName(const char* value) { SetName(value); return *this;} /** *The type of data in the column.
*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *The type of data in the column.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The type of data in the column.
*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The type of data in the column.
*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The type of data in the column.
*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *The type of data in the column.
*/ inline SchemaColumn& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *The type of data in the column.
*/ inline SchemaColumn& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *The type of data in the column.
*/ inline SchemaColumn& WithDataType(const char* value) { SetDataType(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws