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/core/utils/memory/stl/AWSVector.h>
11#include <aws/health/model/EntityStatusCode.h>
12#include <aws/health/model/AccountEntityAggregate.h>
57 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; }
107 bool m_eventArnHasBeenSet =
false;
110 bool m_countHasBeenSet =
false;
113 bool m_statusesHasBeenSet =
false;
116 bool m_accountsHasBeenSet =
false;
void SetAccounts(Aws::Vector< AccountEntityAggregate > &&value)
OrganizationEntityAggregate & WithStatuses(const Aws::Map< EntityStatusCode, int > &value)
bool CountHasBeenSet() const
bool StatusesHasBeenSet() const
void SetStatuses(const Aws::Map< EntityStatusCode, int > &value)
void SetEventArn(const char *value)
const Aws::String & GetEventArn() const
OrganizationEntityAggregate & AddStatuses(EntityStatusCode &&key, int value)
OrganizationEntityAggregate & AddAccounts(const AccountEntityAggregate &value)
OrganizationEntityAggregate & WithCount(int value)
AWS_HEALTH_API OrganizationEntityAggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountsHasBeenSet() const
AWS_HEALTH_API OrganizationEntityAggregate(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< EntityStatusCode, int > & GetStatuses() const
OrganizationEntityAggregate & WithAccounts(Aws::Vector< AccountEntityAggregate > &&value)
OrganizationEntityAggregate & WithEventArn(const Aws::String &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatuses(Aws::Map< EntityStatusCode, int > &&value)
OrganizationEntityAggregate & WithStatuses(Aws::Map< EntityStatusCode, int > &&value)
OrganizationEntityAggregate & WithEventArn(Aws::String &&value)
void SetAccounts(const Aws::Vector< AccountEntityAggregate > &value)
const Aws::Vector< AccountEntityAggregate > & GetAccounts() const
void SetEventArn(Aws::String &&value)
AWS_HEALTH_API OrganizationEntityAggregate()
OrganizationEntityAggregate & AddAccounts(AccountEntityAggregate &&value)
void SetEventArn(const Aws::String &value)
OrganizationEntityAggregate & WithAccounts(const Aws::Vector< AccountEntityAggregate > &value)
bool EventArnHasBeenSet() const
OrganizationEntityAggregate & AddStatuses(const EntityStatusCode &key, int value)
OrganizationEntityAggregate & WithEventArn(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue