7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHubRequest.h>
11#include <aws/securityhub/SecurityHub_EXPORTS.h>
12#include <aws/securityhub/model/AwsSecurityFindingIdentifier.h>
13#include <aws/securityhub/model/NoteUpdate.h>
14#include <aws/securityhub/model/RelatedFinding.h>
15#include <aws/securityhub/model/SeverityUpdate.h>
16#include <aws/securityhub/model/VerificationState.h>
17#include <aws/securityhub/model/WorkflowUpdate.h>
47 template <
typename FindingIdentifiersT = Aws::Vector<AwsSecurityFindingIdentifier>>
49 m_findingIdentifiersHasBeenSet =
true;
50 m_findingIdentifiers = std::forward<FindingIdentifiersT>(value);
52 template <
typename FindingIdentifiersT = Aws::Vector<AwsSecurityFindingIdentifier>>
57 template <
typename FindingIdentifiersT = AwsSecurityFindingIdentifier>
59 m_findingIdentifiersHasBeenSet =
true;
60 m_findingIdentifiers.emplace_back(std::forward<FindingIdentifiersT>(value));
69 template <
typename NoteT = NoteUpdate>
71 m_noteHasBeenSet =
true;
72 m_note = std::forward<NoteT>(value);
74 template <
typename NoteT = NoteUpdate>
76 SetNote(std::forward<NoteT>(value));
87 template <
typename SeverityT = SeverityUpdate>
89 m_severityHasBeenSet =
true;
90 m_severity = std::forward<SeverityT>(value);
92 template <
typename SeverityT = SeverityUpdate>
113 m_verificationStateHasBeenSet =
true;
114 m_verificationState = value;
133 m_confidenceHasBeenSet =
true;
134 m_confidence = value;
152 m_criticalityHasBeenSet =
true;
153 m_criticality = value;
171 template <
typename TypesT = Aws::Vector<Aws::String>>
173 m_typesHasBeenSet =
true;
174 m_types = std::forward<TypesT>(value);
176 template <
typename TypesT = Aws::Vector<Aws::String>>
178 SetTypes(std::forward<TypesT>(value));
181 template <
typename TypesT = Aws::String>
183 m_typesHasBeenSet =
true;
184 m_types.emplace_back(std::forward<TypesT>(value));
196 template <
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
198 m_userDefinedFieldsHasBeenSet =
true;
199 m_userDefinedFields = std::forward<UserDefinedFieldsT>(value);
201 template <
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
206 template <
typename UserDefinedFieldsKeyT = Aws::String,
typename UserDefinedFieldsValueT = Aws::String>
208 m_userDefinedFieldsHasBeenSet =
true;
209 m_userDefinedFields.emplace(std::forward<UserDefinedFieldsKeyT>(key), std::forward<UserDefinedFieldsValueT>(value));
221 template <
typename WorkflowT = WorkflowUpdate>
223 m_workflowHasBeenSet =
true;
224 m_workflow = std::forward<WorkflowT>(value);
226 template <
typename WorkflowT = WorkflowUpdate>
239 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
241 m_relatedFindingsHasBeenSet =
true;
242 m_relatedFindings = std::forward<RelatedFindingsT>(value);
244 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
249 template <
typename RelatedFindingsT = RelatedFinding>
251 m_relatedFindingsHasBeenSet =
true;
252 m_relatedFindings.emplace_back(std::forward<RelatedFindingsT>(value));
267 int m_criticality{0};
273 WorkflowUpdate m_workflow;
276 bool m_findingIdentifiersHasBeenSet =
false;
277 bool m_noteHasBeenSet =
false;
278 bool m_severityHasBeenSet =
false;
279 bool m_verificationStateHasBeenSet =
false;
280 bool m_confidenceHasBeenSet =
false;
281 bool m_criticalityHasBeenSet =
false;
282 bool m_typesHasBeenSet =
false;
283 bool m_userDefinedFieldsHasBeenSet =
false;
284 bool m_workflowHasBeenSet =
false;
285 bool m_relatedFindingsHasBeenSet =
false;
BatchUpdateFindingsRequest & WithRelatedFindings(RelatedFindingsT &&value)
BatchUpdateFindingsRequest & AddTypes(TypesT &&value)
bool TypesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetUserDefinedFields() const
BatchUpdateFindingsRequest & AddUserDefinedFields(UserDefinedFieldsKeyT &&key, UserDefinedFieldsValueT &&value)
int GetCriticality() const
bool NoteHasBeenSet() const
void SetFindingIdentifiers(FindingIdentifiersT &&value)
void SetCriticality(int value)
bool CriticalityHasBeenSet() const
int GetConfidence() const
bool WorkflowHasBeenSet() const
BatchUpdateFindingsRequest & WithVerificationState(VerificationState value)
void SetNote(NoteT &&value)
bool RelatedFindingsHasBeenSet() const
BatchUpdateFindingsRequest & WithNote(NoteT &&value)
BatchUpdateFindingsRequest & WithTypes(TypesT &&value)
void SetWorkflow(WorkflowT &&value)
void SetConfidence(int value)
void SetRelatedFindings(RelatedFindingsT &&value)
BatchUpdateFindingsRequest & WithFindingIdentifiers(FindingIdentifiersT &&value)
bool UserDefinedFieldsHasBeenSet() const
BatchUpdateFindingsRequest & WithCriticality(int value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
BatchUpdateFindingsRequest & WithConfidence(int value)
BatchUpdateFindingsRequest & WithUserDefinedFields(UserDefinedFieldsT &&value)
bool VerificationStateHasBeenSet() const
const SeverityUpdate & GetSeverity() const
const Aws::Vector< AwsSecurityFindingIdentifier > & GetFindingIdentifiers() const
bool SeverityHasBeenSet() const
const NoteUpdate & GetNote() const
BatchUpdateFindingsRequest & WithSeverity(SeverityT &&value)
void SetUserDefinedFields(UserDefinedFieldsT &&value)
const Aws::Vector< Aws::String > & GetTypes() const
AWS_SECURITYHUB_API BatchUpdateFindingsRequest()=default
const Aws::Vector< RelatedFinding > & GetRelatedFindings() const
BatchUpdateFindingsRequest & WithWorkflow(WorkflowT &&value)
void SetVerificationState(VerificationState value)
BatchUpdateFindingsRequest & AddFindingIdentifiers(FindingIdentifiersT &&value)
void SetSeverity(SeverityT &&value)
const WorkflowUpdate & GetWorkflow() const
bool FindingIdentifiersHasBeenSet() const
BatchUpdateFindingsRequest & AddRelatedFindings(RelatedFindingsT &&value)
bool ConfidenceHasBeenSet() const
void SetTypes(TypesT &&value)
VerificationState GetVerificationState() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector