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>
11#include <aws/crt/cbor/Cbor.h>
21namespace ComputeOptimizer {
39 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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)
void SetInferredWorkloadTypes(InferredWorkloadTypesT &&value)
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InferredWorkloadSaving & AddInferredWorkloadTypes(InferredWorkloadType value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
const Aws::Vector< InferredWorkloadType > & GetInferredWorkloadTypes() const
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving()=default
bool InferredWorkloadTypesHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API InferredWorkloadSaving(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InferredWorkloadSaving & WithInferredWorkloadTypes(InferredWorkloadTypesT &&value)
std::vector< T, Aws::Allocator< T > > Vector