/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the metadata for a column.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 ColumnMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the column.
*/ inline ColumnMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the column.
*/ inline ColumnMetadata& WithName(const char* value) { SetName(value); return *this;} /** *The type of the column.
*/ inline int GetType() const{ return m_type; } /** *The type of the column.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the column.
*/ inline void SetType(int value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the column.
*/ inline ColumnMetadata& WithType(int value) { SetType(value); return *this;} /** *The database-specific data type of the column.
*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *The database-specific data type of the column.
*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *The database-specific data type of the column.
*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *The database-specific data type of the column.
*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *The database-specific data type of the column.
*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *The database-specific data type of the column.
*/ inline ColumnMetadata& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *The database-specific data type of the column.
*/ inline ColumnMetadata& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *The database-specific data type of the column.
*/ inline ColumnMetadata& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *The label for the column.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The label for the column.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The label for the column.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The label for the column.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The label for the column.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The label for the column.
*/ inline ColumnMetadata& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The label for the column.
*/ inline ColumnMetadata& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The label for the column.
*/ inline ColumnMetadata& WithLabel(const char* value) { SetLabel(value); return *this;} /** *The name of the schema that owns the table that includes the column.
*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *The name of the schema that owns the table that includes the column.
*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *The name of the schema that owns the table that includes the column.
*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *The name of the schema that owns the table that includes the column.
*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *The name of the schema that owns the table that includes the column.
*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *The name of the schema that owns the table that includes the column.
*/ inline ColumnMetadata& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *The name of the schema that owns the table that includes the column.
*/ inline ColumnMetadata& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *The name of the schema that owns the table that includes the column.
*/ inline ColumnMetadata& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *The name of the table that includes the column.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *The name of the table that includes the column.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *The name of the table that includes the column.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *The name of the table that includes the column.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *The name of the table that includes the column.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *The name of the table that includes the column.
*/ inline ColumnMetadata& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The name of the table that includes the column.
*/ inline ColumnMetadata& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The name of the table that includes the column.
*/ inline ColumnMetadata& WithTableName(const char* value) { SetTableName(value); return *this;} /** *A value that indicates whether the column increments automatically.
*/ inline bool GetIsAutoIncrement() const{ return m_isAutoIncrement; } /** *A value that indicates whether the column increments automatically.
*/ inline bool IsAutoIncrementHasBeenSet() const { return m_isAutoIncrementHasBeenSet; } /** *A value that indicates whether the column increments automatically.
*/ inline void SetIsAutoIncrement(bool value) { m_isAutoIncrementHasBeenSet = true; m_isAutoIncrement = value; } /** *A value that indicates whether the column increments automatically.
*/ inline ColumnMetadata& WithIsAutoIncrement(bool value) { SetIsAutoIncrement(value); return *this;} /** *A value that indicates whether an integer column is signed.
*/ inline bool GetIsSigned() const{ return m_isSigned; } /** *A value that indicates whether an integer column is signed.
*/ inline bool IsSignedHasBeenSet() const { return m_isSignedHasBeenSet; } /** *A value that indicates whether an integer column is signed.
*/ inline void SetIsSigned(bool value) { m_isSignedHasBeenSet = true; m_isSigned = value; } /** *A value that indicates whether an integer column is signed.
*/ inline ColumnMetadata& WithIsSigned(bool value) { SetIsSigned(value); return *this;} /** *A value that indicates whether the column contains currency values.
*/ inline bool GetIsCurrency() const{ return m_isCurrency; } /** *A value that indicates whether the column contains currency values.
*/ inline bool IsCurrencyHasBeenSet() const { return m_isCurrencyHasBeenSet; } /** *A value that indicates whether the column contains currency values.
*/ inline void SetIsCurrency(bool value) { m_isCurrencyHasBeenSet = true; m_isCurrency = value; } /** *A value that indicates whether the column contains currency values.
*/ inline ColumnMetadata& WithIsCurrency(bool value) { SetIsCurrency(value); return *this;} /** *A value that indicates whether the column is case-sensitive.
*/ inline bool GetIsCaseSensitive() const{ return m_isCaseSensitive; } /** *A value that indicates whether the column is case-sensitive.
*/ inline bool IsCaseSensitiveHasBeenSet() const { return m_isCaseSensitiveHasBeenSet; } /** *A value that indicates whether the column is case-sensitive.
*/ inline void SetIsCaseSensitive(bool value) { m_isCaseSensitiveHasBeenSet = true; m_isCaseSensitive = value; } /** *A value that indicates whether the column is case-sensitive.
*/ inline ColumnMetadata& WithIsCaseSensitive(bool value) { SetIsCaseSensitive(value); return *this;} /** *A value that indicates whether the column is nullable.
*/ inline int GetNullable() const{ return m_nullable; } /** *A value that indicates whether the column is nullable.
*/ inline bool NullableHasBeenSet() const { return m_nullableHasBeenSet; } /** *A value that indicates whether the column is nullable.
*/ inline void SetNullable(int value) { m_nullableHasBeenSet = true; m_nullable = value; } /** *A value that indicates whether the column is nullable.
*/ inline ColumnMetadata& WithNullable(int value) { SetNullable(value); return *this;} /** *The precision value of a decimal number column.
*/ inline int GetPrecision() const{ return m_precision; } /** *The precision value of a decimal number column.
*/ inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; } /** *The precision value of a decimal number column.
*/ inline void SetPrecision(int value) { m_precisionHasBeenSet = true; m_precision = value; } /** *The precision value of a decimal number column.
*/ inline ColumnMetadata& WithPrecision(int value) { SetPrecision(value); return *this;} /** *The scale value of a decimal number column.
*/ inline int GetScale() const{ return m_scale; } /** *The scale value of a decimal number column.
*/ inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; } /** *The scale value of a decimal number column.
*/ inline void SetScale(int value) { m_scaleHasBeenSet = true; m_scale = value; } /** *The scale value of a decimal number column.
*/ inline ColumnMetadata& WithScale(int value) { SetScale(value); return *this;} /** *The type of the column.
*/ inline int GetArrayBaseColumnType() const{ return m_arrayBaseColumnType; } /** *The type of the column.
*/ inline bool ArrayBaseColumnTypeHasBeenSet() const { return m_arrayBaseColumnTypeHasBeenSet; } /** *The type of the column.
*/ inline void SetArrayBaseColumnType(int value) { m_arrayBaseColumnTypeHasBeenSet = true; m_arrayBaseColumnType = value; } /** *The type of the column.
*/ inline ColumnMetadata& WithArrayBaseColumnType(int value) { SetArrayBaseColumnType(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; int m_type; bool m_typeHasBeenSet = false; Aws::String m_typeName; bool m_typeNameHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; bool m_isAutoIncrement; bool m_isAutoIncrementHasBeenSet = false; bool m_isSigned; bool m_isSignedHasBeenSet = false; bool m_isCurrency; bool m_isCurrencyHasBeenSet = false; bool m_isCaseSensitive; bool m_isCaseSensitiveHasBeenSet = false; int m_nullable; bool m_nullableHasBeenSet = false; int m_precision; bool m_precisionHasBeenSet = false; int m_scale; bool m_scaleHasBeenSet = false; int m_arrayBaseColumnType; bool m_arrayBaseColumnTypeHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws