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;
MetricDefinitionConfig & WithValueKey(const char *value)
MetricDefinitionConfig & WithEventPattern(Aws::String &&value)
void SetUnitLabel(const Aws::String &value)
MetricDefinitionConfig & WithEntityIdKey(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinitionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetEventPattern(const char *value)
const Aws::String & GetValueKey() const
MetricDefinitionConfig & WithName(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinitionConfig()
void SetValueKey(const char *value)
bool EntityIdKeyHasBeenSet() const
void SetValueKey(const Aws::String &value)
void SetName(const Aws::String &value)
MetricDefinitionConfig & WithUnitLabel(const char *value)
MetricDefinitionConfig & WithEntityIdKey(Aws::String &&value)
const Aws::String & GetEntityIdKey() const
bool UnitLabelHasBeenSet() const
void SetEventPattern(Aws::String &&value)
void SetEntityIdKey(const char *value)
bool ValueKeyHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
const Aws::String & GetEventPattern() const
void SetEventPattern(const Aws::String &value)
MetricDefinitionConfig & WithName(const char *value)
MetricDefinitionConfig & WithUnitLabel(Aws::String &&value)
void SetValueKey(Aws::String &&value)
MetricDefinitionConfig & WithEventPattern(const char *value)
bool NameHasBeenSet() const
bool EventPatternHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API MetricDefinitionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricDefinitionConfig & WithName(const Aws::String &value)
void SetEntityIdKey(const Aws::String &value)
MetricDefinitionConfig & WithUnitLabel(const Aws::String &value)
MetricDefinitionConfig & WithEventPattern(const Aws::String &value)
MetricDefinitionConfig & WithValueKey(Aws::String &&value)
void SetEntityIdKey(Aws::String &&value)
void SetUnitLabel(const char *value)
MetricDefinitionConfig & WithEntityIdKey(const Aws::String &value)
MetricDefinitionConfig & WithValueKey(const Aws::String &value)
void SetUnitLabel(Aws::String &&value)
const Aws::String & GetUnitLabel() const
void SetName(Aws::String &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue