7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/Attack.h>
11#include <aws/guardduty/model/AttackPhaseName.h>
51 m_phaseHasBeenSet =
true;
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
85 template <
typename AttacksT = Aws::Vector<Attack>>
87 m_attacksHasBeenSet =
true;
88 m_attacks = std::forward<AttacksT>(value);
90 template <
typename AttacksT = Aws::Vector<Attack>>
95 template <
typename AttacksT = Attack>
97 m_attacksHasBeenSet =
true;
98 m_attacks.emplace_back(std::forward<AttacksT>(value));
108 bool m_phaseHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
110 bool m_attacksHasBeenSet =
false;
bool PhaseHasBeenSet() const
void SetPhase(AttackPhaseName value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Attack > & GetAttacks() const
bool DescriptionHasBeenSet() const
AttackPhase & WithPhase(AttackPhaseName value)
AttackPhaseName GetPhase() const
AWS_GUARDDUTY_API AttackPhase()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AttackPhase & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AttackPhase & WithAttacks(AttacksT &&value)
AWS_GUARDDUTY_API AttackPhase(Aws::Utils::Json::JsonView jsonValue)
AttackPhase & AddAttacks(AttacksT &&value)
void SetAttacks(AttacksT &&value)
AWS_GUARDDUTY_API AttackPhase & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttacksHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue