7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EstimatedMonthlySavings.h>
19namespace ComputeOptimizerAutomation {
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 int 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(Aws::Utils::Json::JsonView jsonValue)
int GetRecommendedActionCount() const
bool RecommendedActionCountHasBeenSet() const
RulePreviewTotal & WithRecommendedActionCount(int value)
bool EstimatedMonthlySavingsHasBeenSet() const
RulePreviewTotal & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API RulePreviewTotal()=default
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API RulePreviewTotal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendedActionCount(int value)
Aws::Utils::Json::JsonValue JsonValue