7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetFamily(
const char* value) { m_familyHasBeenSet =
true; m_family.assign(value); }
63 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
77 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
91 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
106 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
120 inline void SetTenancy(
const char* value) { m_tenancyHasBeenSet =
true; m_tenancy.assign(value); }
133 inline void SetCurrentGeneration(
bool value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration = value; }
143 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
149 bool m_familyHasBeenSet =
false;
152 bool m_instanceTypeHasBeenSet =
false;
155 bool m_regionHasBeenSet =
false;
158 bool m_availabilityZoneHasBeenSet =
false;
161 bool m_platformHasBeenSet =
false;
164 bool m_tenancyHasBeenSet =
false;
166 bool m_currentGeneration;
167 bool m_currentGenerationHasBeenSet =
false;
169 bool m_sizeFlexEligible;
170 bool m_sizeFlexEligibleHasBeenSet =
false;
void SetPlatform(const Aws::String &value)
EC2InstanceDetails & WithPlatform(Aws::String &&value)
const Aws::String & GetTenancy() const
void SetPlatform(Aws::String &&value)
void SetSizeFlexEligible(bool value)
void SetAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(const char *value)
void SetTenancy(const Aws::String &value)
void SetTenancy(const char *value)
const Aws::String & GetInstanceType() const
EC2InstanceDetails & WithFamily(Aws::String &&value)
void SetFamily(Aws::String &&value)
EC2InstanceDetails & WithPlatform(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
bool PlatformHasBeenSet() const
void SetPlatform(const char *value)
AWS_COSTEXPLORER_API EC2InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SizeFlexEligibleHasBeenSet() const
void SetRegion(const char *value)
bool CurrentGenerationHasBeenSet() const
EC2InstanceDetails & WithInstanceType(Aws::String &&value)
const Aws::String & GetPlatform() const
bool GetCurrentGeneration() const
void SetFamily(const char *value)
EC2InstanceDetails & WithRegion(Aws::String &&value)
bool FamilyHasBeenSet() const
EC2InstanceDetails & WithPlatform(const char *value)
EC2InstanceDetails & WithAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
bool AvailabilityZoneHasBeenSet() const
void SetFamily(const Aws::String &value)
EC2InstanceDetails & WithCurrentGeneration(bool value)
void SetRegion(const Aws::String &value)
EC2InstanceDetails & WithRegion(const Aws::String &value)
EC2InstanceDetails & WithTenancy(const Aws::String &value)
AWS_COSTEXPLORER_API EC2InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
EC2InstanceDetails & WithTenancy(const char *value)
AWS_COSTEXPLORER_API EC2InstanceDetails()
EC2InstanceDetails & WithRegion(const char *value)
bool GetSizeFlexEligible() const
EC2InstanceDetails & WithInstanceType(const char *value)
const Aws::String & GetRegion() const
EC2InstanceDetails & WithInstanceType(const Aws::String &value)
EC2InstanceDetails & WithFamily(const Aws::String &value)
EC2InstanceDetails & WithFamily(const char *value)
void SetTenancy(Aws::String &&value)
EC2InstanceDetails & WithSizeFlexEligible(bool value)
bool TenancyHasBeenSet() const
const Aws::String & GetFamily() const
EC2InstanceDetails & WithAvailabilityZone(const Aws::String &value)
EC2InstanceDetails & WithAvailabilityZone(const char *value)
bool RegionHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTypeHasBeenSet() const
void SetInstanceType(const char *value)
void SetRegion(Aws::String &&value)
EC2InstanceDetails & WithTenancy(Aws::String &&value)
void SetCurrentGeneration(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue