7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/FindingProviderSeverity.h>
11#include <aws/securityhub/model/RelatedFinding.h>
72 m_confidenceHasBeenSet =
true;
90 m_criticalityHasBeenSet =
true;
91 m_criticality = value;
105 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
107 m_relatedFindingsHasBeenSet =
true;
108 m_relatedFindings = std::forward<RelatedFindingsT>(value);
110 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
115 template <
typename RelatedFindingsT = RelatedFinding>
117 m_relatedFindingsHasBeenSet =
true;
118 m_relatedFindings.emplace_back(std::forward<RelatedFindingsT>(value));
129 template <
typename SeverityT = FindingProv
iderSeverity>
131 m_severityHasBeenSet =
true;
132 m_severity = std::forward<SeverityT>(value);
134 template <
typename SeverityT = FindingProv
iderSeverity>
150 template <
typename TypesT = Aws::Vector<Aws::String>>
152 m_typesHasBeenSet =
true;
153 m_types = std::forward<TypesT>(value);
155 template <
typename TypesT = Aws::Vector<Aws::String>>
157 SetTypes(std::forward<TypesT>(value));
160 template <
typename TypesT = Aws::String>
162 m_typesHasBeenSet =
true;
163 m_types.emplace_back(std::forward<TypesT>(value));
170 int m_criticality{0};
174 FindingProviderSeverity m_severity;
177 bool m_confidenceHasBeenSet =
false;
178 bool m_criticalityHasBeenSet =
false;
179 bool m_relatedFindingsHasBeenSet =
false;
180 bool m_severityHasBeenSet =
false;
181 bool m_typesHasBeenSet =
false;
FindingProviderFields & WithSeverity(SeverityT &&value)
const Aws::Vector< Aws::String > & GetTypes() const
AWS_SECURITYHUB_API FindingProviderFields()=default
FindingProviderFields & WithCriticality(int value)
const FindingProviderSeverity & GetSeverity() const
bool RelatedFindingsHasBeenSet() const
AWS_SECURITYHUB_API FindingProviderFields & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SeverityHasBeenSet() const
void SetConfidence(int value)
void SetCriticality(int value)
void SetRelatedFindings(RelatedFindingsT &&value)
int GetConfidence() const
FindingProviderFields & WithConfidence(int value)
FindingProviderFields & AddRelatedFindings(RelatedFindingsT &&value)
bool CriticalityHasBeenSet() const
FindingProviderFields & WithRelatedFindings(RelatedFindingsT &&value)
void SetTypes(TypesT &&value)
AWS_SECURITYHUB_API FindingProviderFields(Aws::Utils::Json::JsonView jsonValue)
bool ConfidenceHasBeenSet() const
FindingProviderFields & AddTypes(TypesT &&value)
int GetCriticality() const
bool TypesHasBeenSet() const
FindingProviderFields & WithTypes(TypesT &&value)
void SetSeverity(SeverityT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RelatedFinding > & GetRelatedFindings() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue