7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/model/CloudWatchMetricsStat.h>
11#include <aws/devops-guru/model/CloudWatchMetricsDataSummary.h>
12#include <aws/devops-guru/model/CloudWatchMetricsDimension.h>
53 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
68 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
113 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
126 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
144 bool m_metricNameHasBeenSet =
false;
147 bool m_namespaceHasBeenSet =
false;
150 bool m_dimensionsHasBeenSet =
false;
153 bool m_statHasBeenSet =
false;
156 bool m_unitHasBeenSet =
false;
159 bool m_periodHasBeenSet =
false;
162 bool m_metricDataSummaryHasBeenSet =
false;
bool UnitHasBeenSet() const
CloudWatchMetricsDetail & WithMetricDataSummary(CloudWatchMetricsDataSummary &&value)
void SetUnit(Aws::String &&value)
void SetNamespace(const char *value)
const Aws::String & GetNamespace() const
void SetUnit(const Aws::String &value)
void SetMetricName(const char *value)
CloudWatchMetricsDetail & WithMetricName(Aws::String &&value)
CloudWatchMetricsDetail & WithMetricName(const Aws::String &value)
CloudWatchMetricsDetail & AddDimensions(const CloudWatchMetricsDimension &value)
CloudWatchMetricsDetail & WithUnit(Aws::String &&value)
bool MetricDataSummaryHasBeenSet() const
void SetNamespace(Aws::String &&value)
CloudWatchMetricsDetail & WithUnit(const char *value)
CloudWatchMetricsDetail & WithNamespace(Aws::String &&value)
const CloudWatchMetricsStat & GetStat() const
const Aws::String & GetMetricName() const
CloudWatchMetricsDetail & AddDimensions(CloudWatchMetricsDimension &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchMetricsDetail & WithUnit(const Aws::String &value)
bool DimensionsHasBeenSet() const
bool PeriodHasBeenSet() const
void SetMetricDataSummary(const CloudWatchMetricsDataSummary &value)
void SetDimensions(const Aws::Vector< CloudWatchMetricsDimension > &value)
const Aws::Vector< CloudWatchMetricsDimension > & GetDimensions() const
CloudWatchMetricsDetail & WithDimensions(const Aws::Vector< CloudWatchMetricsDimension > &value)
void SetMetricName(const Aws::String &value)
void SetDimensions(Aws::Vector< CloudWatchMetricsDimension > &&value)
CloudWatchMetricsDetail & WithPeriod(int value)
bool StatHasBeenSet() const
CloudWatchMetricsDetail & WithDimensions(Aws::Vector< CloudWatchMetricsDimension > &&value)
CloudWatchMetricsDetail & WithMetricName(const char *value)
const CloudWatchMetricsDataSummary & GetMetricDataSummary() const
void SetUnit(const char *value)
CloudWatchMetricsDetail & WithNamespace(const char *value)
AWS_DEVOPSGURU_API CloudWatchMetricsDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStat(const CloudWatchMetricsStat &value)
AWS_DEVOPSGURU_API CloudWatchMetricsDetail()
const Aws::String & GetUnit() const
CloudWatchMetricsDetail & WithMetricDataSummary(const CloudWatchMetricsDataSummary &value)
bool MetricNameHasBeenSet() const
void SetPeriod(int value)
CloudWatchMetricsDetail & WithNamespace(const Aws::String &value)
void SetMetricName(Aws::String &&value)
CloudWatchMetricsDetail & WithStat(const CloudWatchMetricsStat &value)
void SetStat(CloudWatchMetricsStat &&value)
bool NamespaceHasBeenSet() const
void SetMetricDataSummary(CloudWatchMetricsDataSummary &&value)
AWS_DEVOPSGURU_API CloudWatchMetricsDetail(Aws::Utils::Json::JsonView jsonValue)
CloudWatchMetricsDetail & WithStat(CloudWatchMetricsStat &&value)
void SetNamespace(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue