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>
44 template <
typename AccountIdT = Aws::String>
46 m_accountIdHasBeenSet =
true;
47 m_accountId = std::forward<AccountIdT>(value);
49 template <
typename AccountIdT = Aws::String>
61 inline int GetCount()
const {
return m_count; }
64 m_countHasBeenSet =
true;
79 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
81 m_statusesHasBeenSet =
true;
82 m_statuses = std::forward<StatusesT>(value);
84 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
90 m_statusesHasBeenSet =
true;
91 m_statuses.emplace(key, value);
101 bool m_accountIdHasBeenSet =
false;
102 bool m_countHasBeenSet =
false;
103 bool m_statusesHasBeenSet =
false;
void SetStatuses(StatusesT &&value)
AccountEntityAggregate & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
bool CountHasBeenSet() const
bool AccountIdHasBeenSet() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTH_API AccountEntityAggregate(Aws::Utils::Json::JsonView jsonValue)
AccountEntityAggregate & WithStatuses(StatusesT &&value)
const Aws::Map< EntityStatusCode, int > & GetStatuses() const
AccountEntityAggregate & WithCount(int value)
const Aws::String & GetAccountId() const
AWS_HEALTH_API AccountEntityAggregate()=default
AccountEntityAggregate & AddStatuses(EntityStatusCode key, int value)
AWS_HEALTH_API AccountEntityAggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusesHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue