7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/AccountOutcome.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
38 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 m_totalAccountsHasBeenSet =
true;
48 m_totalAccounts = value;
65 m_evaluatedAccountsHasBeenSet =
true;
66 m_evaluatedAccounts = value;
81 m_passedCountHasBeenSet =
true;
82 m_passedCount = value;
97 m_failedCountHasBeenSet =
true;
98 m_failedCount = value;
113 m_partiallyPassedCountHasBeenSet =
true;
114 m_partiallyPassedCount = value;
130 m_notApplicableCountHasBeenSet =
true;
131 m_notApplicableCount = value;
147 m_failedRunCountHasBeenSet =
true;
148 m_failedRunCount = value;
162 template <
typename LowestScoringAccountsT = Aws::Vector<AccountOutcome>>
164 m_lowestScoringAccountsHasBeenSet =
true;
165 m_lowestScoringAccounts = std::forward<LowestScoringAccountsT>(value);
167 template <
typename LowestScoringAccountsT = Aws::Vector<AccountOutcome>>
172 template <
typename LowestScoringAccountsT = AccountOutcome>
174 m_lowestScoringAccountsHasBeenSet =
true;
175 m_lowestScoringAccounts.emplace_back(std::forward<LowestScoringAccountsT>(value));
180 int64_t m_totalAccounts{0};
182 int64_t m_evaluatedAccounts{0};
184 int64_t m_passedCount{0};
186 int64_t m_failedCount{0};
188 int64_t m_partiallyPassedCount{0};
190 int64_t m_notApplicableCount{0};
192 int64_t m_failedRunCount{0};
195 bool m_totalAccountsHasBeenSet =
false;
196 bool m_evaluatedAccountsHasBeenSet =
false;
197 bool m_passedCountHasBeenSet =
false;
198 bool m_failedCountHasBeenSet =
false;
199 bool m_partiallyPassedCountHasBeenSet =
false;
200 bool m_notApplicableCountHasBeenSet =
false;
201 bool m_failedRunCountHasBeenSet =
false;
202 bool m_lowestScoringAccountsHasBeenSet =
false;
void SetLowestScoringAccounts(LowestScoringAccountsT &&value)
bool PartiallyPassedCountHasBeenSet() const
void SetNotApplicableCount(int64_t value)
OrganizationSummary & WithTotalAccounts(int64_t value)
bool FailedCountHasBeenSet() const
OrganizationSummary & AddLowestScoringAccounts(LowestScoringAccountsT &&value)
void SetPartiallyPassedCount(int64_t value)
int64_t GetFailedCount() const
void SetEvaluatedAccounts(int64_t value)
void SetTotalAccounts(int64_t value)
bool EvaluatedAccountsHasBeenSet() const
int64_t GetPassedCount() const
OrganizationSummary & WithNotApplicableCount(int64_t value)
AWS_ASSURANCE_API OrganizationSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetFailedCount(int64_t value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
OrganizationSummary & WithEvaluatedAccounts(int64_t value)
OrganizationSummary & WithLowestScoringAccounts(LowestScoringAccountsT &&value)
int64_t GetFailedRunCount() const
bool PassedCountHasBeenSet() const
bool TotalAccountsHasBeenSet() const
bool FailedRunCountHasBeenSet() const
bool NotApplicableCountHasBeenSet() const
AWS_ASSURANCE_API OrganizationSummary()=default
OrganizationSummary & WithFailedCount(int64_t value)
int64_t GetPartiallyPassedCount() const
int64_t GetEvaluatedAccounts() const
int64_t GetNotApplicableCount() const
AWS_ASSURANCE_API OrganizationSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OrganizationSummary & WithPassedCount(int64_t value)
void SetPassedCount(int64_t value)
OrganizationSummary & WithFailedRunCount(int64_t value)
int64_t GetTotalAccounts() const
OrganizationSummary & WithPartiallyPassedCount(int64_t value)
void SetFailedRunCount(int64_t value)
const Aws::Vector< AccountOutcome > & GetLowestScoringAccounts() const
bool LowestScoringAccountsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector