7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
31 AWS_ASSURANCE_API
AccountOutcome(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename AccountIdT = Aws::String>
43 m_accountIdHasBeenSet =
true;
44 m_accountId = std::forward<AccountIdT>(value);
46 template <
typename AccountIdT = Aws::String>
60 m_outcomePercentageHasBeenSet =
true;
61 m_outcomePercentage = value;
75 template <
typename FindingsSummaryT = Aws::String>
77 m_findingsSummaryHasBeenSet =
true;
78 m_findingsSummary = std::forward<FindingsSummaryT>(value);
80 template <
typename FindingsSummaryT = Aws::String>
89 double m_outcomePercentage{0.0};
92 bool m_accountIdHasBeenSet =
false;
93 bool m_outcomePercentageHasBeenSet =
false;
94 bool m_findingsSummaryHasBeenSet =
false;
const Aws::String & GetFindingsSummary() const
void SetFindingsSummary(FindingsSummaryT &&value)
AccountOutcome & WithOutcomePercentage(double value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
AccountOutcome & WithAccountId(AccountIdT &&value)
bool AccountIdHasBeenSet() const
AccountOutcome & WithFindingsSummary(FindingsSummaryT &&value)
AWS_ASSURANCE_API AccountOutcome & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetOutcomePercentage(double value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool FindingsSummaryHasBeenSet() const
bool OutcomePercentageHasBeenSet() const
double GetOutcomePercentage() const
AWS_ASSURANCE_API AccountOutcome()=default
AWS_ASSURANCE_API AccountOutcome(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String