7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetRegex(
const char* value) { m_regexHasBeenSet =
true; m_regex.assign(value); }
82 bool m_nameHasBeenSet =
false;
85 bool m_regexHasBeenSet =
false;
void SetRegex(const Aws::String &value)
AWS_SAGEMAKER_API MetricDefinition()
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MetricDefinition & WithName(const char *value)
MetricDefinition & WithName(const Aws::String &value)
AWS_SAGEMAKER_API MetricDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
AWS_SAGEMAKER_API MetricDefinition(Aws::Utils::Json::JsonView jsonValue)
MetricDefinition & WithRegex(Aws::String &&value)
MetricDefinition & WithName(Aws::String &&value)
void SetRegex(Aws::String &&value)
void SetName(Aws::String &&value)
MetricDefinition & WithRegex(const char *value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool RegexHasBeenSet() const
void SetRegex(const char *value)
MetricDefinition & WithRegex(const Aws::String &value)
const Aws::String & GetRegex() const
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue