/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A single attack statistics data record. This is returned by
* DescribeAttackStatistics along with a time range indicating the time
* period that the attack statistics apply to. See Also:
AWS
* API Reference
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
Information about the volume of attacks during the time period. If the
* accompanying AttackCount
is zero, this setting might be empty.
The number of attacks detected during the time period. This is always * present, but might be zero.
*/ inline long long GetAttackCount() const{ return m_attackCount; } /** *The number of attacks detected during the time period. This is always * present, but might be zero.
*/ inline bool AttackCountHasBeenSet() const { return m_attackCountHasBeenSet; } /** *The number of attacks detected during the time period. This is always * present, but might be zero.
*/ inline void SetAttackCount(long long value) { m_attackCountHasBeenSet = true; m_attackCount = value; } /** *The number of attacks detected during the time period. This is always * present, but might be zero.
*/ inline AttackStatisticsDataItem& WithAttackCount(long long value) { SetAttackCount(value); return *this;} private: AttackVolume m_attackVolume; bool m_attackVolumeHasBeenSet = false; long long m_attackCount; bool m_attackCountHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws