7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename AggregateValueT = Aws::String>
49 void SetAggregateValue(AggregateValueT&& value) { m_aggregateValueHasBeenSet =
true; m_aggregateValue = std::forward<AggregateValueT>(value); }
50 template<
typename AggregateValueT = Aws::String>
58 inline int GetCount()
const {
return m_count; }
60 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
66 bool m_aggregateValueHasBeenSet =
false;
69 bool m_countHasBeenSet =
false;
EventAggregate & WithCount(int value)
void SetAggregateValue(AggregateValueT &&value)
bool AggregateValueHasBeenSet() const
bool CountHasBeenSet() const
AWS_HEALTH_API EventAggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
EventAggregate & WithAggregateValue(AggregateValueT &&value)
AWS_HEALTH_API EventAggregate()=default
const Aws::String & GetAggregateValue() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTH_API EventAggregate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue