7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/LicenseEdition.h>
10#include <aws/compute-optimizer/model/LicenseModel.h>
11#include <aws/compute-optimizer/model/SavingsOpportunity.h>
24namespace ComputeOptimizer
49 inline int GetRank()
const {
return m_rank; }
51 inline void SetRank(
int value) { m_rankHasBeenSet =
true; m_rank = value; }
61 template<
typename OperatingSystemT = Aws::String>
62 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
63 template<
typename OperatingSystemT = Aws::String>
92 template<
typename SavingsOpportunityT = SavingsOpportunity>
93 void SetSavingsOpportunity(SavingsOpportunityT&& value) { m_savingsOpportunityHasBeenSet =
true; m_savingsOpportunity = std::forward<SavingsOpportunityT>(value); }
94 template<
typename SavingsOpportunityT = SavingsOpportunity>
100 bool m_rankHasBeenSet =
false;
103 bool m_operatingSystemHasBeenSet =
false;
106 bool m_licenseEditionHasBeenSet =
false;
109 bool m_licenseModelHasBeenSet =
false;
111 SavingsOpportunity m_savingsOpportunity;
112 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