7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/InstanceType.h>
11#include <aws/ec2/model/Scope.h>
45 template <
typename AvailabilityZoneT = Aws::String>
47 m_availabilityZoneHasBeenSet =
true;
48 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
50 template <
typename AvailabilityZoneT = Aws::String>
65 m_instanceCountHasBeenSet =
true;
66 m_instanceCount = value;
81 m_instanceTypeHasBeenSet =
true;
82 m_instanceType = value;
96 template <
typename PlatformT = Aws::String>
98 m_platformHasBeenSet =
true;
99 m_platform = std::forward<PlatformT>(value);
101 template <
typename PlatformT = Aws::String>
116 m_scopeHasBeenSet =
true;
131 template <
typename AvailabilityZoneIdT = Aws::String>
133 m_availabilityZoneIdHasBeenSet =
true;
134 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
136 template <
typename AvailabilityZoneIdT = Aws::String>
145 int m_instanceCount{0};
154 bool m_availabilityZoneHasBeenSet =
false;
155 bool m_instanceCountHasBeenSet =
false;
156 bool m_instanceTypeHasBeenSet =
false;
157 bool m_platformHasBeenSet =
false;
158 bool m_scopeHasBeenSet =
false;
159 bool m_availabilityZoneIdHasBeenSet =
false;
ReservedInstancesConfiguration & WithPlatform(PlatformT &&value)
AWS_EC2_API ReservedInstancesConfiguration()=default
bool AvailabilityZoneHasBeenSet() const
int GetInstanceCount() const
ReservedInstancesConfiguration & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetInstanceCount(int value)
AWS_EC2_API ReservedInstancesConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPlatform() const
bool InstanceTypeHasBeenSet() const
ReservedInstancesConfiguration & WithInstanceCount(int value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
ReservedInstancesConfiguration & WithInstanceType(InstanceType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ReservedInstancesConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAvailabilityZone(AvailabilityZoneT &&value)
ReservedInstancesConfiguration & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool PlatformHasBeenSet() const
bool ScopeHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
InstanceType GetInstanceType() const
void SetScope(Scope value)
bool AvailabilityZoneIdHasBeenSet() const
void SetInstanceType(InstanceType value)
const Aws::String & GetAvailabilityZoneId() const
bool InstanceCountHasBeenSet() const
void SetPlatform(PlatformT &&value)
ReservedInstancesConfiguration & WithScope(Scope value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream