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
RulePreviewTotal(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_recommendedActionCountHasBeenSet =
true;
44 m_recommendedActionCount = value;
56 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
58 m_estimatedMonthlySavingsHasBeenSet =
true;
59 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
61 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
68 int64_t m_recommendedActionCount{0};
70 EstimatedMonthlySavings m_estimatedMonthlySavings;
71 bool m_recommendedActionCountHasBeenSet =
false;
72 bool m_estimatedMonthlySavingsHasBeenSet =
false;
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API RulePreviewTotal(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RecommendedActionCountHasBeenSet() const
int64_t GetRecommendedActionCount() const
bool EstimatedMonthlySavingsHasBeenSet() const
RulePreviewTotal & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPUTEOPTIMIZERAUTOMATION_API RulePreviewTotal & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetRecommendedActionCount(int64_t value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API RulePreviewTotal()=default
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
RulePreviewTotal & WithRecommendedActionCount(int64_t value)