7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
35 AWS_CLOUDWATCH_API
MessageData(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename CodeT = Aws::String>
47 m_codeHasBeenSet =
true;
48 m_code = std::forward<CodeT>(value);
50 template <
typename CodeT = Aws::String>
52 SetCode(std::forward<CodeT>(value));
63 template <
typename ValueT = Aws::String>
65 m_valueHasBeenSet =
true;
66 m_value = std::forward<ValueT>(value);
68 template <
typename ValueT = Aws::String>
70 SetValue(std::forward<ValueT>(value));
78 bool m_codeHasBeenSet =
false;
79 bool m_valueHasBeenSet =
false;
AWS_CLOUDWATCH_API MessageData & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetCode() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API MessageData()=default
AWS_CLOUDWATCH_API MessageData(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetValue() const
void SetCode(CodeT &&value)
MessageData & WithValue(ValueT &&value)
MessageData & WithCode(CodeT &&value)
bool ValueHasBeenSet() const
void SetValue(ValueT &&value)
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String