7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/AttackVolumeStatistics.h>
44 template <
typename BitsPerSecondT = AttackVolumeStatistics>
46 m_bitsPerSecondHasBeenSet =
true;
47 m_bitsPerSecond = std::forward<BitsPerSecondT>(value);
49 template <
typename BitsPerSecondT = AttackVolumeStatistics>
63 template <
typename PacketsPerSecondT = AttackVolumeStatistics>
65 m_packetsPerSecondHasBeenSet =
true;
66 m_packetsPerSecond = std::forward<PacketsPerSecondT>(value);
68 template <
typename PacketsPerSecondT = AttackVolumeStatistics>
83 template <
typename RequestsPerSecondT = AttackVolumeStatistics>
85 m_requestsPerSecondHasBeenSet =
true;
86 m_requestsPerSecond = std::forward<RequestsPerSecondT>(value);
88 template <
typename RequestsPerSecondT = AttackVolumeStatistics>
100 bool m_bitsPerSecondHasBeenSet =
false;
101 bool m_packetsPerSecondHasBeenSet =
false;
102 bool m_requestsPerSecondHasBeenSet =
false;
bool RequestsPerSecondHasBeenSet() const
bool PacketsPerSecondHasBeenSet() const
AWS_SHIELD_API AttackVolume(Aws::Utils::Json::JsonView jsonValue)
void SetPacketsPerSecond(PacketsPerSecondT &&value)
AttackVolume & WithBitsPerSecond(BitsPerSecondT &&value)
void SetBitsPerSecond(BitsPerSecondT &&value)
const AttackVolumeStatistics & GetPacketsPerSecond() const
AWS_SHIELD_API AttackVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
AttackVolume & WithRequestsPerSecond(RequestsPerSecondT &&value)
AWS_SHIELD_API AttackVolume()=default
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const AttackVolumeStatistics & GetBitsPerSecond() const
void SetRequestsPerSecond(RequestsPerSecondT &&value)
AttackVolume & WithPacketsPerSecond(PacketsPerSecondT &&value)
const AttackVolumeStatistics & GetRequestsPerSecond() const
bool BitsPerSecondHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue