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

Contains details of the table class.

See Also:

AWS * API Reference

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

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline const TableClass& GetTableClass() const{ return m_tableClass; } /** *

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline bool TableClassHasBeenSet() const { return m_tableClassHasBeenSet; } /** *

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline void SetTableClass(const TableClass& value) { m_tableClassHasBeenSet = true; m_tableClass = value; } /** *

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline void SetTableClass(TableClass&& value) { m_tableClassHasBeenSet = true; m_tableClass = std::move(value); } /** *

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline TableClassSummary& WithTableClass(const TableClass& value) { SetTableClass(value); return *this;} /** *

The table class of the specified table. Valid values are * STANDARD and STANDARD_INFREQUENT_ACCESS.

*/ inline TableClassSummary& WithTableClass(TableClass&& value) { SetTableClass(std::move(value)); return *this;} /** *

The date and time at which the table class was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateDateTime() const{ return m_lastUpdateDateTime; } /** *

The date and time at which the table class was last updated.

*/ inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; } /** *

The date and time at which the table class was last updated.

*/ inline void SetLastUpdateDateTime(const Aws::Utils::DateTime& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = value; } /** *

The date and time at which the table class was last updated.

*/ inline void SetLastUpdateDateTime(Aws::Utils::DateTime&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::move(value); } /** *

The date and time at which the table class was last updated.

*/ inline TableClassSummary& WithLastUpdateDateTime(const Aws::Utils::DateTime& value) { SetLastUpdateDateTime(value); return *this;} /** *

The date and time at which the table class was last updated.

*/ inline TableClassSummary& WithLastUpdateDateTime(Aws::Utils::DateTime&& value) { SetLastUpdateDateTime(std::move(value)); return *this;} private: TableClass m_tableClass; bool m_tableClassHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateDateTime; bool m_lastUpdateDateTimeHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws