7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/AttackVolumeStatistics.h>
50 template<
typename BitsPerSecondT = AttackVolumeStatistics>
51 void SetBitsPerSecond(BitsPerSecondT&& value) { m_bitsPerSecondHasBeenSet =
true; m_bitsPerSecond = std::forward<BitsPerSecondT>(value); }
52 template<
typename BitsPerSecondT = AttackVolumeStatistics>
63 template<
typename PacketsPerSecondT = AttackVolumeStatistics>
64 void SetPacketsPerSecond(PacketsPerSecondT&& value) { m_packetsPerSecondHasBeenSet =
true; m_packetsPerSecond = std::forward<PacketsPerSecondT>(value); }
65 template<
typename PacketsPerSecondT = AttackVolumeStatistics>
77 template<
typename RequestsPerSecondT = AttackVolumeStatistics>
78 void SetRequestsPerSecond(RequestsPerSecondT&& value) { m_requestsPerSecondHasBeenSet =
true; m_requestsPerSecond = std::forward<RequestsPerSecondT>(value); }
79 template<
typename RequestsPerSecondT = AttackVolumeStatistics>
85 bool m_bitsPerSecondHasBeenSet =
false;
88 bool m_packetsPerSecondHasBeenSet =
false;
91 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