7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/Adjustment.h>
37 AWS_SECURITYHUB_API
Cvss();
51 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
63 inline void SetBaseScore(
double value) { m_baseScoreHasBeenSet =
true; m_baseScore = value; }
75 inline void SetBaseVector(
const char* value) { m_baseVectorHasBeenSet =
true; m_baseVector.assign(value); }
89 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
111 bool m_versionHasBeenSet =
false;
114 bool m_baseScoreHasBeenSet =
false;
117 bool m_baseVectorHasBeenSet =
false;
120 bool m_sourceHasBeenSet =
false;
123 bool m_adjustmentsHasBeenSet =
false;
Cvss & WithBaseVector(const Aws::String &value)
bool BaseScoreHasBeenSet() const
Cvss & WithSource(const Aws::String &value)
void SetAdjustments(const Aws::Vector< Adjustment > &value)
void SetBaseVector(const char *value)
Cvss & WithSource(Aws::String &&value)
void SetSource(const Aws::String &value)
Cvss & AddAdjustments(const Adjustment &value)
Cvss & WithSource(const char *value)
Cvss & WithBaseVector(Aws::String &&value)
Cvss & WithAdjustments(Aws::Vector< Adjustment > &&value)
bool AdjustmentsHasBeenSet() const
Cvss & WithVersion(const Aws::String &value)
void SetBaseVector(Aws::String &&value)
AWS_SECURITYHUB_API Cvss & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BaseVectorHasBeenSet() const
Cvss & AddAdjustments(Adjustment &&value)
Cvss & WithBaseVector(const char *value)
void SetVersion(Aws::String &&value)
const Aws::Vector< Adjustment > & GetAdjustments() const
void SetBaseScore(double value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSource() const
Cvss & WithVersion(Aws::String &&value)
void SetBaseVector(const Aws::String &value)
void SetSource(const char *value)
Cvss & WithBaseScore(double value)
void SetAdjustments(Aws::Vector< Adjustment > &&value)
void SetVersion(const char *value)
Cvss & WithVersion(const char *value)
void SetSource(Aws::String &&value)
const Aws::String & GetVersion() const
void SetVersion(const Aws::String &value)
const Aws::String & GetBaseVector() const
Cvss & WithAdjustments(const Aws::Vector< Adjustment > &value)
bool SourceHasBeenSet() const
AWS_SECURITYHUB_API Cvss(Aws::Utils::Json::JsonView jsonValue)
double GetBaseScore() const
bool VersionHasBeenSet() const
AWS_SECURITYHUB_API Cvss()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue