7#include <aws/ecr/ECR_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;
CvssScoreAdjustment & WithReason(Aws::String &&value)
void SetMetric(Aws::String &&value)
CvssScoreAdjustment & WithMetric(Aws::String &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
CvssScoreAdjustment & WithMetric(const char *value)
AWS_ECR_API CvssScoreAdjustment()
const Aws::String & GetReason() const
CvssScoreAdjustment & WithMetric(const Aws::String &value)
void SetMetric(const char *value)
CvssScoreAdjustment & WithReason(const char *value)
CvssScoreAdjustment & WithReason(const Aws::String &value)
void SetReason(const char *value)
AWS_ECR_API CvssScoreAdjustment(Aws::Utils::Json::JsonView jsonValue)
void SetMetric(const Aws::String &value)
const Aws::String & GetMetric() const
bool ReasonHasBeenSet() const
bool MetricHasBeenSet() const
void SetReason(const Aws::String &value)
void SetReason(Aws::String &&value)
AWS_ECR_API CvssScoreAdjustment & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue