This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dlm/include/aws/dlm/model/CreateLifecyclePolicyResult.h

78 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dlm/DLM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
CreateLifecyclePolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline const Aws::String& GetPolicyId() const{ return m_policyId; }
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline void SetPolicyId(const Aws::String& value) { m_policyId = value; }
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline void SetPolicyId(Aws::String&& value) { m_policyId = std::move(value); }
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline void SetPolicyId(const char* value) { m_policyId.assign(value); }
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline CreateLifecyclePolicyResult& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;}
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline CreateLifecyclePolicyResult& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;}
/**
* <p>The identifier of the lifecycle policy.</p>
*/
inline CreateLifecyclePolicyResult& WithPolicyId(const char* value) { SetPolicyId(value); return *this;}
private:
Aws::String m_policyId;
};
} // namespace Model
} // namespace DLM
} // namespace Aws