7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/LicenseEdition.h>
9#include <aws/compute-optimizer/model/LicenseModel.h>
10#include <aws/compute-optimizer/model/SavingsOpportunity.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ComputeOptimizer {
43 inline int GetRank()
const {
return m_rank; }
46 m_rankHasBeenSet =
true;
61 template <
typename OperatingSystemT = Aws::String>
63 m_operatingSystemHasBeenSet =
true;
64 m_operatingSystem = std::forward<OperatingSystemT>(value);
66 template <
typename OperatingSystemT = Aws::String>
81 m_licenseEditionHasBeenSet =
true;
82 m_licenseEdition = value;
97 m_licenseModelHasBeenSet =
true;
98 m_licenseModel = value;
110 template <
typename SavingsOpportunityT = SavingsOpportunity>
112 m_savingsOpportunityHasBeenSet =
true;
113 m_savingsOpportunity = std::forward<SavingsOpportunityT>(value);
115 template <
typename SavingsOpportunityT = SavingsOpportunity>
130 SavingsOpportunity m_savingsOpportunity;
131 bool m_rankHasBeenSet =
false;
132 bool m_operatingSystemHasBeenSet =
false;
133 bool m_licenseEditionHasBeenSet =
false;
134 bool m_licenseModelHasBeenSet =
false;
135 bool m_savingsOpportunityHasBeenSet =
false;
LicenseModel GetLicenseModel() const
const SavingsOpportunity & GetSavingsOpportunity() const
bool LicenseModelHasBeenSet() const
LicenseRecommendationOption & WithSavingsOpportunity(SavingsOpportunityT &&value)
bool LicenseEditionHasBeenSet() const
LicenseRecommendationOption & WithRank(int value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOperatingSystem() const
LicenseRecommendationOption & WithLicenseEdition(LicenseEdition value)
void SetLicenseEdition(LicenseEdition value)
void SetSavingsOpportunity(SavingsOpportunityT &&value)
LicenseEdition GetLicenseEdition() const
bool SavingsOpportunityHasBeenSet() const
LicenseRecommendationOption & WithLicenseModel(LicenseModel value)
LicenseRecommendationOption & WithOperatingSystem(OperatingSystemT &&value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption()=default
void SetOperatingSystem(OperatingSystemT &&value)
bool RankHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseModel(LicenseModel value)
bool OperatingSystemHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue