7#include <aws/crt/cbor/Cbor.h>
8#include <aws/shield/Shield_EXPORTS.h>
9#include <aws/shield/model/AttackVolume.h>
34 AWS_SHIELD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename AttackVolumeT = AttackVolume>
45 m_attackVolumeHasBeenSet =
true;
46 m_attackVolume = std::forward<AttackVolumeT>(value);
48 template <
typename AttackVolumeT = AttackVolume>
63 m_attackCountHasBeenSet =
true;
64 m_attackCount = value;
74 long long m_attackCount{0};
75 bool m_attackVolumeHasBeenSet =
false;
76 bool m_attackCountHasBeenSet =
false;
AttackStatisticsDataItem & WithAttackVolume(AttackVolumeT &&value)
const AttackVolume & GetAttackVolume() const
AttackStatisticsDataItem & WithAttackCount(long long value)
AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AttackVolumeHasBeenSet() const
bool AttackCountHasBeenSet() const
void SetAttackCount(long long value)
long long GetAttackCount() const
AWS_SHIELD_API AttackStatisticsDataItem(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAttackVolume(AttackVolumeT &&value)
AWS_SHIELD_API AttackStatisticsDataItem & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API AttackStatisticsDataItem()=default