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>
71 m_confidenceHasBeenSet =
true;
89 m_criticalityHasBeenSet =
true;
90 m_criticality = value;
104 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
106 m_relatedFindingsHasBeenSet =
true;
107 m_relatedFindings = std::forward<RelatedFindingsT>(value);
109 template <
typename RelatedFindingsT = Aws::Vector<RelatedFinding>>
114 template <
typename RelatedFindingsT = RelatedFinding>
116 m_relatedFindingsHasBeenSet =
true;
117 m_relatedFindings.emplace_back(std::forward<RelatedFindingsT>(value));
128 template <
typename SeverityT = FindingProv
iderSeverity>
130 m_severityHasBeenSet =
true;
131 m_severity = std::forward<SeverityT>(value);
133 template <
typename SeverityT = FindingProv
iderSeverity>
149 template <
typename TypesT = Aws::Vector<Aws::String>>
151 m_typesHasBeenSet =
true;
152 m_types = std::forward<TypesT>(value);
154 template <
typename TypesT = Aws::Vector<Aws::String>>
156 SetTypes(std::forward<TypesT>(value));
159 template <
typename TypesT = Aws::String>
161 m_typesHasBeenSet =
true;
162 m_types.emplace_back(std::forward<TypesT>(value));
169 int m_criticality{0};
173 FindingProviderSeverity m_severity;
176 bool m_confidenceHasBeenSet =
false;
177 bool m_criticalityHasBeenSet =
false;
178 bool m_relatedFindingsHasBeenSet =
false;
179 bool m_severityHasBeenSet =
false;
180 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