7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AutoScaling {
43 template <
typename InstanceTypeT = Aws::String>
45 m_instanceTypeHasBeenSet =
true;
46 m_instanceType = std::forward<InstanceTypeT>(value);
48 template <
typename InstanceTypeT = Aws::String>
61 template <
typename MarketTypeT = Aws::String>
63 m_marketTypeHasBeenSet =
true;
64 m_marketType = std::forward<MarketTypeT>(value);
66 template <
typename MarketTypeT = Aws::String>
79 template <
typename SubnetIdT = Aws::String>
81 m_subnetIdHasBeenSet =
true;
82 m_subnetId = std::forward<SubnetIdT>(value);
84 template <
typename SubnetIdT = Aws::String>
97 template <
typename AvailabilityZoneT = Aws::String>
99 m_availabilityZoneHasBeenSet =
true;
100 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
102 template <
typename AvailabilityZoneT = Aws::String>
115 template <
typename AvailabilityZoneIdT = Aws::String>
117 m_availabilityZoneIdHasBeenSet =
true;
118 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
120 template <
typename AvailabilityZoneIdT = Aws::String>
134 template <
typename ErrorCodeT = Aws::String>
136 m_errorCodeHasBeenSet =
true;
137 m_errorCode = std::forward<ErrorCodeT>(value);
139 template <
typename ErrorCodeT = Aws::String>
153 template <
typename ErrorMessageT = Aws::String>
155 m_errorMessageHasBeenSet =
true;
156 m_errorMessage = std::forward<ErrorMessageT>(value);
158 template <
typename ErrorMessageT = Aws::String>
178 bool m_instanceTypeHasBeenSet =
false;
179 bool m_marketTypeHasBeenSet =
false;
180 bool m_subnetIdHasBeenSet =
false;
181 bool m_availabilityZoneHasBeenSet =
false;
182 bool m_availabilityZoneIdHasBeenSet =
false;
183 bool m_errorCodeHasBeenSet =
false;
184 bool m_errorMessageHasBeenSet =
false;
LaunchInstancesError & WithMarketType(MarketTypeT &&value)
void SetErrorMessage(ErrorMessageT &&value)
LaunchInstancesError & WithInstanceType(InstanceTypeT &&value)
const Aws::String & GetErrorMessage() const
void SetSubnetId(SubnetIdT &&value)
void SetErrorCode(ErrorCodeT &&value)
LaunchInstancesError & WithSubnetId(SubnetIdT &&value)
bool SubnetIdHasBeenSet() const
const Aws::String & GetInstanceType() const
bool ErrorMessageHasBeenSet() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_AUTOSCALING_API LaunchInstancesError()=default
bool MarketTypeHasBeenSet() const
AWS_AUTOSCALING_API LaunchInstancesError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetMarketType() const
bool ErrorCodeHasBeenSet() const
AWS_AUTOSCALING_API LaunchInstancesError(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubnetId() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchInstancesError & WithAvailabilityZone(AvailabilityZoneT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetMarketType(MarketTypeT &&value)
const Aws::String & GetErrorCode() const
const Aws::String & GetAvailabilityZone() const
bool InstanceTypeHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
bool AvailabilityZoneIdHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAvailabilityZone(AvailabilityZoneT &&value)
LaunchInstancesError & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
LaunchInstancesError & WithErrorMessage(ErrorMessageT &&value)
void SetInstanceType(InstanceTypeT &&value)
LaunchInstancesError & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream