7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Dimension.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ApplicationSignals {
45 template <
typename NamespaceT = Aws::String>
47 m_namespaceHasBeenSet =
true;
48 m_namespace = std::forward<NamespaceT>(value);
50 template <
typename NamespaceT = Aws::String>
63 template <
typename MetricTypeT = Aws::String>
65 m_metricTypeHasBeenSet =
true;
66 m_metricType = std::forward<MetricTypeT>(value);
68 template <
typename MetricTypeT = Aws::String>
83 template <
typename DimensionsT = Aws::Vector<Dimension>>
85 m_dimensionsHasBeenSet =
true;
86 m_dimensions = std::forward<DimensionsT>(value);
88 template <
typename DimensionsT = Aws::Vector<Dimension>>
93 template <
typename DimensionsT = Dimension>
95 m_dimensionsHasBeenSet =
true;
96 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
107 template <
typename MetricNameT = Aws::String>
109 m_metricNameHasBeenSet =
true;
110 m_metricName = std::forward<MetricNameT>(value);
112 template <
typename MetricNameT = Aws::String>
125 template <
typename AccountIdT = Aws::String>
127 m_accountIdHasBeenSet =
true;
128 m_accountId = std::forward<AccountIdT>(value);
130 template <
typename AccountIdT = Aws::String>
146 bool m_namespaceHasBeenSet =
false;
147 bool m_metricTypeHasBeenSet =
false;
148 bool m_dimensionsHasBeenSet =
false;
149 bool m_metricNameHasBeenSet =
false;
150 bool m_accountIdHasBeenSet =
false;
const Aws::String & GetNamespace() const
MetricReference & WithNamespace(NamespaceT &&value)
const Aws::String & GetAccountId() const
bool DimensionsHasBeenSet() const
const Aws::String & GetMetricName() const
const Aws::String & GetMetricType() const
bool NamespaceHasBeenSet() const
void SetMetricName(MetricNameT &&value)
MetricReference & WithDimensions(DimensionsT &&value)
bool MetricNameHasBeenSet() const
const Aws::Vector< Dimension > & GetDimensions() const
AWS_APPLICATIONSIGNALS_API MetricReference & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
MetricReference & WithAccountId(AccountIdT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(AccountIdT &&value)
void SetNamespace(NamespaceT &&value)
AWS_APPLICATIONSIGNALS_API MetricReference()=default
AWS_APPLICATIONSIGNALS_API MetricReference(Aws::Utils::Json::JsonView jsonValue)
MetricReference & WithMetricName(MetricNameT &&value)
MetricReference & AddDimensions(DimensionsT &&value)
void SetDimensions(DimensionsT &&value)
MetricReference & WithMetricType(MetricTypeT &&value)
bool MetricTypeHasBeenSet() const
void SetMetricType(MetricTypeT &&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