7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvidently
50 inline void SetEntityIdKey(
const char* value) { m_entityIdKeyHasBeenSet =
true; m_entityIdKey.assign(value); }
67 inline void SetEventPattern(
const char* value) { m_eventPatternHasBeenSet =
true; m_eventPattern.assign(value); }
81 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline void SetUnitLabel(
const char* value) { m_unitLabelHasBeenSet =
true; m_unitLabel.assign(value); }
109 inline void SetValueKey(
const char* value) { m_valueKeyHasBeenSet =
true; m_valueKey.assign(value); }
117 bool m_entityIdKeyHasBeenSet =
false;
120 bool m_eventPatternHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
126 bool m_unitLabelHasBeenSet =
false;
129 bool m_valueKeyHasBeenSet =
false;
void SetEntityIdKey(const char *value)
MetricDefinition & WithUnitLabel(Aws::String &&value)
const Aws::String & GetName() const
MetricDefinition & WithValueKey(const Aws::String &value)
bool EntityIdKeyHasBeenSet() const
void SetUnitLabel(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EventPatternHasBeenSet() const
void SetEventPattern(const char *value)
void SetValueKey(Aws::String &&value)
void SetName(const char *value)
void SetUnitLabel(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinition()
void SetEventPattern(const Aws::String &value)
void SetName(Aws::String &&value)
MetricDefinition & WithUnitLabel(const Aws::String &value)
MetricDefinition & WithEventPattern(const Aws::String &value)
void SetValueKey(const char *value)
bool ValueKeyHasBeenSet() const
void SetName(const Aws::String &value)
MetricDefinition & WithEntityIdKey(Aws::String &&value)
MetricDefinition & WithEventPattern(Aws::String &&value)
void SetEntityIdKey(const Aws::String &value)
void SetUnitLabel(const Aws::String &value)
const Aws::String & GetValueKey() const
bool UnitLabelHasBeenSet() const
bool NameHasBeenSet() const
MetricDefinition & WithValueKey(Aws::String &&value)
void SetValueKey(const Aws::String &value)
MetricDefinition & WithEntityIdKey(const char *value)
MetricDefinition & WithUnitLabel(const char *value)
const Aws::String & GetEntityIdKey() const
const Aws::String & GetUnitLabel() const
MetricDefinition & WithEventPattern(const char *value)
void SetEntityIdKey(Aws::String &&value)
MetricDefinition & WithName(Aws::String &&value)
void SetEventPattern(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinition(Aws::Utils::Json::JsonView jsonValue)
MetricDefinition & WithName(const Aws::String &value)
MetricDefinition & WithEntityIdKey(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventPattern() const
MetricDefinition & WithName(const char *value)
MetricDefinition & WithValueKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue