7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgentRequest.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/ThreatAnchorShape.h>
12#include <aws/securityagent/model/ThreatEvidenceShape.h>
13#include <aws/securityagent/model/ThreatSeverity.h>
14#include <aws/securityagent/model/ThreatStatus.h>
19namespace SecurityAgent {
45 template <
typename ThreatIdT = Aws::String>
47 m_threatIdHasBeenSet =
true;
48 m_threatId = std::forward<ThreatIdT>(value);
50 template <
typename ThreatIdT = Aws::String>
63 template <
typename AgentSpaceIdT = Aws::String>
65 m_agentSpaceIdHasBeenSet =
true;
66 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
68 template <
typename AgentSpaceIdT = Aws::String>
81 template <
typename TitleT = Aws::String>
83 m_titleHasBeenSet =
true;
84 m_title = std::forward<TitleT>(value);
86 template <
typename TitleT = Aws::String>
88 SetTitle(std::forward<TitleT>(value));
100 m_statusHasBeenSet =
true;
115 template <
typename CommentsT = Aws::String>
117 m_commentsHasBeenSet =
true;
118 m_comments = std::forward<CommentsT>(value);
120 template <
typename CommentsT = Aws::String>
133 template <
typename StatementT = Aws::String>
135 m_statementHasBeenSet =
true;
136 m_statement = std::forward<StatementT>(value);
138 template <
typename StatementT = Aws::String>
152 m_severityHasBeenSet =
true;
167 template <
typename ThreatSourceT = Aws::String>
169 m_threatSourceHasBeenSet =
true;
170 m_threatSource = std::forward<ThreatSourceT>(value);
172 template <
typename ThreatSourceT = Aws::String>
185 template <
typename PrerequisitesT = Aws::String>
187 m_prerequisitesHasBeenSet =
true;
188 m_prerequisites = std::forward<PrerequisitesT>(value);
190 template <
typename PrerequisitesT = Aws::String>
203 template <
typename ThreatActionT = Aws::String>
205 m_threatActionHasBeenSet =
true;
206 m_threatAction = std::forward<ThreatActionT>(value);
208 template <
typename ThreatActionT = Aws::String>
221 template <
typename ThreatImpactT = Aws::String>
223 m_threatImpactHasBeenSet =
true;
224 m_threatImpact = std::forward<ThreatImpactT>(value);
226 template <
typename ThreatImpactT = Aws::String>
239 template <
typename ImpactedGoalT = Aws::Vector<Aws::String>>
241 m_impactedGoalHasBeenSet =
true;
242 m_impactedGoal = std::forward<ImpactedGoalT>(value);
244 template <
typename ImpactedGoalT = Aws::Vector<Aws::String>>
249 template <
typename ImpactedGoalT = Aws::String>
251 m_impactedGoalHasBeenSet =
true;
252 m_impactedGoal.emplace_back(std::forward<ImpactedGoalT>(value));
263 template <
typename ImpactedAssetsT = Aws::Vector<Aws::String>>
265 m_impactedAssetsHasBeenSet =
true;
266 m_impactedAssets = std::forward<ImpactedAssetsT>(value);
268 template <
typename ImpactedAssetsT = Aws::Vector<Aws::String>>
273 template <
typename ImpactedAssetsT = Aws::String>
275 m_impactedAssetsHasBeenSet =
true;
276 m_impactedAssets.emplace_back(std::forward<ImpactedAssetsT>(value));
287 template <
typename AnchorT = ThreatAnchorShape>
289 m_anchorHasBeenSet =
true;
290 m_anchor = std::forward<AnchorT>(value);
292 template <
typename AnchorT = ThreatAnchorShape>
305 template <
typename Ev
idenceT = Aws::Vector<ThreatEv
idenceShape>>
307 m_evidenceHasBeenSet =
true;
308 m_evidence = std::forward<EvidenceT>(value);
310 template <
typename Ev
idenceT = Aws::Vector<ThreatEv
idenceShape>>
315 template <
typename Ev
idenceT = ThreatEv
idenceShape>
317 m_evidenceHasBeenSet =
true;
318 m_evidence.emplace_back(std::forward<EvidenceT>(value));
329 template <
typename RecommendationT = Aws::String>
331 m_recommendationHasBeenSet =
true;
332 m_recommendation = std::forward<RecommendationT>(value);
334 template <
typename RecommendationT = Aws::String>
367 ThreatAnchorShape m_anchor;
372 bool m_threatIdHasBeenSet =
false;
373 bool m_agentSpaceIdHasBeenSet =
false;
374 bool m_titleHasBeenSet =
false;
375 bool m_statusHasBeenSet =
false;
376 bool m_commentsHasBeenSet =
false;
377 bool m_statementHasBeenSet =
false;
378 bool m_severityHasBeenSet =
false;
379 bool m_threatSourceHasBeenSet =
false;
380 bool m_prerequisitesHasBeenSet =
false;
381 bool m_threatActionHasBeenSet =
false;
382 bool m_threatImpactHasBeenSet =
false;
383 bool m_impactedGoalHasBeenSet =
false;
384 bool m_impactedAssetsHasBeenSet =
false;
385 bool m_anchorHasBeenSet =
false;
386 bool m_evidenceHasBeenSet =
false;
387 bool m_recommendationHasBeenSet =
false;
const Aws::String & GetTitle() const
bool PrerequisitesHasBeenSet() const
bool ThreatSourceHasBeenSet() const
bool ImpactedGoalHasBeenSet() const
void SetAnchor(AnchorT &&value)
UpdateThreatRequest & WithThreatAction(ThreatActionT &&value)
UpdateThreatRequest & WithStatus(ThreatStatus value)
UpdateThreatRequest & WithThreatSource(ThreatSourceT &&value)
void SetThreatSource(ThreatSourceT &&value)
bool ThreatActionHasBeenSet() const
const Aws::String & GetThreatSource() const
void SetThreatAction(ThreatActionT &&value)
void SetSeverity(ThreatSeverity value)
bool EvidenceHasBeenSet() const
const Aws::String & GetThreatAction() const
UpdateThreatRequest & AddImpactedAssets(ImpactedAssetsT &&value)
bool SeverityHasBeenSet() const
const Aws::Vector< Aws::String > & GetImpactedAssets() const
bool RecommendationHasBeenSet() const
UpdateThreatRequest & WithComments(CommentsT &&value)
UpdateThreatRequest & WithPrerequisites(PrerequisitesT &&value)
bool AgentSpaceIdHasBeenSet() const
AWS_SECURITYAGENT_API UpdateThreatRequest()=default
void SetImpactedGoal(ImpactedGoalT &&value)
UpdateThreatRequest & WithAnchor(AnchorT &&value)
void SetThreatId(ThreatIdT &&value)
ThreatStatus GetStatus() const
void SetRecommendation(RecommendationT &&value)
UpdateThreatRequest & WithThreatId(ThreatIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
bool ThreatIdHasBeenSet() const
const Aws::String & GetComments() const
bool AnchorHasBeenSet() const
UpdateThreatRequest & WithSeverity(ThreatSeverity value)
void SetStatus(ThreatStatus value)
bool CommentsHasBeenSet() const
UpdateThreatRequest & AddImpactedGoal(ImpactedGoalT &&value)
UpdateThreatRequest & AddEvidence(EvidenceT &&value)
void SetPrerequisites(PrerequisitesT &&value)
void SetComments(CommentsT &&value)
UpdateThreatRequest & WithStatement(StatementT &&value)
const Aws::Vector< ThreatEvidenceShape > & GetEvidence() const
UpdateThreatRequest & WithImpactedAssets(ImpactedAssetsT &&value)
const Aws::Vector< Aws::String > & GetImpactedGoal() const
ThreatSeverity GetSeverity() const
UpdateThreatRequest & WithTitle(TitleT &&value)
const Aws::String & GetRecommendation() const
const Aws::String & GetThreatId() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
void SetStatement(StatementT &&value)
UpdateThreatRequest & WithEvidence(EvidenceT &&value)
const Aws::String & GetPrerequisites() const
UpdateThreatRequest & WithImpactedGoal(ImpactedGoalT &&value)
virtual const char * GetServiceRequestName() const override
bool ThreatImpactHasBeenSet() const
void SetThreatImpact(ThreatImpactT &&value)
UpdateThreatRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
bool StatementHasBeenSet() const
bool TitleHasBeenSet() const
UpdateThreatRequest & WithThreatImpact(ThreatImpactT &&value)
void SetEvidence(EvidenceT &&value)
const Aws::String & GetStatement() const
const Aws::String & GetThreatImpact() const
bool ImpactedAssetsHasBeenSet() const
UpdateThreatRequest & WithRecommendation(RecommendationT &&value)
const Aws::String & GetAgentSpaceId() const
void SetTitle(TitleT &&value)
const ThreatAnchorShape & GetAnchor() const
bool StatusHasBeenSet() const
void SetImpactedAssets(ImpactedAssetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector