/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The description of the Time to Live (TTL) status on the specified table.
* See Also:
AWS
* API Reference
The TTL status for the table.
*/ inline const TimeToLiveStatus& GetTimeToLiveStatus() const{ return m_timeToLiveStatus; } /** *The TTL status for the table.
*/ inline bool TimeToLiveStatusHasBeenSet() const { return m_timeToLiveStatusHasBeenSet; } /** *The TTL status for the table.
*/ inline void SetTimeToLiveStatus(const TimeToLiveStatus& value) { m_timeToLiveStatusHasBeenSet = true; m_timeToLiveStatus = value; } /** *The TTL status for the table.
*/ inline void SetTimeToLiveStatus(TimeToLiveStatus&& value) { m_timeToLiveStatusHasBeenSet = true; m_timeToLiveStatus = std::move(value); } /** *The TTL status for the table.
*/ inline TimeToLiveDescription& WithTimeToLiveStatus(const TimeToLiveStatus& value) { SetTimeToLiveStatus(value); return *this;} /** *The TTL status for the table.
*/ inline TimeToLiveDescription& WithTimeToLiveStatus(TimeToLiveStatus&& value) { SetTimeToLiveStatus(std::move(value)); return *this;} /** *The name of the TTL attribute for items in the table.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of the TTL attribute for items in the table.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of the TTL attribute for items in the table.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of the TTL attribute for items in the table.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of the TTL attribute for items in the table.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of the TTL attribute for items in the table.
*/ inline TimeToLiveDescription& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of the TTL attribute for items in the table.
*/ inline TimeToLiveDescription& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of the TTL attribute for items in the table.
*/ inline TimeToLiveDescription& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} private: TimeToLiveStatus m_timeToLiveStatus; bool m_timeToLiveStatusHasBeenSet = false; Aws::String m_attributeName; bool m_attributeNameHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws