AWS SDK for C++

AWS SDK for C++ Version 1.11.772

Loading...
Searching...
No Matches
RecommendedActionTotal.h
1
6#pragma once
7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EstimatedMonthlySavings.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizerAutomation {
20namespace Model {
21
29 public:
30 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionTotal() = default;
31 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionTotal(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionTotal& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetRecommendedActionCount() const { return m_recommendedActionCount; }
40 inline bool RecommendedActionCountHasBeenSet() const { return m_recommendedActionCountHasBeenSet; }
41 inline void SetRecommendedActionCount(int value) {
42 m_recommendedActionCountHasBeenSet = true;
43 m_recommendedActionCount = value;
44 }
47 return *this;
48 }
50
52
53 inline const EstimatedMonthlySavings& GetEstimatedMonthlySavings() const { return m_estimatedMonthlySavings; }
54 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
55 template <typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
56 void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) {
57 m_estimatedMonthlySavingsHasBeenSet = true;
58 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
59 }
60 template <typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
61 RecommendedActionTotal& WithEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) {
62 SetEstimatedMonthlySavings(std::forward<EstimatedMonthlySavingsT>(value));
63 return *this;
64 }
66 private:
67 int m_recommendedActionCount{0};
68
69 EstimatedMonthlySavings m_estimatedMonthlySavings;
70 bool m_recommendedActionCountHasBeenSet = false;
71 bool m_estimatedMonthlySavingsHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ComputeOptimizerAutomation
76} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue