/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of an UpdateTimeToLive
* operation.See Also:
AWS
* API Reference
The name of the table to be configured.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *The name of the table to be configured.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *The name of the table to be configured.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *The name of the table to be configured.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *The name of the table to be configured.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *The name of the table to be configured.
*/ inline UpdateTimeToLiveRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The name of the table to be configured.
*/ inline UpdateTimeToLiveRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The name of the table to be configured.
*/ inline UpdateTimeToLiveRequest& WithTableName(const char* value) { SetTableName(value); return *this;} /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline const TimeToLiveSpecification& GetTimeToLiveSpecification() const{ return m_timeToLiveSpecification; } /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline bool TimeToLiveSpecificationHasBeenSet() const { return m_timeToLiveSpecificationHasBeenSet; } /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline void SetTimeToLiveSpecification(const TimeToLiveSpecification& value) { m_timeToLiveSpecificationHasBeenSet = true; m_timeToLiveSpecification = value; } /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline void SetTimeToLiveSpecification(TimeToLiveSpecification&& value) { m_timeToLiveSpecificationHasBeenSet = true; m_timeToLiveSpecification = std::move(value); } /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline UpdateTimeToLiveRequest& WithTimeToLiveSpecification(const TimeToLiveSpecification& value) { SetTimeToLiveSpecification(value); return *this;} /** *Represents the settings used to enable or disable Time to Live for the * specified table.
*/ inline UpdateTimeToLiveRequest& WithTimeToLiveSpecification(TimeToLiveSpecification&& value) { SetTimeToLiveSpecification(std::move(value)); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; TimeToLiveSpecification m_timeToLiveSpecification; bool m_timeToLiveSpecificationHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws