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

The Protection object that is described.

*/ inline const Protection& GetProtection() const{ return m_protection; } /** *

The Protection object that is described.

*/ inline void SetProtection(const Protection& value) { m_protection = value; } /** *

The Protection object that is described.

*/ inline void SetProtection(Protection&& value) { m_protection = std::move(value); } /** *

The Protection object that is described.

*/ inline DescribeProtectionResult& WithProtection(const Protection& value) { SetProtection(value); return *this;} /** *

The Protection object that is described.

*/ inline DescribeProtectionResult& WithProtection(Protection&& value) { SetProtection(std::move(value)); return *this;} private: Protection m_protection; }; } // namespace Model } // namespace Shield } // namespace Aws