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>
53 inline void SetNote(
NoteUpdate&& value) { m_noteHasBeenSet =
true; m_note = std::move(value); }
87 inline void SetConfidence(
int value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
98 inline void SetCriticality(
int value) { m_criticalityHasBeenSet =
true; m_criticality = value; }
164 bool m_noteHasBeenSet =
false;
167 bool m_severityHasBeenSet =
false;
170 bool m_verificationStateHasBeenSet =
false;
173 bool m_confidenceHasBeenSet =
false;
176 bool m_criticalityHasBeenSet =
false;
179 bool m_typesHasBeenSet =
false;
182 bool m_userDefinedFieldsHasBeenSet =
false;
185 bool m_workflowHasBeenSet =
false;
188 bool m_relatedFindingsHasBeenSet =
false;
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(Aws::String &&key, const Aws::String &value)
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate()
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(const SeverityUpdate &value)
AutomationRulesFindingFieldsUpdate & WithTypes(Aws::Vector< Aws::String > &&value)
void SetCriticality(int value)
AutomationRulesFindingFieldsUpdate & AddRelatedFindings(RelatedFinding &&value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(const char *key, Aws::String &&value)
AutomationRulesFindingFieldsUpdate & WithCriticality(int value)
AutomationRulesFindingFieldsUpdate & WithNote(NoteUpdate &&value)
const Aws::Map< Aws::String, Aws::String > & GetUserDefinedFields() const
bool TypesHasBeenSet() const
void SetUserDefinedFields(Aws::Map< Aws::String, Aws::String > &&value)
void SetVerificationState(VerificationState &&value)
AutomationRulesFindingFieldsUpdate & WithRelatedFindings(Aws::Vector< RelatedFinding > &&value)
const WorkflowUpdate & GetWorkflow() const
bool NoteHasBeenSet() const
void SetNote(const NoteUpdate &value)
const Aws::Vector< Aws::String > & GetTypes() const
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(const Aws::String &key, const Aws::String &value)
AutomationRulesFindingFieldsUpdate & WithNote(const NoteUpdate &value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(const Aws::String &key, Aws::String &&value)
void SetRelatedFindings(const Aws::Vector< RelatedFinding > &value)
void SetSeverity(SeverityUpdate &&value)
void SetWorkflow(WorkflowUpdate &&value)
AutomationRulesFindingFieldsUpdate & WithSeverity(const SeverityUpdate &value)
AutomationRulesFindingFieldsUpdate & AddRelatedFindings(const RelatedFinding &value)
const VerificationState & GetVerificationState() const
bool VerificationStateHasBeenSet() const
const SeverityUpdate & GetSeverity() const
void SetVerificationState(const VerificationState &value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(const char *key, const char *value)
AutomationRulesFindingFieldsUpdate & WithRelatedFindings(const Aws::Vector< RelatedFinding > &value)
const Aws::Vector< RelatedFinding > & GetRelatedFindings() const
bool CriticalityHasBeenSet() const
AutomationRulesFindingFieldsUpdate & WithTypes(const Aws::Vector< Aws::String > &value)
int GetCriticality() const
AWS_SECURITYHUB_API AutomationRulesFindingFieldsUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetTypes(const Aws::Vector< Aws::String > &value)
AutomationRulesFindingFieldsUpdate & WithUserDefinedFields(const Aws::Map< Aws::String, Aws::String > &value)
AutomationRulesFindingFieldsUpdate & WithConfidence(int value)
void SetRelatedFindings(Aws::Vector< RelatedFinding > &&value)
AutomationRulesFindingFieldsUpdate & WithVerificationState(VerificationState &&value)
void SetWorkflow(const WorkflowUpdate &value)
void SetUserDefinedFields(const Aws::Map< Aws::String, Aws::String > &value)
const NoteUpdate & GetNote() const
AutomationRulesFindingFieldsUpdate & WithUserDefinedFields(Aws::Map< Aws::String, Aws::String > &&value)
bool ConfidenceHasBeenSet() const
void SetTypes(Aws::Vector< Aws::String > &&value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(Aws::String &&key, Aws::String &&value)
AutomationRulesFindingFieldsUpdate & AddTypes(const char *value)
AutomationRulesFindingFieldsUpdate & AddTypes(const Aws::String &value)
AutomationRulesFindingFieldsUpdate & WithWorkflow(const WorkflowUpdate &value)
AutomationRulesFindingFieldsUpdate & AddUserDefinedFields(Aws::String &&key, const char *value)
bool SeverityHasBeenSet() const
void SetConfidence(int value)
bool UserDefinedFieldsHasBeenSet() const
AutomationRulesFindingFieldsUpdate & WithWorkflow(WorkflowUpdate &&value)
AutomationRulesFindingFieldsUpdate & WithSeverity(SeverityUpdate &&value)
void SetNote(NoteUpdate &&value)
int GetConfidence() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationRulesFindingFieldsUpdate & WithVerificationState(const VerificationState &value)
bool WorkflowHasBeenSet() const
AutomationRulesFindingFieldsUpdate & AddTypes(Aws::String &&value)
bool RelatedFindingsHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue