AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ValidationEvidenceBody.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/ExploitabilityVerdict.h>
9#include <aws/continuum/model/FlowVerdict.h>
10#include <aws/continuum/model/PerFindingResult.h>
11#include <aws/continuum/model/ValidationExecutedProof.h>
12#include <aws/continuum/model/ValidationExploitArtifact.h>
13#include <aws/continuum/model/ValidationSourceAnalysis.h>
14#include <aws/continuum/model/ValidationTerminalStatus.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Continuum {
28namespace Model {
29
37 public:
38 AWS_CONTINUUM_API ValidationEvidenceBody() = default;
41 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
49 inline ExploitabilityVerdict GetExploitable() const { return m_exploitable; }
50 inline bool ExploitableHasBeenSet() const { return m_exploitableHasBeenSet; }
52 m_exploitableHasBeenSet = true;
53 m_exploitable = value;
54 }
56 SetExploitable(value);
57 return *this;
58 }
60
62
67 inline ValidationTerminalStatus GetTerminalStatus() const { return m_terminalStatus; }
68 inline bool TerminalStatusHasBeenSet() const { return m_terminalStatusHasBeenSet; }
70 m_terminalStatusHasBeenSet = true;
71 m_terminalStatus = value;
72 }
78
80
83 inline const Aws::Vector<FlowVerdict>& GetFlowVerdicts() const { return m_flowVerdicts; }
84 inline bool FlowVerdictsHasBeenSet() const { return m_flowVerdictsHasBeenSet; }
85 template <typename FlowVerdictsT = Aws::Vector<FlowVerdict>>
86 void SetFlowVerdicts(FlowVerdictsT&& value) {
87 m_flowVerdictsHasBeenSet = true;
88 m_flowVerdicts = std::forward<FlowVerdictsT>(value);
89 }
90 template <typename FlowVerdictsT = Aws::Vector<FlowVerdict>>
91 ValidationEvidenceBody& WithFlowVerdicts(FlowVerdictsT&& value) {
92 SetFlowVerdicts(std::forward<FlowVerdictsT>(value));
93 return *this;
94 }
95 template <typename FlowVerdictsT = FlowVerdict>
96 ValidationEvidenceBody& AddFlowVerdicts(FlowVerdictsT&& value) {
97 m_flowVerdictsHasBeenSet = true;
98 m_flowVerdicts.emplace_back(std::forward<FlowVerdictsT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Vector<Aws::String>& GetAttackFlowsConfirmed() const { return m_attackFlowsConfirmed; }
108 inline bool AttackFlowsConfirmedHasBeenSet() const { return m_attackFlowsConfirmedHasBeenSet; }
109 template <typename AttackFlowsConfirmedT = Aws::Vector<Aws::String>>
110 void SetAttackFlowsConfirmed(AttackFlowsConfirmedT&& value) {
111 m_attackFlowsConfirmedHasBeenSet = true;
112 m_attackFlowsConfirmed = std::forward<AttackFlowsConfirmedT>(value);
113 }
114 template <typename AttackFlowsConfirmedT = Aws::Vector<Aws::String>>
115 ValidationEvidenceBody& WithAttackFlowsConfirmed(AttackFlowsConfirmedT&& value) {
116 SetAttackFlowsConfirmed(std::forward<AttackFlowsConfirmedT>(value));
117 return *this;
118 }
119 template <typename AttackFlowsConfirmedT = Aws::String>
120 ValidationEvidenceBody& AddAttackFlowsConfirmed(AttackFlowsConfirmedT&& value) {
121 m_attackFlowsConfirmedHasBeenSet = true;
122 m_attackFlowsConfirmed.emplace_back(std::forward<AttackFlowsConfirmedT>(value));
123 return *this;
124 }
126
128
136 inline const ValidationExploitArtifact& GetExploitArtifact() const { return m_exploitArtifact; }
137 inline bool ExploitArtifactHasBeenSet() const { return m_exploitArtifactHasBeenSet; }
138 template <typename ExploitArtifactT = ValidationExploitArtifact>
139 void SetExploitArtifact(ExploitArtifactT&& value) {
140 m_exploitArtifactHasBeenSet = true;
141 m_exploitArtifact = std::forward<ExploitArtifactT>(value);
142 }
143 template <typename ExploitArtifactT = ValidationExploitArtifact>
144 ValidationEvidenceBody& WithExploitArtifact(ExploitArtifactT&& value) {
145 SetExploitArtifact(std::forward<ExploitArtifactT>(value));
146 return *this;
147 }
149
151
155 inline const ValidationExecutedProof& GetExecutedProof() const { return m_executedProof; }
156 inline bool ExecutedProofHasBeenSet() const { return m_executedProofHasBeenSet; }
157 template <typename ExecutedProofT = ValidationExecutedProof>
158 void SetExecutedProof(ExecutedProofT&& value) {
159 m_executedProofHasBeenSet = true;
160 m_executedProof = std::forward<ExecutedProofT>(value);
161 }
162 template <typename ExecutedProofT = ValidationExecutedProof>
163 ValidationEvidenceBody& WithExecutedProof(ExecutedProofT&& value) {
164 SetExecutedProof(std::forward<ExecutedProofT>(value));
165 return *this;
166 }
168
170
174 inline const ValidationSourceAnalysis& GetSourceAnalysis() const { return m_sourceAnalysis; }
175 inline bool SourceAnalysisHasBeenSet() const { return m_sourceAnalysisHasBeenSet; }
176 template <typename SourceAnalysisT = ValidationSourceAnalysis>
177 void SetSourceAnalysis(SourceAnalysisT&& value) {
178 m_sourceAnalysisHasBeenSet = true;
179 m_sourceAnalysis = std::forward<SourceAnalysisT>(value);
180 }
181 template <typename SourceAnalysisT = ValidationSourceAnalysis>
182 ValidationEvidenceBody& WithSourceAnalysis(SourceAnalysisT&& value) {
183 SetSourceAnalysis(std::forward<SourceAnalysisT>(value));
184 return *this;
185 }
187
189
193 inline const Aws::Vector<PerFindingResult>& GetPerFindingResults() const { return m_perFindingResults; }
194 inline bool PerFindingResultsHasBeenSet() const { return m_perFindingResultsHasBeenSet; }
195 template <typename PerFindingResultsT = Aws::Vector<PerFindingResult>>
196 void SetPerFindingResults(PerFindingResultsT&& value) {
197 m_perFindingResultsHasBeenSet = true;
198 m_perFindingResults = std::forward<PerFindingResultsT>(value);
199 }
200 template <typename PerFindingResultsT = Aws::Vector<PerFindingResult>>
201 ValidationEvidenceBody& WithPerFindingResults(PerFindingResultsT&& value) {
202 SetPerFindingResults(std::forward<PerFindingResultsT>(value));
203 return *this;
204 }
205 template <typename PerFindingResultsT = PerFindingResult>
206 ValidationEvidenceBody& AddPerFindingResults(PerFindingResultsT&& value) {
207 m_perFindingResultsHasBeenSet = true;
208 m_perFindingResults.emplace_back(std::forward<PerFindingResultsT>(value));
209 return *this;
210 }
212 private:
214
216
217 Aws::Vector<FlowVerdict> m_flowVerdicts;
218
219 Aws::Vector<Aws::String> m_attackFlowsConfirmed;
220
221 ValidationExploitArtifact m_exploitArtifact;
222
223 ValidationExecutedProof m_executedProof;
224
225 ValidationSourceAnalysis m_sourceAnalysis;
226
227 Aws::Vector<PerFindingResult> m_perFindingResults;
228 bool m_exploitableHasBeenSet = false;
229 bool m_terminalStatusHasBeenSet = false;
230 bool m_flowVerdictsHasBeenSet = false;
231 bool m_attackFlowsConfirmedHasBeenSet = false;
232 bool m_exploitArtifactHasBeenSet = false;
233 bool m_executedProofHasBeenSet = false;
234 bool m_sourceAnalysisHasBeenSet = false;
235 bool m_perFindingResultsHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace Continuum
240} // namespace Aws
ValidationEvidenceBody & WithTerminalStatus(ValidationTerminalStatus value)
const ValidationSourceAnalysis & GetSourceAnalysis() const
ValidationTerminalStatus GetTerminalStatus() const
ValidationEvidenceBody & AddFlowVerdicts(FlowVerdictsT &&value)
const Aws::Vector< PerFindingResult > & GetPerFindingResults() const
void SetExploitable(ExploitabilityVerdict value)
AWS_CONTINUUM_API ValidationEvidenceBody(Aws::Utils::Json::JsonView jsonValue)
void SetPerFindingResults(PerFindingResultsT &&value)
ValidationEvidenceBody & AddPerFindingResults(PerFindingResultsT &&value)
void SetTerminalStatus(ValidationTerminalStatus value)
const Aws::Vector< FlowVerdict > & GetFlowVerdicts() const
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationEvidenceBody & WithFlowVerdicts(FlowVerdictsT &&value)
ValidationEvidenceBody & WithExploitArtifact(ExploitArtifactT &&value)
ValidationEvidenceBody & WithExploitable(ExploitabilityVerdict value)
ValidationEvidenceBody & WithExecutedProof(ExecutedProofT &&value)
AWS_CONTINUUM_API ValidationEvidenceBody & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationEvidenceBody & WithPerFindingResults(PerFindingResultsT &&value)
void SetAttackFlowsConfirmed(AttackFlowsConfirmedT &&value)
const ValidationExploitArtifact & GetExploitArtifact() const
const Aws::Vector< Aws::String > & GetAttackFlowsConfirmed() const
ValidationEvidenceBody & WithAttackFlowsConfirmed(AttackFlowsConfirmedT &&value)
AWS_CONTINUUM_API ValidationEvidenceBody()=default
const ValidationExecutedProof & GetExecutedProof() const
ValidationEvidenceBody & AddAttackFlowsConfirmed(AttackFlowsConfirmedT &&value)
ValidationEvidenceBody & WithSourceAnalysis(SourceAnalysisT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue