7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/AttackLayer.h>
9#include <aws/shield/model/AttackPropertyIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/Unit.h>
12#include <aws/shield/model/Contributor.h>
101 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
102 inline void SetUnit(
Unit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
111 inline long long GetTotal()
const{
return m_total; }
113 inline void SetTotal(
long long value) { m_totalHasBeenSet =
true; m_total = value; }
119 bool m_attackLayerHasBeenSet =
false;
122 bool m_attackPropertyIdentifierHasBeenSet =
false;
125 bool m_topContributorsHasBeenSet =
false;
128 bool m_unitHasBeenSet =
false;
131 bool m_totalHasBeenSet =
false;
AttackProperty & WithTotal(long long value)
long long GetTotal() const
AWS_SHIELD_API AttackProperty(Aws::Utils::Json::JsonView jsonValue)
void SetAttackLayer(const AttackLayer &value)
AWS_SHIELD_API AttackProperty()
void SetUnit(Unit &&value)
AWS_SHIELD_API AttackProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttackLayerHasBeenSet() const
AttackProperty & WithAttackPropertyIdentifier(AttackPropertyIdentifier &&value)
bool TotalHasBeenSet() const
AttackProperty & AddTopContributors(const Contributor &value)
bool TopContributorsHasBeenSet() const
bool AttackPropertyIdentifierHasBeenSet() const
void SetTopContributors(const Aws::Vector< Contributor > &value)
AttackProperty & WithTopContributors(Aws::Vector< Contributor > &&value)
AttackProperty & WithAttackPropertyIdentifier(const AttackPropertyIdentifier &value)
const AttackLayer & GetAttackLayer() const
void SetTotal(long long value)
void SetAttackPropertyIdentifier(const AttackPropertyIdentifier &value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTopContributors(Aws::Vector< Contributor > &&value)
AttackProperty & AddTopContributors(Contributor &&value)
const AttackPropertyIdentifier & GetAttackPropertyIdentifier() const
AttackProperty & WithAttackLayer(AttackLayer &&value)
const Aws::Vector< Contributor > & GetTopContributors() const
void SetUnit(const Unit &value)
const Unit & GetUnit() const
void SetAttackLayer(AttackLayer &&value)
bool UnitHasBeenSet() const
AttackProperty & WithAttackLayer(const AttackLayer &value)
AttackProperty & WithUnit(const Unit &value)
AttackProperty & WithTopContributors(const Aws::Vector< Contributor > &value)
AttackProperty & WithUnit(Unit &&value)
void SetAttackPropertyIdentifier(AttackPropertyIdentifier &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue