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/LicenseName.h>
11#include <aws/compute-optimizer/model/LicenseModel.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/compute-optimizer/model/MetricSource.h>
26namespace ComputeOptimizer
52 inline void SetNumberOfCores(
int value) { m_numberOfCoresHasBeenSet =
true; m_numberOfCores = value; }
64 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
78 inline void SetOperatingSystem(
const char* value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem.assign(value); }
130 inline void SetLicenseVersion(
const char* value) { m_licenseVersionHasBeenSet =
true; m_licenseVersion.assign(value); }
153 bool m_numberOfCoresHasBeenSet =
false;
156 bool m_instanceTypeHasBeenSet =
false;
159 bool m_operatingSystemHasBeenSet =
false;
162 bool m_licenseEditionHasBeenSet =
false;
165 bool m_licenseNameHasBeenSet =
false;
168 bool m_licenseModelHasBeenSet =
false;
171 bool m_licenseVersionHasBeenSet =
false;
174 bool m_metricsSourceHasBeenSet =
false;
bool OperatingSystemHasBeenSet() const
bool LicenseModelHasBeenSet() const
LicenseConfiguration & WithLicenseVersion(const Aws::String &value)
LicenseConfiguration & WithLicenseVersion(Aws::String &&value)
LicenseConfiguration & WithLicenseModel(const LicenseModel &value)
LicenseConfiguration & WithOperatingSystem(Aws::String &&value)
LicenseConfiguration & WithInstanceType(const char *value)
void SetLicenseVersion(const char *value)
bool InstanceTypeHasBeenSet() const
void SetLicenseModel(const LicenseModel &value)
LicenseConfiguration & WithLicenseName(LicenseName &&value)
bool LicenseVersionHasBeenSet() const
LicenseConfiguration & WithNumberOfCores(int value)
void SetLicenseName(const LicenseName &value)
void SetInstanceType(const char *value)
bool NumberOfCoresHasBeenSet() const
void SetMetricsSource(const Aws::Vector< MetricSource > &value)
void SetOperatingSystem(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool LicenseNameHasBeenSet() const
LicenseConfiguration & WithOperatingSystem(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
LicenseConfiguration & WithInstanceType(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration()
LicenseConfiguration & WithOperatingSystem(const char *value)
LicenseConfiguration & AddMetricsSource(const MetricSource &value)
bool MetricsSourceHasBeenSet() const
LicenseConfiguration & AddMetricsSource(MetricSource &&value)
void SetOperatingSystem(Aws::String &&value)
LicenseConfiguration & WithMetricsSource(Aws::Vector< MetricSource > &&value)
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration(Aws::Utils::Json::JsonView jsonValue)
LicenseConfiguration & WithLicenseModel(LicenseModel &&value)
LicenseConfiguration & WithLicenseVersion(const char *value)
int GetNumberOfCores() const
void SetOperatingSystem(const char *value)
const LicenseName & GetLicenseName() const
bool LicenseEditionHasBeenSet() const
LicenseConfiguration & WithInstanceType(const Aws::String &value)
LicenseConfiguration & WithLicenseEdition(LicenseEdition &&value)
const LicenseModel & GetLicenseModel() const
const Aws::String & GetOperatingSystem() const
void SetLicenseVersion(Aws::String &&value)
LicenseConfiguration & WithLicenseEdition(const LicenseEdition &value)
LicenseConfiguration & WithMetricsSource(const Aws::Vector< MetricSource > &value)
const LicenseEdition & GetLicenseEdition() const
void SetMetricsSource(Aws::Vector< MetricSource > &&value)
const Aws::String & GetInstanceType() const
void SetLicenseName(LicenseName &&value)
void SetLicenseEdition(const LicenseEdition &value)
void SetLicenseEdition(LicenseEdition &&value)
const Aws::Vector< MetricSource > & GetMetricsSource() const
LicenseConfiguration & WithLicenseName(const LicenseName &value)
void SetLicenseModel(LicenseModel &&value)
void SetNumberOfCores(int value)
const Aws::String & GetLicenseVersion() const
void SetLicenseVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue