/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

A transform operation that renames a column.

See Also:

AWS * API Reference

*/ class RenameColumnOperation { public: AWS_QUICKSIGHT_API RenameColumnOperation(); AWS_QUICKSIGHT_API RenameColumnOperation(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API RenameColumnOperation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the column to be renamed.

*/ inline const Aws::String& GetColumnName() const{ return m_columnName; } /** *

The name of the column to be renamed.

*/ inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } /** *

The name of the column to be renamed.

*/ inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } /** *

The name of the column to be renamed.

*/ inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } /** *

The name of the column to be renamed.

*/ inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } /** *

The name of the column to be renamed.

*/ inline RenameColumnOperation& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} /** *

The name of the column to be renamed.

*/ inline RenameColumnOperation& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} /** *

The name of the column to be renamed.

*/ inline RenameColumnOperation& WithColumnName(const char* value) { SetColumnName(value); return *this;} /** *

The new name for the column.

*/ inline const Aws::String& GetNewColumnName() const{ return m_newColumnName; } /** *

The new name for the column.

*/ inline bool NewColumnNameHasBeenSet() const { return m_newColumnNameHasBeenSet; } /** *

The new name for the column.

*/ inline void SetNewColumnName(const Aws::String& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = value; } /** *

The new name for the column.

*/ inline void SetNewColumnName(Aws::String&& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = std::move(value); } /** *

The new name for the column.

*/ inline void SetNewColumnName(const char* value) { m_newColumnNameHasBeenSet = true; m_newColumnName.assign(value); } /** *

The new name for the column.

*/ inline RenameColumnOperation& WithNewColumnName(const Aws::String& value) { SetNewColumnName(value); return *this;} /** *

The new name for the column.

*/ inline RenameColumnOperation& WithNewColumnName(Aws::String&& value) { SetNewColumnName(std::move(value)); return *this;} /** *

The new name for the column.

*/ inline RenameColumnOperation& WithNewColumnName(const char* value) { SetNewColumnName(value); return *this;} private: Aws::String m_columnName; bool m_columnNameHasBeenSet = false; Aws::String m_newColumnName; bool m_newColumnNameHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws