/** * 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 DLM { namespace Model { class AWS_DLM_API GetLifecyclePolicyResult { public: GetLifecyclePolicyResult(); GetLifecyclePolicyResult(const Aws::AmazonWebServiceResult& result); GetLifecyclePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Detailed information about the lifecycle policy.

*/ inline const LifecyclePolicy& GetPolicy() const{ return m_policy; } /** *

Detailed information about the lifecycle policy.

*/ inline void SetPolicy(const LifecyclePolicy& value) { m_policy = value; } /** *

Detailed information about the lifecycle policy.

*/ inline void SetPolicy(LifecyclePolicy&& value) { m_policy = std::move(value); } /** *

Detailed information about the lifecycle policy.

*/ inline GetLifecyclePolicyResult& WithPolicy(const LifecyclePolicy& value) { SetPolicy(value); return *this;} /** *

Detailed information about the lifecycle policy.

*/ inline GetLifecyclePolicyResult& WithPolicy(LifecyclePolicy&& value) { SetPolicy(std::move(value)); return *this;} private: LifecyclePolicy m_policy; }; } // namespace Model } // namespace DLM } // namespace Aws