7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/health/Health_EXPORTS.h>
10#include <aws/health/model/EntityStatusCode.h>
50 template <
typename EventArnT = Aws::String>
52 m_eventArnHasBeenSet =
true;
53 m_eventArn = std::forward<EventArnT>(value);
55 template <
typename EventArnT = Aws::String>
66 inline int GetCount()
const {
return m_count; }
69 m_countHasBeenSet =
true;
84 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
86 m_statusesHasBeenSet =
true;
87 m_statuses = std::forward<StatusesT>(value);
89 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
95 m_statusesHasBeenSet =
true;
96 m_statuses.emplace(key, value);
106 bool m_eventArnHasBeenSet =
false;
107 bool m_countHasBeenSet =
false;
108 bool m_statusesHasBeenSet =
false;
EntityAggregate & AddStatuses(EntityStatusCode key, int value)
AWS_HEALTH_API EntityAggregate()=default
bool EventArnHasBeenSet() const
AWS_HEALTH_API EntityAggregate(Aws::Utils::Json::JsonView jsonValue)
EntityAggregate & WithEventArn(EventArnT &&value)
EntityAggregate & WithStatuses(StatusesT &&value)
const Aws::String & GetEventArn() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< EntityStatusCode, int > & GetStatuses() const
void SetEventArn(EventArnT &&value)
bool CountHasBeenSet() const
bool StatusesHasBeenSet() const
EntityAggregate & WithCount(int value)
AWS_HEALTH_API EntityAggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatuses(StatusesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue