7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/shield/model/SubResourceSummary.h>
12#include <aws/shield/model/SummarizedCounter.h>
13#include <aws/shield/model/AttackProperty.h>
14#include <aws/shield/model/Mitigation.h>
54 inline void SetAttackId(
const char* value) { m_attackIdHasBeenSet =
true; m_attackId.assign(value); }
68 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
161 bool m_attackIdHasBeenSet =
false;
164 bool m_resourceArnHasBeenSet =
false;
167 bool m_subResourcesHasBeenSet =
false;
170 bool m_startTimeHasBeenSet =
false;
173 bool m_endTimeHasBeenSet =
false;
176 bool m_attackCountersHasBeenSet =
false;
179 bool m_attackPropertiesHasBeenSet =
false;
182 bool m_mitigationsHasBeenSet =
false;
void SetAttackId(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
AttackDetail & AddMitigations(const Mitigation &value)
AttackDetail & AddSubResources(const SubResourceSummary &value)
bool StartTimeHasBeenSet() const
AttackDetail & AddAttackProperties(const AttackProperty &value)
AttackDetail & AddAttackProperties(AttackProperty &&value)
AttackDetail & WithResourceArn(const char *value)
const Aws::String & GetAttackId() const
AttackDetail & WithEndTime(Aws::Utils::DateTime &&value)
AttackDetail & WithResourceArn(const Aws::String &value)
bool AttackPropertiesHasBeenSet() const
AttackDetail & WithAttackId(const char *value)
void SetAttackId(const Aws::String &value)
void SetMitigations(const Aws::Vector< Mitigation > &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetResourceArn(const char *value)
AttackDetail & WithAttackProperties(Aws::Vector< AttackProperty > &&value)
AWS_SHIELD_API AttackDetail(Aws::Utils::Json::JsonView jsonValue)
AttackDetail & AddMitigations(Mitigation &&value)
void SetMitigations(Aws::Vector< Mitigation > &&value)
const Aws::Utils::DateTime & GetStartTime() const
AttackDetail & WithEndTime(const Aws::Utils::DateTime &value)
bool MitigationsHasBeenSet() const
void SetSubResources(const Aws::Vector< SubResourceSummary > &value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< SummarizedCounter > & GetAttackCounters() const
bool EndTimeHasBeenSet() const
AttackDetail & AddSubResources(SubResourceSummary &&value)
AttackDetail & WithAttackCounters(const Aws::Vector< SummarizedCounter > &value)
const Aws::Vector< Mitigation > & GetMitigations() const
void SetAttackId(const char *value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubResourcesHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
bool ResourceArnHasBeenSet() const
AttackDetail & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetResourceArn() const
bool AttackIdHasBeenSet() const
AttackDetail & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AttackDetail & AddAttackCounters(const SummarizedCounter &value)
bool AttackCountersHasBeenSet() const
AWS_SHIELD_API AttackDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
void SetResourceArn(const Aws::String &value)
void SetSubResources(Aws::Vector< SubResourceSummary > &&value)
AWS_SHIELD_API AttackDetail()
void SetAttackCounters(const Aws::Vector< SummarizedCounter > &value)
void SetAttackProperties(Aws::Vector< AttackProperty > &&value)
const Aws::Vector< SubResourceSummary > & GetSubResources() const
AttackDetail & WithMitigations(Aws::Vector< Mitigation > &&value)
void SetAttackProperties(const Aws::Vector< AttackProperty > &value)
const Aws::Vector< AttackProperty > & GetAttackProperties() const
AttackDetail & WithSubResources(const Aws::Vector< SubResourceSummary > &value)
AttackDetail & WithAttackId(Aws::String &&value)
AttackDetail & WithSubResources(Aws::Vector< SubResourceSummary > &&value)
void SetAttackCounters(Aws::Vector< SummarizedCounter > &&value)
AttackDetail & WithResourceArn(Aws::String &&value)
AttackDetail & WithAttackId(const Aws::String &value)
AttackDetail & WithMitigations(const Aws::Vector< Mitigation > &value)
AttackDetail & WithAttackProperties(const Aws::Vector< AttackProperty > &value)
AttackDetail & AddAttackCounters(SummarizedCounter &&value)
AttackDetail & WithAttackCounters(Aws::Vector< SummarizedCounter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue