7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetAvailableCapacity(
int value) { m_availableCapacityHasBeenSet =
true; m_availableCapacity = value; }
62 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
75 inline void SetTotalCapacity(
int value) { m_totalCapacityHasBeenSet =
true; m_totalCapacity = value; }
80 int m_availableCapacity;
81 bool m_availableCapacityHasBeenSet =
false;
84 bool m_instanceTypeHasBeenSet =
false;
87 bool m_totalCapacityHasBeenSet =
false;
AWS_EC2_API InstanceCapacity()
InstanceCapacity & WithInstanceType(const Aws::String &value)
InstanceCapacity & WithInstanceType(const char *value)
void SetAvailableCapacity(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceCapacity & WithAvailableCapacity(int value)
void SetInstanceType(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
InstanceCapacity & WithTotalCapacity(int value)
AWS_EC2_API InstanceCapacity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TotalCapacityHasBeenSet() const
void SetTotalCapacity(int value)
int GetAvailableCapacity() const
int GetTotalCapacity() const
void SetInstanceType(const char *value)
AWS_EC2_API InstanceCapacity(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceType() const
bool AvailableCapacityHasBeenSet() const
InstanceCapacity & WithInstanceType(Aws::String &&value)
void SetInstanceType(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream