7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
36 AWS_CLOUDWATCH_API
Dimension(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CLOUDWATCH_API
Dimension&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
69 template <
typename ValueT = Aws::String>
71 m_valueHasBeenSet =
true;
72 m_value = std::forward<ValueT>(value);
74 template <
typename ValueT = Aws::String>
76 SetValue(std::forward<ValueT>(value));
84 bool m_nameHasBeenSet =
false;
85 bool m_valueHasBeenSet =
false;
void SetValue(ValueT &&value)
AWS_CLOUDWATCH_API Dimension(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetValue() const
bool ValueHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API Dimension & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCH_API Dimension()=default
Dimension & WithName(NameT &&value)
Dimension & WithValue(ValueT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String