7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/SpotInstanceRequest.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
49 template<
typename SpotInstanceRequestsT = Aws::Vector<SpotInstanceRequest>>
50 void SetSpotInstanceRequests(SpotInstanceRequestsT&& value) { m_spotInstanceRequestsHasBeenSet =
true; m_spotInstanceRequests = std::forward<SpotInstanceRequestsT>(value); }
51 template<
typename SpotInstanceRequestsT = Aws::Vector<SpotInstanceRequest>>
53 template<
typename SpotInstanceRequestsT = SpotInstanceRequest>
63 template<
typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<
typename NextTokenT = Aws::String>
72 template<
typename ResponseMetadataT = ResponseMetadata>
73 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
74 template<
typename ResponseMetadataT = ResponseMetadata>
80 bool m_spotInstanceRequestsHasBeenSet =
false;
83 bool m_nextTokenHasBeenSet =
false;
86 bool m_responseMetadataHasBeenSet =
false;
void SetResponseMetadata(ResponseMetadataT &&value)
DescribeSpotInstanceRequestsResponse & WithNextToken(NextTokenT &&value)
const Aws::Vector< SpotInstanceRequest > & GetSpotInstanceRequests() const
AWS_EC2_API DescribeSpotInstanceRequestsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API DescribeSpotInstanceRequestsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API DescribeSpotInstanceRequestsResponse()=default
void SetSpotInstanceRequests(SpotInstanceRequestsT &&value)
DescribeSpotInstanceRequestsResponse & WithSpotInstanceRequests(SpotInstanceRequestsT &&value)
DescribeSpotInstanceRequestsResponse & AddSpotInstanceRequests(SpotInstanceRequestsT &&value)
void SetNextToken(NextTokenT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetNextToken() const
DescribeSpotInstanceRequestsResponse & WithResponseMetadata(ResponseMetadataT &&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