7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/health/model/EntityStatusCode.h>
58 inline void SetEventArn(
const char* value) { m_eventArnHasBeenSet =
true; m_eventArn.assign(value); }
70 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
90 bool m_eventArnHasBeenSet =
false;
93 bool m_countHasBeenSet =
false;
96 bool m_statusesHasBeenSet =
false;
EntityAggregate & WithEventArn(const Aws::String &value)
bool EventArnHasBeenSet() const
AWS_HEALTH_API EntityAggregate()
AWS_HEALTH_API EntityAggregate(Aws::Utils::Json::JsonView jsonValue)
EntityAggregate & WithEventArn(Aws::String &&value)
EntityAggregate & AddStatuses(EntityStatusCode &&key, int value)
void SetStatuses(Aws::Map< EntityStatusCode, int > &&value)
EntityAggregate & WithStatuses(const Aws::Map< EntityStatusCode, int > &value)
EntityAggregate & WithStatuses(Aws::Map< EntityStatusCode, int > &&value)
const Aws::String & GetEventArn() const
void SetEventArn(Aws::String &&value)
void SetEventArn(const Aws::String &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< EntityStatusCode, int > & GetStatuses() const
bool CountHasBeenSet() const
EntityAggregate & AddStatuses(const EntityStatusCode &key, int value)
void SetStatuses(const Aws::Map< EntityStatusCode, int > &value)
bool StatusesHasBeenSet() const
EntityAggregate & WithCount(int value)
AWS_HEALTH_API EntityAggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityAggregate & WithEventArn(const char *value)
void SetEventArn(const char *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