7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
62 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
70 bool m_metricHasBeenSet =
false;
73 bool m_reasonHasBeenSet =
false;
const Aws::String & GetReason() const
AWS_SECURITYHUB_API Adjustment()
AWS_SECURITYHUB_API Adjustment(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const char *value)
void SetMetric(Aws::String &&value)
void SetMetric(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Adjustment & WithMetric(const char *value)
void SetReason(Aws::String &&value)
void SetReason(const Aws::String &value)
AWS_SECURITYHUB_API Adjustment & operator=(Aws::Utils::Json::JsonView jsonValue)
Adjustment & WithMetric(Aws::String &&value)
Adjustment & WithReason(const Aws::String &value)
bool MetricHasBeenSet() const
Adjustment & WithReason(const char *value)
Adjustment & WithMetric(const Aws::String &value)
Adjustment & WithReason(Aws::String &&value)
const Aws::String & GetMetric() const
bool ReasonHasBeenSet() const
void SetMetric(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue