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>
50 template<
typename AttackIdT = Aws::String>
51 void SetAttackId(AttackIdT&& value) { m_attackIdHasBeenSet =
true; m_attackId = std::forward<AttackIdT>(value); }
52 template<
typename AttackIdT = Aws::String>
62 template<
typename ResourceArnT = Aws::String>
63 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
64 template<
typename ResourceArnT = Aws::String>
74 template<
typename StartTimeT = Aws::Utils::DateTime>
75 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
76 template<
typename StartTimeT = Aws::Utils::DateTime>
86 template<
typename EndTimeT = Aws::Utils::DateTime>
87 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
88 template<
typename EndTimeT = Aws::Utils::DateTime>
98 template<
typename AttackVectorsT = Aws::Vector<AttackVectorDescription>>
99 void SetAttackVectors(AttackVectorsT&& value) { m_attackVectorsHasBeenSet =
true; m_attackVectors = std::forward<AttackVectorsT>(value); }
100 template<
typename AttackVectorsT = Aws::Vector<AttackVectorDescription>>
102 template<
typename AttackVectorsT = AttackVectorDescription>
103 AttackSummary&
AddAttackVectors(AttackVectorsT&& value) { m_attackVectorsHasBeenSet =
true; m_attackVectors.emplace_back(std::forward<AttackVectorsT>(value));
return *
this; }
108 bool m_attackIdHasBeenSet =
false;
111 bool m_resourceArnHasBeenSet =
false;
114 bool m_startTimeHasBeenSet =
false;
117 bool m_endTimeHasBeenSet =
false;
120 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