/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { class AWS_DYNAMODB_API UpdateTimeToLiveResult { public: UpdateTimeToLiveResult(); UpdateTimeToLiveResult(const Aws::AmazonWebServiceResult& result); UpdateTimeToLiveResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Represents the output of an UpdateTimeToLive operation.

*/ inline const TimeToLiveSpecification& GetTimeToLiveSpecification() const{ return m_timeToLiveSpecification; } /** *

Represents the output of an UpdateTimeToLive operation.

*/ inline void SetTimeToLiveSpecification(const TimeToLiveSpecification& value) { m_timeToLiveSpecification = value; } /** *

Represents the output of an UpdateTimeToLive operation.

*/ inline void SetTimeToLiveSpecification(TimeToLiveSpecification&& value) { m_timeToLiveSpecification = std::move(value); } /** *

Represents the output of an UpdateTimeToLive operation.

*/ inline UpdateTimeToLiveResult& WithTimeToLiveSpecification(const TimeToLiveSpecification& value) { SetTimeToLiveSpecification(value); return *this;} /** *

Represents the output of an UpdateTimeToLive operation.

*/ inline UpdateTimeToLiveResult& WithTimeToLiveSpecification(TimeToLiveSpecification&& value) { SetTimeToLiveSpecification(std::move(value)); return *this;} private: TimeToLiveSpecification m_timeToLiveSpecification; }; } // namespace Model } // namespace DynamoDB } // namespace Aws