7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
63 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
71 bool m_metricHasBeenSet =
false;
74 bool m_reasonHasBeenSet =
false;
void SetReason(Aws::String &&value)
CvssScoreAdjustment & WithMetric(Aws::String &&value)
AWS_IMAGEBUILDER_API CvssScoreAdjustment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetric(Aws::String &&value)
const Aws::String & GetReason() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API CvssScoreAdjustment()
void SetReason(const char *value)
void SetReason(const Aws::String &value)
AWS_IMAGEBUILDER_API CvssScoreAdjustment(Aws::Utils::Json::JsonView jsonValue)
CvssScoreAdjustment & WithReason(const Aws::String &value)
void SetMetric(const Aws::String &value)
CvssScoreAdjustment & WithReason(Aws::String &&value)
CvssScoreAdjustment & WithReason(const char *value)
bool ReasonHasBeenSet() const
const Aws::String & GetMetric() const
CvssScoreAdjustment & WithMetric(const char *value)
CvssScoreAdjustment & WithMetric(const Aws::String &value)
void SetMetric(const char *value)
bool MetricHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue