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>
55 template<
typename EventArnT = Aws::String>
56 void SetEventArn(EventArnT&& value) { m_eventArnHasBeenSet =
true; m_eventArn = std::forward<EventArnT>(value); }
57 template<
typename EventArnT = Aws::String>
66 inline int GetCount()
const {
return m_count; }
68 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
78 template<
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
79 void SetStatuses(StatusesT&& value) { m_statusesHasBeenSet =
true; m_statuses = std::forward<StatusesT>(value); }
80 template<
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
83 m_statusesHasBeenSet =
true; m_statuses.emplace(key, value);
return *
this;
96 template<
typename AccountsT = Aws::Vector<AccountEntityAggregate>>
97 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts = std::forward<AccountsT>(value); }
98 template<
typename AccountsT = Aws::Vector<AccountEntityAggregate>>
100 template<
typename AccountsT = AccountEntityAggregate>
106 bool m_eventArnHasBeenSet =
false;
109 bool m_countHasBeenSet =
false;
112 bool m_statusesHasBeenSet =
false;
115 bool m_accountsHasBeenSet =
false;
void SetStatuses(StatusesT &&value)
AWS_HEALTH_API OrganizationEntityAggregate()=default
bool CountHasBeenSet() const
bool StatusesHasBeenSet() const
void SetEventArn(EventArnT &&value)
OrganizationEntityAggregate & WithEventArn(EventArnT &&value)
const Aws::String & GetEventArn() const
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 & AddAccounts(AccountsT &&value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccounts(AccountsT &&value)
OrganizationEntityAggregate & WithAccounts(AccountsT &&value)
OrganizationEntityAggregate & WithStatuses(StatusesT &&value)
const Aws::Vector< AccountEntityAggregate > & GetAccounts() const
OrganizationEntityAggregate & AddStatuses(EntityStatusCode key, int value)
bool EventArnHasBeenSet() const
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