7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/compute-optimizer/model/EstimatedMonthlySavings.h>
10#include <aws/compute-optimizer/model/InferredWorkloadType.h>
23namespace ComputeOptimizer
68 template<
typename InferredWorkloadTypesT = Aws::Vector<InferredWorkloadType>>
69 void SetInferredWorkloadTypes(InferredWorkloadTypesT&& value) { m_inferredWorkloadTypesHasBeenSet =
true; m_inferredWorkloadTypes = std::forward<InferredWorkloadTypesT>(value); }
70 template<
typename InferredWorkloadTypesT = Aws::Vector<InferredWorkloadType>>
83 template<
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
84 void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) { m_estimatedMonthlySavingsHasBeenSet =
true; m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value); }
85 template<
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
91 bool m_inferredWorkloadTypesHasBeenSet =
false;
94 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