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; }
63 inline void SetOperatingSystem(
const char* value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem.assign(value); }
106 bool m_rankHasBeenSet =
false;
109 bool m_operatingSystemHasBeenSet =
false;
112 bool m_licenseEditionHasBeenSet =
false;
115 bool m_licenseModelHasBeenSet =
false;
118 bool m_savingsOpportunityHasBeenSet =
false;
const LicenseModel & GetLicenseModel() const
LicenseRecommendationOption & WithSavingsOpportunity(SavingsOpportunity &&value)
void SetLicenseEdition(LicenseEdition &&value)
void SetOperatingSystem(const char *value)
void SetOperatingSystem(const Aws::String &value)
const SavingsOpportunity & GetSavingsOpportunity() const
bool LicenseModelHasBeenSet() const
LicenseRecommendationOption & WithLicenseModel(LicenseModel &&value)
bool LicenseEditionHasBeenSet() const
LicenseRecommendationOption & WithRank(int value)
LicenseRecommendationOption & WithOperatingSystem(const char *value)
LicenseRecommendationOption & WithOperatingSystem(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOperatingSystem() const
LicenseRecommendationOption & WithLicenseEdition(LicenseEdition &&value)
void SetLicenseModel(LicenseModel &&value)
void SetOperatingSystem(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption()
void SetSavingsOpportunity(const SavingsOpportunity &value)
void SetLicenseModel(const LicenseModel &value)
bool SavingsOpportunityHasBeenSet() const
void SetSavingsOpportunity(SavingsOpportunity &&value)
LicenseRecommendationOption & WithLicenseModel(const LicenseModel &value)
const LicenseEdition & GetLicenseEdition() const
LicenseRecommendationOption & WithLicenseEdition(const LicenseEdition &value)
void SetLicenseEdition(const LicenseEdition &value)
bool RankHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API LicenseRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OperatingSystemHasBeenSet() const
LicenseRecommendationOption & WithOperatingSystem(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseRecommendationOption & WithSavingsOpportunity(const SavingsOpportunity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue