7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/NoteUpdate.h>
9#include <aws/securityhub/model/SeverityUpdate.h>
10#include <aws/securityhub/model/VerificationState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/securityhub/model/WorkflowUpdate.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/securityhub/model/RelatedFinding.h>
52 template<
typename NoteT = NoteUpdate>
53 void SetNote(NoteT&& value) { m_noteHasBeenSet =
true; m_note = std::forward<NoteT>(value); }
54 template<
typename NoteT = NoteUpdate>
62 template<
typename SeverityT = SeverityUpdate>
63 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
64 template<
typename SeverityT = SeverityUpdate>
85 inline void SetConfidence(
int value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
96 inline void SetCriticality(
int value) { m_criticalityHasBeenSet =
true; m_criticality = value; }
106 template<
typename TypesT = Aws::Vector<Aws::String>>
107 void SetTypes(TypesT&& value) { m_typesHasBeenSet =
true; m_types = std::forward<TypesT>(value); }
108 template<
typename TypesT = Aws::Vector<Aws::String>>
110 template<
typename TypesT = Aws::String>
121 template<
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
122 void SetUserDefinedFields(UserDefinedFieldsT&& value) { m_userDefinedFieldsHasBeenSet =
true; m_userDefinedFields = std::forward<UserDefinedFieldsT>(value); }
123 template<
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
125 template<
typename UserDefinedFieldsKeyT = Aws::String,
typename UserDefinedFieldsValueT = Aws::String>
127 m_userDefinedFieldsHasBeenSet =
true; m_userDefinedFields.emplace(std::forward<UserDefinedFieldsKeyT>(key), std::forward<UserDefinedFieldsValueT>(value));
return *
this;
135 template<
typename WorkflowT = WorkflowUpdate>
136 void SetWorkflow(WorkflowT&& value) { m_workflowHasBeenSet =
true; m_workflow = std::forward<WorkflowT>(value); }
137 template<
typename WorkflowT = WorkflowUpdate>
148 template<
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
149 void SetRelatedFindings(RelatedFindingsT&& value) { m_relatedFindingsHasBeenSet =
true; m_relatedFindings = std::forward<RelatedFindingsT>(value); }
150 template<
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
152 template<
typename RelatedFindingsT = RelatedFinding>
158 bool m_noteHasBeenSet =
false;
161 bool m_severityHasBeenSet =
false;
164 bool m_verificationStateHasBeenSet =
false;
167 bool m_confidenceHasBeenSet =
false;
169 int m_criticality{0};
170 bool m_criticalityHasBeenSet =
false;
173 bool m_typesHasBeenSet =
false;
176 bool m_userDefinedFieldsHasBeenSet =
false;
178 WorkflowUpdate m_workflow;
179 bool m_workflowHasBeenSet =
false;
182 bool m_relatedFindingsHasBeenSet =
false;
void SetNote(NoteT &&value)
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWorkflow(WorkflowT &&value)
void SetCriticality(int value)
AutomationRulesFindingFieldsUpdate & WithCriticality(int value)
const Aws::Map< Aws::String, Aws::String > & GetUserDefinedFields() const
bool TypesHasBeenSet() const
const WorkflowUpdate & GetWorkflow() const
bool NoteHasBeenSet() const
AutomationRulesFindingFieldsUpdate & WithTypes(TypesT &&value)
const Aws::Vector< Aws::String > & GetTypes() const
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate()=default
void SetUserDefinedFields(UserDefinedFieldsT &&value)
bool VerificationStateHasBeenSet() const
const SeverityUpdate & GetSeverity() const
AutomationRulesFindingFieldsUpdate & WithUserDefinedFields(UserDefinedFieldsT &&value)
const Aws::Vector< RelatedFinding > & GetRelatedFindings() const
bool CriticalityHasBeenSet() const
int GetCriticality() const
AutomationRulesFindingFieldsUpdate & WithVerificationState(VerificationState value)
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate(Aws::Utils::Json::JsonView jsonValue)
AutomationRulesFindingFieldsUpdate & WithConfidence(int value)
void SetRelatedFindings(RelatedFindingsT &&value)
const NoteUpdate & GetNote() const
bool ConfidenceHasBeenSet() const
void SetSeverity(SeverityT &&value)
AutomationRulesFindingFieldsUpdate & WithNote(NoteT &&value)
AutomationRulesFindingFieldsUpdate & AddRelatedFindings(RelatedFindingsT &&value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(UserDefinedFieldsKeyT &&key, UserDefinedFieldsValueT &&value)
AutomationRulesFindingFieldsUpdate & WithRelatedFindings(RelatedFindingsT &&value)
bool SeverityHasBeenSet() const
void SetConfidence(int value)
void SetTypes(TypesT &&value)
AutomationRulesFindingFieldsUpdate & WithSeverity(SeverityT &&value)
bool UserDefinedFieldsHasBeenSet() const
void SetVerificationState(VerificationState value)
AutomationRulesFindingFieldsUpdate & AddTypes(TypesT &&value)
int GetConfidence() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationRulesFindingFieldsUpdate & WithWorkflow(WorkflowT &&value)
bool WorkflowHasBeenSet() const
VerificationState GetVerificationState() const
bool RelatedFindingsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue