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

The attack that is described.

*/ inline const AttackDetail& GetAttack() const{ return m_attack; } /** *

The attack that is described.

*/ inline void SetAttack(const AttackDetail& value) { m_attack = value; } /** *

The attack that is described.

*/ inline void SetAttack(AttackDetail&& value) { m_attack = std::move(value); } /** *

The attack that is described.

*/ inline DescribeAttackResult& WithAttack(const AttackDetail& value) { SetAttack(value); return *this;} /** *

The attack that is described.

*/ inline DescribeAttackResult& WithAttack(AttackDetail&& value) { SetAttack(std::move(value)); return *this;} private: AttackDetail m_attack; }; } // namespace Model } // namespace Shield } // namespace Aws