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

Returns the name of the specified table, the keyspace it is stored in, and * the unique identifier in the format of an Amazon Resource Name * (ARN).

See Also:

AWS * API Reference

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

The name of the keyspace that the table is stored in.

*/ inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; } /** *

The name of the keyspace that the table is stored in.

*/ inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; } /** *

The name of the keyspace that the table is stored in.

*/ inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = value; } /** *

The name of the keyspace that the table is stored in.

*/ inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::move(value); } /** *

The name of the keyspace that the table is stored in.

*/ inline void SetKeyspaceName(const char* value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName.assign(value); } /** *

The name of the keyspace that the table is stored in.

*/ inline TableSummary& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;} /** *

The name of the keyspace that the table is stored in.

*/ inline TableSummary& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;} /** *

The name of the keyspace that the table is stored in.

*/ inline TableSummary& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;} /** *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

*/ inline TableSummary& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline TableSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline TableSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The unique identifier of the table in the format of an Amazon Resource Name * (ARN).

*/ inline TableSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_keyspaceName; bool m_keyspaceNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws