7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/health/Health_EXPORTS.h>
11#include <aws/health/model/EntityStatusCode.h>
35 AWS_HEALTH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 int64_t
GetCount()
const {
return m_count; }
64 m_countHasBeenSet =
true;
79 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int64_t>>
81 m_statusesHasBeenSet =
true;
82 m_statuses = std::forward<StatusesT>(value);
84 template <
typename StatusesT = Aws::Map<EntityStatusCode,
int64_t>>
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)
AccountEntityAggregate & AddStatuses(EntityStatusCode key, int64_t value)
void SetAccountId(AccountIdT &&value)
const Aws::Map< EntityStatusCode, int64_t > & GetStatuses() const
bool CountHasBeenSet() const
AWS_HEALTH_API AccountEntityAggregate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool AccountIdHasBeenSet() const
AccountEntityAggregate & WithStatuses(StatusesT &&value)
void SetCount(int64_t value)
const Aws::String & GetAccountId() const
AWS_HEALTH_API AccountEntityAggregate()=default
AWS_HEALTH_API AccountEntityAggregate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_HEALTH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AccountEntityAggregate & WithCount(int64_t value)
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