7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EstimatedMonthlySavings.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComputeOptimizerAutomation {
31 AWS_COMPUTEOPTIMIZERAUTOMATION_API
SummaryTotals(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API
SummaryTotals&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 m_automationEventCountHasBeenSet =
true;
43 m_automationEventCount = value;
55 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
57 m_estimatedMonthlySavingsHasBeenSet =
true;
58 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
60 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
67 int64_t m_automationEventCount{0};
69 EstimatedMonthlySavings m_estimatedMonthlySavings;
70 bool m_automationEventCountHasBeenSet =
false;
71 bool m_estimatedMonthlySavingsHasBeenSet =
false;
bool EstimatedMonthlySavingsHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API SummaryTotals()=default
AWS_COMPUTEOPTIMIZERAUTOMATION_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AutomationEventCountHasBeenSet() const
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API SummaryTotals & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SummaryTotals & WithAutomationEventCount(int64_t value)
int64_t GetAutomationEventCount() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API SummaryTotals(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SummaryTotals & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
void SetAutomationEventCount(int64_t value)