7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetInstanceClass(
const char* value) { m_instanceClassHasBeenSet =
true; m_instanceClass.assign(value); }
63 inline void SetInstanceSize(
const char* value) { m_instanceSizeHasBeenSet =
true; m_instanceSize.assign(value); }
77 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
90 inline void SetCurrentGeneration(
bool value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration = value; }
100 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
106 bool m_instanceClassHasBeenSet =
false;
109 bool m_instanceSizeHasBeenSet =
false;
112 bool m_regionHasBeenSet =
false;
114 bool m_currentGeneration;
115 bool m_currentGenerationHasBeenSet =
false;
117 bool m_sizeFlexEligible;
118 bool m_sizeFlexEligibleHasBeenSet =
false;
void SetInstanceSize(const Aws::String &value)
const Aws::String & GetInstanceSize() const
void SetCurrentGeneration(bool value)
ESInstanceDetails & WithInstanceClass(const Aws::String &value)
AWS_COSTEXPLORER_API ESInstanceDetails()
bool InstanceClassHasBeenSet() const
bool CurrentGenerationHasBeenSet() const
void SetRegion(Aws::String &&value)
AWS_COSTEXPLORER_API ESInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceClass(const Aws::String &value)
ESInstanceDetails & WithRegion(Aws::String &&value)
bool InstanceSizeHasBeenSet() const
ESInstanceDetails & WithRegion(const Aws::String &value)
ESInstanceDetails & WithInstanceClass(Aws::String &&value)
bool RegionHasBeenSet() const
bool GetCurrentGeneration() const
void SetInstanceClass(const char *value)
void SetInstanceSize(Aws::String &&value)
ESInstanceDetails & WithCurrentGeneration(bool value)
void SetRegion(const char *value)
bool GetSizeFlexEligible() const
ESInstanceDetails & WithInstanceClass(const char *value)
ESInstanceDetails & WithInstanceSize(const Aws::String &value)
void SetSizeFlexEligible(bool value)
ESInstanceDetails & WithRegion(const char *value)
const Aws::String & GetInstanceClass() const
void SetInstanceClass(Aws::String &&value)
ESInstanceDetails & WithSizeFlexEligible(bool value)
void SetRegion(const Aws::String &value)
const Aws::String & GetRegion() const
ESInstanceDetails & WithInstanceSize(const char *value)
ESInstanceDetails & WithInstanceSize(Aws::String &&value)
AWS_COSTEXPLORER_API ESInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceSize(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool SizeFlexEligibleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue