7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/shield/Shield_EXPORTS.h>
11#include <aws/shield/model/AttackVectorDescription.h>
44 template <
typename AttackIdT = Aws::String>
46 m_attackIdHasBeenSet =
true;
47 m_attackId = std::forward<AttackIdT>(value);
49 template <
typename AttackIdT = Aws::String>
62 template <
typename ResourceArnT = Aws::String>
64 m_resourceArnHasBeenSet =
true;
65 m_resourceArn = std::forward<ResourceArnT>(value);
67 template <
typename ResourceArnT = Aws::String>
80 template <
typename StartTimeT = Aws::Utils::DateTime>
82 m_startTimeHasBeenSet =
true;
83 m_startTime = std::forward<StartTimeT>(value);
85 template <
typename StartTimeT = Aws::Utils::DateTime>
98 template <
typename EndTimeT = Aws::Utils::DateTime>
100 m_endTimeHasBeenSet =
true;
101 m_endTime = std::forward<EndTimeT>(value);
103 template <
typename EndTimeT = Aws::Utils::DateTime>
116 template <
typename AttackVectorsT = Aws::Vector<AttackVectorDescription>>
118 m_attackVectorsHasBeenSet =
true;
119 m_attackVectors = std::forward<AttackVectorsT>(value);
121 template <
typename AttackVectorsT = Aws::Vector<AttackVectorDescription>>
126 template <
typename AttackVectorsT = AttackVectorDescription>
128 m_attackVectorsHasBeenSet =
true;
129 m_attackVectors.emplace_back(std::forward<AttackVectorsT>(value));
143 bool m_attackIdHasBeenSet =
false;
144 bool m_resourceArnHasBeenSet =
false;
145 bool m_startTimeHasBeenSet =
false;
146 bool m_endTimeHasBeenSet =
false;
147 bool m_attackVectorsHasBeenSet =
false;
AttackSummary & WithStartTime(StartTimeT &&value)
bool AttackIdHasBeenSet() const
AWS_SHIELD_API AttackSummary()=default
AttackSummary & WithResourceArn(ResourceArnT &&value)
void SetAttackVectors(AttackVectorsT &&value)
AttackSummary & WithAttackId(AttackIdT &&value)
bool ResourceArnHasBeenSet() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
AttackSummary & WithEndTime(EndTimeT &&value)
AttackSummary & AddAttackVectors(AttackVectorsT &&value)
void SetResourceArn(ResourceArnT &&value)
AWS_SHIELD_API AttackSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(StartTimeT &&value)
AWS_SHIELD_API AttackSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
bool AttackVectorsHasBeenSet() const
const Aws::Vector< AttackVectorDescription > & GetAttackVectors() const
AttackSummary & WithAttackVectors(AttackVectorsT &&value)
const Aws::String & GetResourceArn() const
const Aws::String & GetAttackId() const
const Aws::Utils::DateTime & GetStartTime() const
void SetAttackId(AttackIdT &&value)
bool EndTimeHasBeenSet() const
void SetEndTime(EndTimeT &&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