7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/AttackVectorDescription.h>
52 inline void SetAttackId(
const char* value) { m_attackIdHasBeenSet =
true; m_attackId.assign(value); }
66 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
112 bool m_attackIdHasBeenSet =
false;
115 bool m_resourceArnHasBeenSet =
false;
118 bool m_startTimeHasBeenSet =
false;
121 bool m_endTimeHasBeenSet =
false;
124 bool m_attackVectorsHasBeenSet =
false;
bool AttackIdHasBeenSet() const
AttackSummary & WithEndTime(Aws::Utils::DateTime &&value)
void SetResourceArn(const char *value)
void SetAttackVectors(const Aws::Vector< AttackVectorDescription > &value)
AttackSummary & AddAttackVectors(const AttackVectorDescription &value)
void SetAttackId(Aws::String &&value)
bool ResourceArnHasBeenSet() const
AWS_SHIELD_API AttackSummary()
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttackId(const char *value)
AttackSummary & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetAttackId(const Aws::String &value)
AttackSummary & WithResourceArn(const char *value)
AttackSummary & WithEndTime(const Aws::Utils::DateTime &value)
AttackSummary & WithStartTime(const Aws::Utils::DateTime &value)
AWS_SHIELD_API AttackSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_SHIELD_API AttackSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
AttackSummary & WithAttackVectors(Aws::Vector< AttackVectorDescription > &&value)
bool AttackVectorsHasBeenSet() const
const Aws::Vector< AttackVectorDescription > & GetAttackVectors() const
AttackSummary & AddAttackVectors(AttackVectorDescription &&value)
AttackSummary & WithAttackId(const Aws::String &value)
const Aws::String & GetResourceArn() const
AttackSummary & WithResourceArn(const Aws::String &value)
const Aws::String & GetAttackId() const
AttackSummary & WithAttackId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
void SetAttackVectors(Aws::Vector< AttackVectorDescription > &&value)
void SetResourceArn(const Aws::String &value)
AttackSummary & WithAttackVectors(const Aws::Vector< AttackVectorDescription > &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AttackSummary & WithResourceArn(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
AttackSummary & WithAttackId(const char *value)
bool EndTimeHasBeenSet() 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