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/AttackProperty.h>
12#include <aws/shield/model/Mitigation.h>
13#include <aws/shield/model/SubResourceSummary.h>
14#include <aws/shield/model/SummarizedCounter.h>
46 template <
typename AttackIdT = Aws::String>
48 m_attackIdHasBeenSet =
true;
49 m_attackId = std::forward<AttackIdT>(value);
51 template <
typename AttackIdT = Aws::String>
64 template <
typename ResourceArnT = Aws::String>
66 m_resourceArnHasBeenSet =
true;
67 m_resourceArn = std::forward<ResourceArnT>(value);
69 template <
typename ResourceArnT = Aws::String>
83 template <
typename SubResourcesT = Aws::Vector<SubResourceSummary>>
85 m_subResourcesHasBeenSet =
true;
86 m_subResources = std::forward<SubResourcesT>(value);
88 template <
typename SubResourcesT = Aws::Vector<SubResourceSummary>>
93 template <
typename SubResourcesT = SubResourceSummary>
95 m_subResourcesHasBeenSet =
true;
96 m_subResources.emplace_back(std::forward<SubResourcesT>(value));
107 template <
typename StartTimeT = Aws::Utils::DateTime>
109 m_startTimeHasBeenSet =
true;
110 m_startTime = std::forward<StartTimeT>(value);
112 template <
typename StartTimeT = Aws::Utils::DateTime>
125 template <
typename EndTimeT = Aws::Utils::DateTime>
127 m_endTimeHasBeenSet =
true;
128 m_endTime = std::forward<EndTimeT>(value);
130 template <
typename EndTimeT = Aws::Utils::DateTime>
143 template <
typename AttackCountersT = Aws::Vector<SummarizedCounter>>
145 m_attackCountersHasBeenSet =
true;
146 m_attackCounters = std::forward<AttackCountersT>(value);
148 template <
typename AttackCountersT = Aws::Vector<SummarizedCounter>>
153 template <
typename AttackCountersT = SummarizedCounter>
155 m_attackCountersHasBeenSet =
true;
156 m_attackCounters.emplace_back(std::forward<AttackCountersT>(value));
171 template <
typename AttackPropertiesT = Aws::Vector<AttackProperty>>
173 m_attackPropertiesHasBeenSet =
true;
174 m_attackProperties = std::forward<AttackPropertiesT>(value);
176 template <
typename AttackPropertiesT = Aws::Vector<AttackProperty>>
181 template <
typename AttackPropertiesT = AttackProperty>
183 m_attackPropertiesHasBeenSet =
true;
184 m_attackProperties.emplace_back(std::forward<AttackPropertiesT>(value));
195 template <
typename MitigationsT = Aws::Vector<Mitigation>>
197 m_mitigationsHasBeenSet =
true;
198 m_mitigations = std::forward<MitigationsT>(value);
200 template <
typename MitigationsT = Aws::Vector<Mitigation>>
205 template <
typename MitigationsT = Mitigation>
207 m_mitigationsHasBeenSet =
true;
208 m_mitigations.emplace_back(std::forward<MitigationsT>(value));
228 bool m_attackIdHasBeenSet =
false;
229 bool m_resourceArnHasBeenSet =
false;
230 bool m_subResourcesHasBeenSet =
false;
231 bool m_startTimeHasBeenSet =
false;
232 bool m_endTimeHasBeenSet =
false;
233 bool m_attackCountersHasBeenSet =
false;
234 bool m_attackPropertiesHasBeenSet =
false;
235 bool m_mitigationsHasBeenSet =
false;
void SetResourceArn(ResourceArnT &&value)
bool StartTimeHasBeenSet() const
void SetAttackCounters(AttackCountersT &&value)
AttackDetail & WithAttackCounters(AttackCountersT &&value)
const Aws::String & GetAttackId() const
AttackDetail & WithSubResources(SubResourcesT &&value)
AttackDetail & AddAttackCounters(AttackCountersT &&value)
bool AttackPropertiesHasBeenSet() const
void SetEndTime(EndTimeT &&value)
AWS_SHIELD_API AttackDetail(Aws::Utils::Json::JsonView jsonValue)
void SetAttackProperties(AttackPropertiesT &&value)
const Aws::Utils::DateTime & GetStartTime() const
AttackDetail & WithAttackId(AttackIdT &&value)
void SetSubResources(SubResourcesT &&value)
void SetStartTime(StartTimeT &&value)
bool MitigationsHasBeenSet() const
const Aws::Vector< SummarizedCounter > & GetAttackCounters() const
bool EndTimeHasBeenSet() const
AWS_SHIELD_API AttackDetail()=default
const Aws::Vector< Mitigation > & GetMitigations() const
AttackDetail & WithResourceArn(ResourceArnT &&value)
AttackDetail & WithAttackProperties(AttackPropertiesT &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubResourcesHasBeenSet() const
bool ResourceArnHasBeenSet() const
void SetMitigations(MitigationsT &&value)
const Aws::String & GetResourceArn() const
bool AttackIdHasBeenSet() const
AttackDetail & WithEndTime(EndTimeT &&value)
bool AttackCountersHasBeenSet() const
AWS_SHIELD_API AttackDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
AttackDetail & AddMitigations(MitigationsT &&value)
AttackDetail & WithStartTime(StartTimeT &&value)
void SetAttackId(AttackIdT &&value)
const Aws::Vector< SubResourceSummary > & GetSubResources() const
const Aws::Vector< AttackProperty > & GetAttackProperties() const
AttackDetail & AddSubResources(SubResourcesT &&value)
AttackDetail & AddAttackProperties(AttackPropertiesT &&value)
AttackDetail & WithMitigations(MitigationsT &&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