/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Enable custom Time to Live (TTL) settings for rows and columns without
* setting a TTL default for the specified table. For more information, see
* Enabling
* TTL on tables in the Amazon Keyspaces Developer Guide.See
* Also:
AWS
* API Reference
Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline const TimeToLiveStatus& GetStatus() const{ return m_status; } /** *Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline void SetStatus(const TimeToLiveStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline void SetStatus(TimeToLiveStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline TimeToLive& WithStatus(const TimeToLiveStatus& value) { SetStatus(value); return *this;} /** *Shows how to enable custom Time to Live (TTL) settings for the specified * table.
*/ inline TimeToLive& WithStatus(TimeToLiveStatus&& value) { SetStatus(std::move(value)); return *this;} private: TimeToLiveStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws