/** * 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 CreateLifecyclePolicyResult { public: CreateLifecyclePolicyResult(); CreateLifecyclePolicyResult(const Aws::AmazonWebServiceResult& result); CreateLifecyclePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the lifecycle policy.

*/ inline const Aws::String& GetPolicyId() const{ return m_policyId; } /** *

The identifier of the lifecycle policy.

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

The identifier of the lifecycle policy.

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

The identifier of the lifecycle policy.

*/ inline void SetPolicyId(const char* value) { m_policyId.assign(value); } /** *

The identifier of the lifecycle policy.

*/ inline CreateLifecyclePolicyResult& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;} /** *

The identifier of the lifecycle policy.

*/ inline CreateLifecyclePolicyResult& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;} /** *

The identifier of the lifecycle policy.

*/ inline CreateLifecyclePolicyResult& WithPolicyId(const char* value) { SetPolicyId(value); return *this;} private: Aws::String m_policyId; }; } // namespace Model } // namespace DLM } // namespace Aws