7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/InstanceCollection.h>
9#include <aws/autoscaling/model/LaunchInstancesError.h>
10#include <aws/autoscaling/model/ResponseMetadata.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace AutoScaling {
39 template <
typename AutoScalingGroupNameT = Aws::String>
41 m_autoScalingGroupNameHasBeenSet =
true;
42 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
44 template <
typename AutoScalingGroupNameT = Aws::String>
57 template <
typename ClientTokenT = Aws::String>
59 m_clientTokenHasBeenSet =
true;
60 m_clientToken = std::forward<ClientTokenT>(value);
62 template <
typename ClientTokenT = Aws::String>
75 template <
typename InstancesT = Aws::Vector<InstanceCollection>>
77 m_instancesHasBeenSet =
true;
78 m_instances = std::forward<InstancesT>(value);
80 template <
typename InstancesT = Aws::Vector<InstanceCollection>>
85 template <
typename InstancesT = InstanceCollection>
87 m_instancesHasBeenSet =
true;
88 m_instances.emplace_back(std::forward<InstancesT>(value));
100 template <
typename ErrorsT = Aws::Vector<LaunchInstancesError>>
102 m_errorsHasBeenSet =
true;
103 m_errors = std::forward<ErrorsT>(value);
105 template <
typename ErrorsT = Aws::Vector<LaunchInstancesError>>
110 template <
typename ErrorsT = LaunchInstancesError>
112 m_errorsHasBeenSet =
true;
113 m_errors.emplace_back(std::forward<ErrorsT>(value));
121 template <
typename ResponseMetadataT = ResponseMetadata>
123 m_responseMetadataHasBeenSet =
true;
124 m_responseMetadata = std::forward<ResponseMetadataT>(value);
126 template <
typename ResponseMetadataT = ResponseMetadata>
145 bool m_autoScalingGroupNameHasBeenSet =
false;
146 bool m_clientTokenHasBeenSet =
false;
147 bool m_instancesHasBeenSet =
false;
148 bool m_errorsHasBeenSet =
false;
149 bool m_responseMetadataHasBeenSet =
false;
void SetClientToken(ClientTokenT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetAutoScalingGroupName() const
const Aws::Vector< InstanceCollection > & GetInstances() const
AWS_AUTOSCALING_API LaunchInstancesResult()=default
LaunchInstancesResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetErrors(ErrorsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_AUTOSCALING_API LaunchInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetClientToken() const
AWS_AUTOSCALING_API LaunchInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
LaunchInstancesResult & WithInstances(InstancesT &&value)
void SetInstances(InstancesT &&value)
const Aws::Vector< LaunchInstancesError > & GetErrors() const
LaunchInstancesResult & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
LaunchInstancesResult & WithClientToken(ClientTokenT &&value)
LaunchInstancesResult & AddInstances(InstancesT &&value)
LaunchInstancesResult & WithErrors(ErrorsT &&value)
LaunchInstancesResult & AddErrors(ErrorsT &&value)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument