7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
41 template <
typename FamilyT = Aws::String>
43 m_familyHasBeenSet =
true;
44 m_family = std::forward<FamilyT>(value);
46 template <
typename FamilyT = Aws::String>
59 template <
typename InstanceTypeT = Aws::String>
61 m_instanceTypeHasBeenSet =
true;
62 m_instanceType = std::forward<InstanceTypeT>(value);
64 template <
typename InstanceTypeT = Aws::String>
77 template <
typename RegionT = Aws::String>
79 m_regionHasBeenSet =
true;
80 m_region = std::forward<RegionT>(value);
82 template <
typename RegionT = Aws::String>
95 template <
typename AvailabilityZoneT = Aws::String>
97 m_availabilityZoneHasBeenSet =
true;
98 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
100 template <
typename AvailabilityZoneT = Aws::String>
114 template <
typename PlatformT = Aws::String>
116 m_platformHasBeenSet =
true;
117 m_platform = std::forward<PlatformT>(value);
119 template <
typename PlatformT = Aws::String>
132 template <
typename TenancyT = Aws::String>
134 m_tenancyHasBeenSet =
true;
135 m_tenancy = std::forward<TenancyT>(value);
137 template <
typename TenancyT = Aws::String>
152 m_currentGenerationHasBeenSet =
true;
153 m_currentGeneration = value;
168 m_sizeFlexEligibleHasBeenSet =
true;
169 m_sizeFlexEligible = value;
189 bool m_currentGeneration{
false};
191 bool m_sizeFlexEligible{
false};
192 bool m_familyHasBeenSet =
false;
193 bool m_instanceTypeHasBeenSet =
false;
194 bool m_regionHasBeenSet =
false;
195 bool m_availabilityZoneHasBeenSet =
false;
196 bool m_platformHasBeenSet =
false;
197 bool m_tenancyHasBeenSet =
false;
198 bool m_currentGenerationHasBeenSet =
false;
199 bool m_sizeFlexEligibleHasBeenSet =
false;
void SetRegion(RegionT &&value)
const Aws::String & GetTenancy() const
void SetSizeFlexEligible(bool value)
EC2InstanceDetails & WithTenancy(TenancyT &&value)
const Aws::String & GetInstanceType() const
EC2InstanceDetails & WithRegion(RegionT &&value)
void SetFamily(FamilyT &&value)
const Aws::String & GetAvailabilityZone() const
bool PlatformHasBeenSet() const
EC2InstanceDetails & WithFamily(FamilyT &&value)
AWS_COSTEXPLORER_API EC2InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SizeFlexEligibleHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool CurrentGenerationHasBeenSet() const
void SetTenancy(TenancyT &&value)
const Aws::String & GetPlatform() const
EC2InstanceDetails & WithAvailabilityZone(AvailabilityZoneT &&value)
bool GetCurrentGeneration() const
bool FamilyHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
EC2InstanceDetails & WithCurrentGeneration(bool value)
void SetInstanceType(InstanceTypeT &&value)
AWS_COSTEXPLORER_API EC2InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
bool GetSizeFlexEligible() const
const Aws::String & GetRegion() const
EC2InstanceDetails & WithSizeFlexEligible(bool value)
bool TenancyHasBeenSet() const
const Aws::String & GetFamily() const
EC2InstanceDetails & WithInstanceType(InstanceTypeT &&value)
bool RegionHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTypeHasBeenSet() const
AWS_COSTEXPLORER_API EC2InstanceDetails()=default
EC2InstanceDetails & WithPlatform(PlatformT &&value)
void SetPlatform(PlatformT &&value)
void SetCurrentGeneration(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue