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/StrideCategory.h>
12#include <aws/securityagent/model/ThreatAnchorShape.h>
13#include <aws/securityagent/model/ThreatEvidenceShape.h>
14#include <aws/securityagent/model/ThreatSeverity.h>
19namespace SecurityAgent {
45 template <
typename AgentSpaceIdT = Aws::String>
47 m_agentSpaceIdHasBeenSet =
true;
48 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
50 template <
typename AgentSpaceIdT = Aws::String>
63 template <
typename ThreatJobIdT = Aws::String>
65 m_threatJobIdHasBeenSet =
true;
66 m_threatJobId = std::forward<ThreatJobIdT>(value);
68 template <
typename ThreatJobIdT = 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));
99 template <
typename StatementT = Aws::String>
101 m_statementHasBeenSet =
true;
102 m_statement = std::forward<StatementT>(value);
104 template <
typename StatementT = Aws::String>
118 m_severityHasBeenSet =
true;
133 template <
typename CommentsT = Aws::String>
135 m_commentsHasBeenSet =
true;
136 m_comments = std::forward<CommentsT>(value);
138 template <
typename CommentsT = Aws::String>
151 template <
typename Str
ideT = Aws::Vector<Str
ideCategory>>
153 m_strideHasBeenSet =
true;
154 m_stride = std::forward<StrideT>(value);
156 template <
typename Str
ideT = Aws::Vector<Str
ideCategory>>
162 m_strideHasBeenSet =
true;
163 m_stride.push_back(value);
174 template <
typename ThreatSourceT = Aws::String>
176 m_threatSourceHasBeenSet =
true;
177 m_threatSource = std::forward<ThreatSourceT>(value);
179 template <
typename ThreatSourceT = Aws::String>
192 template <
typename PrerequisitesT = Aws::String>
194 m_prerequisitesHasBeenSet =
true;
195 m_prerequisites = std::forward<PrerequisitesT>(value);
197 template <
typename PrerequisitesT = Aws::String>
210 template <
typename ThreatActionT = Aws::String>
212 m_threatActionHasBeenSet =
true;
213 m_threatAction = std::forward<ThreatActionT>(value);
215 template <
typename ThreatActionT = Aws::String>
228 template <
typename ThreatImpactT = Aws::String>
230 m_threatImpactHasBeenSet =
true;
231 m_threatImpact = std::forward<ThreatImpactT>(value);
233 template <
typename ThreatImpactT = Aws::String>
246 template <
typename ImpactedGoalT = Aws::Vector<Aws::String>>
248 m_impactedGoalHasBeenSet =
true;
249 m_impactedGoal = std::forward<ImpactedGoalT>(value);
251 template <
typename ImpactedGoalT = Aws::Vector<Aws::String>>
256 template <
typename ImpactedGoalT = Aws::String>
258 m_impactedGoalHasBeenSet =
true;
259 m_impactedGoal.emplace_back(std::forward<ImpactedGoalT>(value));
270 template <
typename ImpactedAssetsT = Aws::Vector<Aws::String>>
272 m_impactedAssetsHasBeenSet =
true;
273 m_impactedAssets = std::forward<ImpactedAssetsT>(value);
275 template <
typename ImpactedAssetsT = Aws::Vector<Aws::String>>
280 template <
typename ImpactedAssetsT = Aws::String>
282 m_impactedAssetsHasBeenSet =
true;
283 m_impactedAssets.emplace_back(std::forward<ImpactedAssetsT>(value));
294 template <
typename AnchorT = ThreatAnchorShape>
296 m_anchorHasBeenSet =
true;
297 m_anchor = std::forward<AnchorT>(value);
299 template <
typename AnchorT = ThreatAnchorShape>
312 template <
typename Ev
idenceT = Aws::Vector<ThreatEv
idenceShape>>
314 m_evidenceHasBeenSet =
true;
315 m_evidence = std::forward<EvidenceT>(value);
317 template <
typename Ev
idenceT = Aws::Vector<ThreatEv
idenceShape>>
322 template <
typename Ev
idenceT = ThreatEv
idenceShape>
324 m_evidenceHasBeenSet =
true;
325 m_evidence.emplace_back(std::forward<EvidenceT>(value));
336 template <
typename RecommendationT = Aws::String>
338 m_recommendationHasBeenSet =
true;
339 m_recommendation = std::forward<RecommendationT>(value);
341 template <
typename RecommendationT = Aws::String>
374 ThreatAnchorShape m_anchor;
379 bool m_agentSpaceIdHasBeenSet =
false;
380 bool m_threatJobIdHasBeenSet =
false;
381 bool m_titleHasBeenSet =
false;
382 bool m_statementHasBeenSet =
false;
383 bool m_severityHasBeenSet =
false;
384 bool m_commentsHasBeenSet =
false;
385 bool m_strideHasBeenSet =
false;
386 bool m_threatSourceHasBeenSet =
false;
387 bool m_prerequisitesHasBeenSet =
false;
388 bool m_threatActionHasBeenSet =
false;
389 bool m_threatImpactHasBeenSet =
false;
390 bool m_impactedGoalHasBeenSet =
false;
391 bool m_impactedAssetsHasBeenSet =
false;
392 bool m_anchorHasBeenSet =
false;
393 bool m_evidenceHasBeenSet =
false;
394 bool m_recommendationHasBeenSet =
false;
const Aws::Vector< ThreatEvidenceShape > & GetEvidence() const
const Aws::String & GetThreatSource() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
const ThreatAnchorShape & GetAnchor() const
bool AnchorHasBeenSet() const
const Aws::String & GetThreatAction() const
void SetStride(StrideT &&value)
bool RecommendationHasBeenSet() const
CreateThreatRequest & WithAnchor(AnchorT &&value)
const Aws::String & GetStatement() const
void SetRecommendation(RecommendationT &&value)
const Aws::String & GetComments() const
CreateThreatRequest & AddStride(StrideCategory value)
void SetComments(CommentsT &&value)
const Aws::String & GetPrerequisites() const
void SetImpactedAssets(ImpactedAssetsT &&value)
bool PrerequisitesHasBeenSet() const
bool ThreatActionHasBeenSet() const
void SetEvidence(EvidenceT &&value)
CreateThreatRequest & WithThreatSource(ThreatSourceT &&value)
CreateThreatRequest & WithSeverity(ThreatSeverity value)
const Aws::Vector< StrideCategory > & GetStride() const
bool ThreatImpactHasBeenSet() const
void SetThreatSource(ThreatSourceT &&value)
CreateThreatRequest & WithThreatJobId(ThreatJobIdT &&value)
AWS_SECURITYAGENT_API CreateThreatRequest()=default
CreateThreatRequest & WithTitle(TitleT &&value)
bool SeverityHasBeenSet() const
const Aws::String & GetThreatJobId() const
void SetThreatAction(ThreatActionT &&value)
void SetThreatJobId(ThreatJobIdT &&value)
bool TitleHasBeenSet() const
CreateThreatRequest & AddImpactedGoal(ImpactedGoalT &&value)
CreateThreatRequest & WithStride(StrideT &&value)
virtual const char * GetServiceRequestName() const override
void SetImpactedGoal(ImpactedGoalT &&value)
const Aws::String & GetThreatImpact() const
bool ThreatSourceHasBeenSet() const
ThreatSeverity GetSeverity() const
CreateThreatRequest & WithStatement(StatementT &&value)
const Aws::String & GetRecommendation() const
CreateThreatRequest & WithRecommendation(RecommendationT &&value)
void SetTitle(TitleT &&value)
bool CommentsHasBeenSet() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
bool ThreatJobIdHasBeenSet() const
CreateThreatRequest & WithThreatImpact(ThreatImpactT &&value)
bool StrideHasBeenSet() const
CreateThreatRequest & WithImpactedAssets(ImpactedAssetsT &&value)
CreateThreatRequest & AddEvidence(EvidenceT &&value)
CreateThreatRequest & AddImpactedAssets(ImpactedAssetsT &&value)
CreateThreatRequest & WithPrerequisites(PrerequisitesT &&value)
bool ImpactedGoalHasBeenSet() const
CreateThreatRequest & WithComments(CommentsT &&value)
CreateThreatRequest & WithEvidence(EvidenceT &&value)
bool AgentSpaceIdHasBeenSet() const
void SetPrerequisites(PrerequisitesT &&value)
void SetSeverity(ThreatSeverity value)
const Aws::Vector< Aws::String > & GetImpactedGoal() const
CreateThreatRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
CreateThreatRequest & WithThreatAction(ThreatActionT &&value)
CreateThreatRequest & WithImpactedGoal(ImpactedGoalT &&value)
const Aws::Vector< Aws::String > & GetImpactedAssets() const
const Aws::String & GetAgentSpaceId() const
void SetAnchor(AnchorT &&value)
bool ImpactedAssetsHasBeenSet() const
void SetStatement(StatementT &&value)
bool StatementHasBeenSet() const
const Aws::String & GetTitle() const
void SetThreatImpact(ThreatImpactT &&value)
bool EvidenceHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector