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/RecentlyActive.h>
12#include <aws/monitoring/model/DimensionFilter.h>
51 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
66 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
96 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
142 inline void SetOwningAccount(
const char* value) { m_owningAccountHasBeenSet =
true; m_owningAccount.assign(value); }
150 bool m_namespaceHasBeenSet =
false;
153 bool m_metricNameHasBeenSet =
false;
156 bool m_dimensionsHasBeenSet =
false;
159 bool m_nextTokenHasBeenSet =
false;
162 bool m_recentlyActiveHasBeenSet =
false;
164 bool m_includeLinkedAccounts;
165 bool m_includeLinkedAccountsHasBeenSet =
false;
168 bool m_owningAccountHasBeenSet =
false;
void SetOwningAccount(const Aws::String &value)
void SetIncludeLinkedAccounts(bool value)
void SetNextToken(const char *value)
ListMetricsRequest & WithOwningAccount(const Aws::String &value)
void SetRecentlyActive(RecentlyActive &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetOwningAccount() const
void SetMetricName(const Aws::String &value)
ListMetricsRequest & WithIncludeLinkedAccounts(bool value)
ListMetricsRequest & WithRecentlyActive(RecentlyActive &&value)
virtual const char * GetServiceRequestName() const override
void SetRecentlyActive(const RecentlyActive &value)
ListMetricsRequest & WithRecentlyActive(const RecentlyActive &value)
ListMetricsRequest & AddDimensions(DimensionFilter &&value)
const Aws::String & GetMetricName() const
void SetOwningAccount(const char *value)
void SetNextToken(Aws::String &&value)
AWS_CLOUDWATCH_API ListMetricsRequest()
bool DimensionsHasBeenSet() const
ListMetricsRequest & WithDimensions(Aws::Vector< DimensionFilter > &&value)
const Aws::Vector< DimensionFilter > & GetDimensions() const
void SetMetricName(Aws::String &&value)
bool OwningAccountHasBeenSet() const
const Aws::String & GetNamespace() const
bool GetIncludeLinkedAccounts() const
void SetMetricName(const char *value)
bool NamespaceHasBeenSet() const
ListMetricsRequest & WithMetricName(const Aws::String &value)
void SetNamespace(Aws::String &&value)
void SetNamespace(const Aws::String &value)
ListMetricsRequest & WithMetricName(Aws::String &&value)
const RecentlyActive & GetRecentlyActive() const
ListMetricsRequest & WithMetricName(const char *value)
bool IncludeLinkedAccountsHasBeenSet() const
ListMetricsRequest & AddDimensions(const DimensionFilter &value)
ListMetricsRequest & WithOwningAccount(Aws::String &&value)
bool MetricNameHasBeenSet() const
void SetOwningAccount(Aws::String &&value)
void SetNamespace(const char *value)
ListMetricsRequest & WithDimensions(const Aws::Vector< DimensionFilter > &value)
void SetDimensions(Aws::Vector< DimensionFilter > &&value)
ListMetricsRequest & WithNextToken(const char *value)
ListMetricsRequest & WithOwningAccount(const char *value)
ListMetricsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
ListMetricsRequest & WithNamespace(const Aws::String &value)
void SetDimensions(const Aws::Vector< DimensionFilter > &value)
ListMetricsRequest & WithNamespace(const char *value)
bool NextTokenHasBeenSet() const
bool RecentlyActiveHasBeenSet() const
ListMetricsRequest & WithNamespace(Aws::String &&value)
ListMetricsRequest & WithNextToken(Aws::String &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector