/** * 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 DatabaseMigrationService { namespace Model { /** *

Provides the name of the schema and table to be reloaded.

See * Also:

AWS * API Reference

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

The schema name of the table to be reloaded.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The schema name of the table to be reloaded.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The schema name of the table to be reloaded.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The schema name of the table to be reloaded.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The schema name of the table to be reloaded.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The schema name of the table to be reloaded.

*/ inline TableToReload& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The schema name of the table to be reloaded.

*/ inline TableToReload& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The schema name of the table to be reloaded.

*/ inline TableToReload& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The table name of the table to be reloaded.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The table name of the table to be reloaded.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The table name of the table to be reloaded.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The table name of the table to be reloaded.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The table name of the table to be reloaded.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The table name of the table to be reloaded.

*/ inline TableToReload& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The table name of the table to be reloaded.

*/ inline TableToReload& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The table name of the table to be reloaded.

*/ inline TableToReload& WithTableName(const char* value) { SetTableName(value); return *this;} private: Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws