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>
50 template<
typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
52 template<
typename AccountIdT = Aws::String>
61 inline int GetCount()
const {
return m_count; }
63 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
73 template<
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
74 void SetStatuses(StatusesT&& value) { m_statusesHasBeenSet =
true; m_statuses = std::forward<StatusesT>(value); }
75 template<
typename StatusesT = Aws::Map<EntityStatusCode,
int>>
78 m_statusesHasBeenSet =
true; m_statuses.emplace(key, value);
return *
this;
84 bool m_accountIdHasBeenSet =
false;
87 bool m_countHasBeenSet =
false;
90 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