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/LicenseName.h>
11#include <aws/compute-optimizer/model/MetricSource.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace ComputeOptimizer {
47 m_numberOfCoresHasBeenSet =
true;
48 m_numberOfCores = value;
62 template <
typename InstanceTypeT = Aws::String>
64 m_instanceTypeHasBeenSet =
true;
65 m_instanceType = std::forward<InstanceTypeT>(value);
67 template <
typename InstanceTypeT = Aws::String>
80 template <
typename OperatingSystemT = Aws::String>
82 m_operatingSystemHasBeenSet =
true;
83 m_operatingSystem = std::forward<OperatingSystemT>(value);
85 template <
typename OperatingSystemT = Aws::String>
100 m_licenseEditionHasBeenSet =
true;
101 m_licenseEdition = value;
116 m_licenseNameHasBeenSet =
true;
117 m_licenseName = value;
132 m_licenseModelHasBeenSet =
true;
133 m_licenseModel = value;
148 template <
typename LicenseVersionT = Aws::String>
150 m_licenseVersionHasBeenSet =
true;
151 m_licenseVersion = std::forward<LicenseVersionT>(value);
153 template <
typename LicenseVersionT = Aws::String>
167 template <
typename MetricsSourceT = Aws::Vector<MetricSource>>
169 m_metricsSourceHasBeenSet =
true;
170 m_metricsSource = std::forward<MetricsSourceT>(value);
172 template <
typename MetricsSourceT = Aws::Vector<MetricSource>>
177 template <
typename MetricsSourceT = MetricSource>
179 m_metricsSourceHasBeenSet =
true;
180 m_metricsSource.emplace_back(std::forward<MetricsSourceT>(value));
185 int m_numberOfCores{0};
200 bool m_numberOfCoresHasBeenSet =
false;
201 bool m_instanceTypeHasBeenSet =
false;
202 bool m_operatingSystemHasBeenSet =
false;
203 bool m_licenseEditionHasBeenSet =
false;
204 bool m_licenseNameHasBeenSet =
false;
205 bool m_licenseModelHasBeenSet =
false;
206 bool m_licenseVersionHasBeenSet =
false;
207 bool m_metricsSourceHasBeenSet =
false;
bool OperatingSystemHasBeenSet() const
LicenseConfiguration & WithLicenseModel(LicenseModel value)
bool LicenseModelHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration()=default
LicenseConfiguration & WithLicenseName(LicenseName value)
LicenseModel GetLicenseModel() const
bool InstanceTypeHasBeenSet() const
bool LicenseVersionHasBeenSet() const
LicenseConfiguration & WithMetricsSource(MetricsSourceT &&value)
LicenseConfiguration & AddMetricsSource(MetricsSourceT &&value)
LicenseConfiguration & WithNumberOfCores(int value)
void SetOperatingSystem(OperatingSystemT &&value)
bool NumberOfCoresHasBeenSet() const
LicenseName GetLicenseName() const
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool LicenseNameHasBeenSet() const
LicenseConfiguration & WithLicenseEdition(LicenseEdition value)
LicenseConfiguration & WithInstanceType(InstanceTypeT &&value)
LicenseConfiguration & WithOperatingSystem(OperatingSystemT &&value)
bool MetricsSourceHasBeenSet() const
void SetLicenseName(LicenseName value)
void SetLicenseEdition(LicenseEdition value)
AWS_COMPUTEOPTIMIZER_API LicenseConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseModel(LicenseModel value)
int GetNumberOfCores() const
LicenseConfiguration & WithLicenseVersion(LicenseVersionT &&value)
bool LicenseEditionHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
void SetLicenseVersion(LicenseVersionT &&value)
const Aws::String & GetOperatingSystem() const
const Aws::String & GetInstanceType() const
const Aws::Vector< MetricSource > & GetMetricsSource() const
void SetNumberOfCores(int value)
const Aws::String & GetLicenseVersion() const
void SetMetricsSource(MetricsSourceT &&value)
LicenseEdition GetLicenseEdition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue