7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/health/Health_EXPORTS.h>
32 AWS_HEALTH_API
EventAggregate(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_HEALTH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename AggregateValueT = Aws::String>
44 m_aggregateValueHasBeenSet =
true;
45 m_aggregateValue = std::forward<AggregateValueT>(value);
47 template <
typename AggregateValueT = Aws::String>
58 inline int64_t
GetCount()
const {
return m_count; }
61 m_countHasBeenSet =
true;
73 bool m_aggregateValueHasBeenSet =
false;
74 bool m_countHasBeenSet =
false;
void SetAggregateValue(AggregateValueT &&value)
bool AggregateValueHasBeenSet() const
bool CountHasBeenSet() const
AWS_HEALTH_API EventAggregate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EventAggregate & WithAggregateValue(AggregateValueT &&value)
AWS_HEALTH_API EventAggregate()=default
void SetCount(int64_t value)
AWS_HEALTH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
EventAggregate & WithCount(int64_t value)
const Aws::String & GetAggregateValue() const
AWS_HEALTH_API EventAggregate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String