7#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-metrics/model/MetricStatistic.h>
10#include <aws/sagemaker-metrics/model/Period.h>
11#include <aws/sagemaker-metrics/model/XAxisType.h>
24namespace SageMakerMetrics
52 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
66 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
90 inline void SetPeriod(
const Period& value) { m_periodHasBeenSet =
true; m_period = value; }
91 inline void SetPeriod(
Period&& value) { m_periodHasBeenSet =
true; m_period = std::move(value); }
112 inline long long GetStart()
const{
return m_start; }
114 inline void SetStart(
long long value) { m_startHasBeenSet =
true; m_start = value; }
122 inline long long GetEnd()
const{
return m_end; }
124 inline void SetEnd(
long long value) { m_endHasBeenSet =
true; m_end = value; }
130 bool m_metricNameHasBeenSet =
false;
133 bool m_resourceArnHasBeenSet =
false;
136 bool m_metricStatHasBeenSet =
false;
139 bool m_periodHasBeenSet =
false;
142 bool m_xAxisTypeHasBeenSet =
false;
145 bool m_startHasBeenSet =
false;
148 bool m_endHasBeenSet =
false;
void SetMetricName(const char *value)
MetricQuery & WithMetricName(Aws::String &&value)
MetricQuery & WithMetricStat(MetricStatistic &&value)
MetricQuery & WithMetricName(const char *value)
const MetricStatistic & GetMetricStat() const
long long GetStart() const
bool MetricNameHasBeenSet() const
bool EndHasBeenSet() const
void SetXAxisType(const XAxisType &value)
void SetResourceArn(const Aws::String &value)
bool PeriodHasBeenSet() const
MetricQuery & WithResourceArn(Aws::String &&value)
void SetPeriod(const Period &value)
MetricQuery & WithXAxisType(XAxisType &&value)
MetricQuery & WithResourceArn(const char *value)
bool XAxisTypeHasBeenSet() const
MetricQuery & WithStart(long long value)
const Aws::String & GetResourceArn() const
bool StartHasBeenSet() const
void SetStart(long long value)
MetricQuery & WithPeriod(const Period &value)
AWS_SAGEMAKERMETRICS_API MetricQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricStatHasBeenSet() const
const Period & GetPeriod() const
void SetResourceArn(Aws::String &&value)
void SetResourceArn(const char *value)
const XAxisType & GetXAxisType() const
AWS_SAGEMAKERMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERMETRICS_API MetricQuery()
void SetXAxisType(XAxisType &&value)
MetricQuery & WithPeriod(Period &&value)
void SetMetricName(Aws::String &&value)
AWS_SAGEMAKERMETRICS_API MetricQuery(Aws::Utils::Json::JsonView jsonValue)
MetricQuery & WithResourceArn(const Aws::String &value)
void SetPeriod(Period &&value)
void SetMetricStat(MetricStatistic &&value)
void SetEnd(long long value)
MetricQuery & WithMetricName(const Aws::String &value)
void SetMetricStat(const MetricStatistic &value)
MetricQuery & WithEnd(long long value)
void SetMetricName(const Aws::String &value)
const Aws::String & GetMetricName() const
MetricQuery & WithXAxisType(const XAxisType &value)
MetricQuery & WithMetricStat(const MetricStatistic &value)
bool ResourceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue