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>
10#include <aws/ec2/model/InstanceType.h>
11#include <aws/ec2/model/Scope.h>
53 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
66 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
90 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
103 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
104 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
111 bool m_availabilityZoneHasBeenSet =
false;
114 bool m_instanceCountHasBeenSet =
false;
117 bool m_instanceTypeHasBeenSet =
false;
120 bool m_platformHasBeenSet =
false;
123 bool m_scopeHasBeenSet =
false;
bool AvailabilityZoneHasBeenSet() const
int GetInstanceCount() const
ReservedInstancesConfiguration & WithPlatform(const char *value)
void SetInstanceCount(int value)
void SetAvailabilityZone(const Aws::String &value)
void SetPlatform(const char *value)
const Scope & GetScope() const
ReservedInstancesConfiguration & WithScope(const Scope &value)
AWS_EC2_API ReservedInstancesConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const char *value)
const Aws::String & GetPlatform() const
bool InstanceTypeHasBeenSet() const
ReservedInstancesConfiguration & WithInstanceCount(int value)
void SetScope(Scope &&value)
void SetInstanceType(const InstanceType &value)
void SetInstanceType(InstanceType &&value)
void SetScope(const Scope &value)
ReservedInstancesConfiguration & WithInstanceType(const InstanceType &value)
const InstanceType & GetInstanceType() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPlatform(const Aws::String &value)
AWS_EC2_API ReservedInstancesConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedInstancesConfiguration & WithAvailabilityZone(Aws::String &&value)
ReservedInstancesConfiguration & WithAvailabilityZone(const char *value)
bool PlatformHasBeenSet() const
ReservedInstancesConfiguration & WithInstanceType(InstanceType &&value)
bool ScopeHasBeenSet() const
ReservedInstancesConfiguration & WithPlatform(const Aws::String &value)
AWS_EC2_API ReservedInstancesConfiguration()
ReservedInstancesConfiguration & WithScope(Scope &&value)
const Aws::String & GetAvailabilityZone() const
void SetPlatform(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
ReservedInstancesConfiguration & WithAvailabilityZone(const Aws::String &value)
ReservedInstancesConfiguration & WithPlatform(Aws::String &&value)
bool InstanceCountHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream