7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/model/UsageMetricBasis.h>
9#include <aws/discovery/model/Tenancy.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/discovery/model/ReservedInstanceOptions.h>
25namespace ApplicationDiscoveryService
54 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
90 inline void SetTenancy(
const Tenancy& value) { m_tenancyHasBeenSet =
true; m_tenancy = value; }
91 inline void SetTenancy(
Tenancy&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::move(value); }
123 inline void SetPreferredRegion(
const char* value) { m_preferredRegionHasBeenSet =
true; m_preferredRegion.assign(value); }
144 bool m_enabledHasBeenSet =
false;
147 bool m_cpuPerformanceMetricBasisHasBeenSet =
false;
150 bool m_ramPerformanceMetricBasisHasBeenSet =
false;
153 bool m_tenancyHasBeenSet =
false;
156 bool m_excludedInstanceTypesHasBeenSet =
false;
159 bool m_preferredRegionHasBeenSet =
false;
162 bool m_reservedInstanceOptionsHasBeenSet =
false;
bool RamPerformanceMetricBasisHasBeenSet() const
void SetEnabled(bool value)
void SetTenancy(Tenancy &&value)
void SetReservedInstanceOptions(const ReservedInstanceOptions &value)
Ec2RecommendationsExportPreferences & AddExcludedInstanceTypes(Aws::String &&value)
Ec2RecommendationsExportPreferences & WithCpuPerformanceMetricBasis(UsageMetricBasis &&value)
bool ExcludedInstanceTypesHasBeenSet() const
Ec2RecommendationsExportPreferences & WithPreferredRegion(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Ec2RecommendationsExportPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API Ec2RecommendationsExportPreferences(Aws::Utils::Json::JsonView jsonValue)
void SetCpuPerformanceMetricBasis(UsageMetricBasis &&value)
void SetTenancy(const Tenancy &value)
void SetRamPerformanceMetricBasis(UsageMetricBasis &&value)
Ec2RecommendationsExportPreferences & WithEnabled(bool value)
const UsageMetricBasis & GetCpuPerformanceMetricBasis() const
Ec2RecommendationsExportPreferences & WithRamPerformanceMetricBasis(UsageMetricBasis &&value)
void SetPreferredRegion(Aws::String &&value)
bool PreferredRegionHasBeenSet() const
bool CpuPerformanceMetricBasisHasBeenSet() const
void SetPreferredRegion(const char *value)
Ec2RecommendationsExportPreferences & WithExcludedInstanceTypes(const Aws::Vector< Aws::String > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Ec2RecommendationsExportPreferences()
const Aws::String & GetPreferredRegion() const
const Tenancy & GetTenancy() const
void SetExcludedInstanceTypes(Aws::Vector< Aws::String > &&value)
const ReservedInstanceOptions & GetReservedInstanceOptions() const
void SetReservedInstanceOptions(ReservedInstanceOptions &&value)
Ec2RecommendationsExportPreferences & WithRamPerformanceMetricBasis(const UsageMetricBasis &value)
const UsageMetricBasis & GetRamPerformanceMetricBasis() const
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Ec2RecommendationsExportPreferences & WithPreferredRegion(Aws::String &&value)
Ec2RecommendationsExportPreferences & WithReservedInstanceOptions(ReservedInstanceOptions &&value)
void SetRamPerformanceMetricBasis(const UsageMetricBasis &value)
Ec2RecommendationsExportPreferences & WithPreferredRegion(const char *value)
Ec2RecommendationsExportPreferences & AddExcludedInstanceTypes(const char *value)
const Aws::Vector< Aws::String > & GetExcludedInstanceTypes() const
void SetCpuPerformanceMetricBasis(const UsageMetricBasis &value)
bool ReservedInstanceOptionsHasBeenSet() const
Ec2RecommendationsExportPreferences & WithTenancy(Tenancy &&value)
void SetExcludedInstanceTypes(const Aws::Vector< Aws::String > &value)
Ec2RecommendationsExportPreferences & WithCpuPerformanceMetricBasis(const UsageMetricBasis &value)
Ec2RecommendationsExportPreferences & WithReservedInstanceOptions(const ReservedInstanceOptions &value)
Ec2RecommendationsExportPreferences & WithExcludedInstanceTypes(Aws::Vector< Aws::String > &&value)
Ec2RecommendationsExportPreferences & WithTenancy(const Tenancy &value)
Ec2RecommendationsExportPreferences & AddExcludedInstanceTypes(const Aws::String &value)
void SetPreferredRegion(const Aws::String &value)
bool TenancyHasBeenSet() const
bool EnabledHasBeenSet() 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