/** * 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 { /** *

The client-side timestamp setting of the table.

For more information, * see How * it works: Amazon Keyspaces client-side timestamps in the Amazon Keyspaces * Developer Guide.

See Also:

AWS * API Reference

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

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline const ClientSideTimestampsStatus& GetStatus() const{ return m_status; } /** *

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline void SetStatus(const ClientSideTimestampsStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline void SetStatus(ClientSideTimestampsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline ClientSideTimestamps& WithStatus(const ClientSideTimestampsStatus& value) { SetStatus(value); return *this;} /** *

Shows how to enable client-side timestamps settings for the specified * table.

*/ inline ClientSideTimestamps& WithStatus(ClientSideTimestampsStatus&& value) { SetStatus(std::move(value)); return *this;} private: ClientSideTimestampsStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws