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-shield/include/aws/shield/model/CreateProtectionResult.h

85 lines
2.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/shield/Shield_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 Shield
{
namespace Model
{
class AWS_SHIELD_API CreateProtectionResult
{
public:
CreateProtectionResult();
CreateProtectionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProtectionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline const Aws::String& GetProtectionId() const{ return m_protectionId; }
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline void SetProtectionId(const Aws::String& value) { m_protectionId = value; }
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline void SetProtectionId(Aws::String&& value) { m_protectionId = std::move(value); }
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline void SetProtectionId(const char* value) { m_protectionId.assign(value); }
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline CreateProtectionResult& WithProtectionId(const Aws::String& value) { SetProtectionId(value); return *this;}
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline CreateProtectionResult& WithProtectionId(Aws::String&& value) { SetProtectionId(std::move(value)); return *this;}
/**
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
* created.</p>
*/
inline CreateProtectionResult& WithProtectionId(const char* value) { SetProtectionId(value); return *this;}
private:
Aws::String m_protectionId;
};
} // namespace Model
} // namespace Shield
} // namespace Aws