7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/MetricDatum.h>
36#ifdef ENABLED_ZLIB_REQUEST_COMPRESSION
57 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
80 bool m_namespaceHasBeenSet =
false;
83 bool m_metricDataHasBeenSet =
false;
virtual Aws::Client::CompressionAlgorithm GetSelectedCompressionAlgorithm(Aws::Client::RequestCompressionConfig) const
bool MetricDataHasBeenSet() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
PutMetricDataRequest & WithNamespace(Aws::String &&value)
void SetNamespace(Aws::String &&value)
PutMetricDataRequest & WithMetricData(Aws::Vector< MetricDatum > &&value)
bool NamespaceHasBeenSet() const
void SetNamespace(const char *value)
PutMetricDataRequest & WithMetricData(const Aws::Vector< MetricDatum > &value)
void SetMetricData(const Aws::Vector< MetricDatum > &value)
virtual const char * GetServiceRequestName() const override
PutMetricDataRequest & AddMetricData(const MetricDatum &value)
void SetNamespace(const Aws::String &value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PutMetricDataRequest & WithNamespace(const Aws::String &value)
const Aws::Vector< MetricDatum > & GetMetricData() const
AWS_CLOUDWATCH_API PutMetricDataRequest()
void SetMetricData(Aws::Vector< MetricDatum > &&value)
PutMetricDataRequest & WithNamespace(const char *value)
const Aws::String & GetNamespace() const
PutMetricDataRequest & AddMetricData(MetricDatum &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector