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/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/NoteUpdate.h>
12#include <aws/securityhub/model/RelatedFinding.h>
13#include <aws/securityhub/model/SeverityUpdate.h>
14#include <aws/securityhub/model/VerificationState.h>
15#include <aws/securityhub/model/WorkflowUpdate.h>
46 template <
typename NoteT = NoteUpdate>
48 m_noteHasBeenSet =
true;
49 m_note = std::forward<NoteT>(value);
51 template <
typename NoteT = NoteUpdate>
53 SetNote(std::forward<NoteT>(value));
62 template <
typename SeverityT = SeverityUpdate>
64 m_severityHasBeenSet =
true;
65 m_severity = std::forward<SeverityT>(value);
67 template <
typename SeverityT = SeverityUpdate>
82 m_verificationStateHasBeenSet =
true;
83 m_verificationState = value;
98 m_confidenceHasBeenSet =
true;
115 m_criticalityHasBeenSet =
true;
116 m_criticality = value;
130 template <
typename TypesT = Aws::Vector<Aws::String>>
132 m_typesHasBeenSet =
true;
133 m_types = std::forward<TypesT>(value);
135 template <
typename TypesT = Aws::Vector<Aws::String>>
137 SetTypes(std::forward<TypesT>(value));
140 template <
typename TypesT = Aws::String>
142 m_typesHasBeenSet =
true;
143 m_types.emplace_back(std::forward<TypesT>(value));
155 template <
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
157 m_userDefinedFieldsHasBeenSet =
true;
158 m_userDefinedFields = std::forward<UserDefinedFieldsT>(value);
160 template <
typename UserDefinedFieldsT = Aws::Map<Aws::String, Aws::String>>
165 template <
typename UserDefinedFieldsKeyT = Aws::String,
typename UserDefinedFieldsValueT = Aws::String>
167 m_userDefinedFieldsHasBeenSet =
true;
168 m_userDefinedFields.emplace(std::forward<UserDefinedFieldsKeyT>(key), std::forward<UserDefinedFieldsValueT>(value));
177 template <
typename WorkflowT = WorkflowUpdate>
179 m_workflowHasBeenSet =
true;
180 m_workflow = std::forward<WorkflowT>(value);
182 template <
typename WorkflowT = WorkflowUpdate>
196 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
198 m_relatedFindingsHasBeenSet =
true;
199 m_relatedFindings = std::forward<RelatedFindingsT>(value);
201 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
206 template <
typename RelatedFindingsT = RelatedFinding>
208 m_relatedFindingsHasBeenSet =
true;
209 m_relatedFindings.emplace_back(std::forward<RelatedFindingsT>(value));
222 int m_criticality{0};
228 WorkflowUpdate m_workflow;
231 bool m_noteHasBeenSet =
false;
232 bool m_severityHasBeenSet =
false;
233 bool m_verificationStateHasBeenSet =
false;
234 bool m_confidenceHasBeenSet =
false;
235 bool m_criticalityHasBeenSet =
false;
236 bool m_typesHasBeenSet =
false;
237 bool m_userDefinedFieldsHasBeenSet =
false;
238 bool m_workflowHasBeenSet =
false;
239 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