/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The mitigation applied to a DDoS attack.See Also:
AWS
* API Reference
The name of the mitigation taken for this attack.
*/ inline const Aws::String& GetMitigationName() const{ return m_mitigationName; } /** *The name of the mitigation taken for this attack.
*/ inline bool MitigationNameHasBeenSet() const { return m_mitigationNameHasBeenSet; } /** *The name of the mitigation taken for this attack.
*/ inline void SetMitigationName(const Aws::String& value) { m_mitigationNameHasBeenSet = true; m_mitigationName = value; } /** *The name of the mitigation taken for this attack.
*/ inline void SetMitigationName(Aws::String&& value) { m_mitigationNameHasBeenSet = true; m_mitigationName = std::move(value); } /** *The name of the mitigation taken for this attack.
*/ inline void SetMitigationName(const char* value) { m_mitigationNameHasBeenSet = true; m_mitigationName.assign(value); } /** *The name of the mitigation taken for this attack.
*/ inline Mitigation& WithMitigationName(const Aws::String& value) { SetMitigationName(value); return *this;} /** *The name of the mitigation taken for this attack.
*/ inline Mitigation& WithMitigationName(Aws::String&& value) { SetMitigationName(std::move(value)); return *this;} /** *The name of the mitigation taken for this attack.
*/ inline Mitigation& WithMitigationName(const char* value) { SetMitigationName(value); return *this;} private: Aws::String m_mitigationName; bool m_mitigationNameHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws