/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Shield { namespace Model { /** *

Statistics objects for the various data types in AttackVolume. *

See Also:

AWS * API Reference

*/ class AttackVolumeStatistics { public: AWS_SHIELD_API AttackVolumeStatistics(); AWS_SHIELD_API AttackVolumeStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API AttackVolumeStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The maximum attack volume observed for the given unit.

*/ inline double GetMax() const{ return m_max; } /** *

The maximum attack volume observed for the given unit.

*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *

The maximum attack volume observed for the given unit.

*/ inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } /** *

The maximum attack volume observed for the given unit.

*/ inline AttackVolumeStatistics& WithMax(double value) { SetMax(value); return *this;} private: double m_max; bool m_maxHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws