7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/CpuVendorArchitecture.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizer {
38 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
56 template <
typename CpuVendorArchitecturesT = Aws::Vector<CpuVendorArchitecture>>
58 m_cpuVendorArchitecturesHasBeenSet =
true;
59 m_cpuVendorArchitectures = std::forward<CpuVendorArchitecturesT>(value);
61 template <
typename CpuVendorArchitecturesT = Aws::Vector<CpuVendorArchitecture>>
67 m_cpuVendorArchitecturesHasBeenSet =
true;
68 m_cpuVendorArchitectures.push_back(value);
74 bool m_cpuVendorArchitecturesHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
RecommendationPreferences & WithCpuVendorArchitectures(CpuVendorArchitecturesT &&value)
RecommendationPreferences & AddCpuVendorArchitectures(CpuVendorArchitecture value)
bool CpuVendorArchitecturesHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API RecommendationPreferences(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API RecommendationPreferences()=default
AWS_COMPUTEOPTIMIZER_API RecommendationPreferences & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCpuVendorArchitectures(CpuVendorArchitecturesT &&value)
const Aws::Vector< CpuVendorArchitecture > & GetCpuVendorArchitectures() const
std::vector< T, Aws::Allocator< T > > Vector