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

The status of the last cache reset.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the last cache reset.

*/ inline void SetStatus(const Aws::String& value) { m_status = value; } /** *

The status of the last cache reset.

*/ inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } /** *

The status of the last cache reset.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The status of the last cache reset.

*/ inline GetDistributionLatestCacheResetResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the last cache reset.

*/ inline GetDistributionLatestCacheResetResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the last cache reset.

*/ inline GetDistributionLatestCacheResetResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The timestamp of the last cache reset (e.g., 1479734909.17) in * Unix time format.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The timestamp of the last cache reset (e.g., 1479734909.17) in * Unix time format.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** *

The timestamp of the last cache reset (e.g., 1479734909.17) in * Unix time format.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** *

The timestamp of the last cache reset (e.g., 1479734909.17) in * Unix time format.

*/ inline GetDistributionLatestCacheResetResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The timestamp of the last cache reset (e.g., 1479734909.17) in * Unix time format.

*/ inline GetDistributionLatestCacheResetResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDistributionLatestCacheResetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDistributionLatestCacheResetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDistributionLatestCacheResetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_status; Aws::Utils::DateTime m_createTime; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws