7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/health/Health_EXPORTS.h>
11#include <aws/health/model/AccountEntityAggregate.h>
12#include <aws/health/model/EntityStatusCode.h>
49 template <
typename EventArnT = Aws::String>
51 m_eventArnHasBeenSet =
true;
52 m_eventArn = std::forward<EventArnT>(value);
54 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);
110 template <
typename AccountsT = Aws::Vector<AccountEntityAggregate>>
112 m_accountsHasBeenSet =
true;
113 m_accounts = std::forward<AccountsT>(value);
115 template <
typename AccountsT = Aws::Vector<AccountEntityAggregate>>
120 template <
typename AccountsT = AccountEntityAggregate>
122 m_accountsHasBeenSet =
true;
123 m_accounts.emplace_back(std::forward<AccountsT>(value));
135 bool m_eventArnHasBeenSet =
false;
136 bool m_countHasBeenSet =
false;
137 bool m_statusesHasBeenSet =
false;
138 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