7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/EstimatedMonthlySavings.h>
9#include <aws/compute-optimizer/model/InferredWorkloadType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ComputeOptimizer {
62 template <
typename InferredWorkloadTypesT = Aws::Vector<InferredWorkloadType>>
64 m_inferredWorkloadTypesHasBeenSet =
true;
65 m_inferredWorkloadTypes = std::forward<InferredWorkloadTypesT>(value);
67 template <
typename InferredWorkloadTypesT = Aws::Vector<InferredWorkloadType>>
73 m_inferredWorkloadTypesHasBeenSet =
true;
74 m_inferredWorkloadTypes.push_back(value);
87 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
89 m_estimatedMonthlySavingsHasBeenSet =
true;
90 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
92 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
102 bool m_inferredWorkloadTypesHasBeenSet =
false;
103 bool m_estimatedMonthlySavingsHasBeenSet =
false;
bool EstimatedMonthlySavingsHasBeenSet() const
InferredWorkloadSaving & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInferredWorkloadTypes(InferredWorkloadTypesT &&value)
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
InferredWorkloadSaving & AddInferredWorkloadTypes(InferredWorkloadType value)
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
const Aws::Vector< InferredWorkloadType > & GetInferredWorkloadTypes() const
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving()=default
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving(Aws::Utils::Json::JsonView jsonValue)
bool InferredWorkloadTypesHasBeenSet() const
InferredWorkloadSaving & WithInferredWorkloadTypes(InferredWorkloadTypesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue