68 lines
1.7 KiB
C
68 lines
1.7 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/shield/model/Protection.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 DescribeProtectionResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeProtectionResult();
|
|||
|
|
DescribeProtectionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeProtectionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The <a>Protection</a> object that is described.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Protection& GetProtection() const{ return m_protection; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The <a>Protection</a> object that is described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProtection(const Protection& value) { m_protection = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The <a>Protection</a> object that is described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProtection(Protection&& value) { m_protection = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The <a>Protection</a> object that is described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeProtectionResult& WithProtection(const Protection& value) { SetProtection(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The <a>Protection</a> object that is described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeProtectionResult& WithProtection(Protection&& value) { SetProtection(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Protection m_protection;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Shield
|
|||
|
|
} // namespace Aws
|