7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/SpotPrice.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
51 template<
typename NextTokenT = Aws::String>
52 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
53 template<
typename NextTokenT = Aws::String>
62 template<
typename SpotPriceHistoryT = Aws::Vector<SpotPrice>>
63 void SetSpotPriceHistory(SpotPriceHistoryT&& value) { m_spotPriceHistoryHasBeenSet =
true; m_spotPriceHistory = std::forward<SpotPriceHistoryT>(value); }
64 template<
typename SpotPriceHistoryT = Aws::Vector<SpotPrice>>
66 template<
typename SpotPriceHistoryT = SpotPrice>
73 template<
typename ResponseMetadataT = ResponseMetadata>
74 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
75 template<
typename ResponseMetadataT = ResponseMetadata>
81 bool m_nextTokenHasBeenSet =
false;
84 bool m_spotPriceHistoryHasBeenSet =
false;
87 bool m_responseMetadataHasBeenSet =
false;
const ResponseMetadata & GetResponseMetadata() const
DescribeSpotPriceHistoryResponse & AddSpotPriceHistory(SpotPriceHistoryT &&value)
DescribeSpotPriceHistoryResponse & WithNextToken(NextTokenT &&value)
DescribeSpotPriceHistoryResponse & WithSpotPriceHistory(SpotPriceHistoryT &&value)
AWS_EC2_API DescribeSpotPriceHistoryResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetNextToken() const
const Aws::Vector< SpotPrice > & GetSpotPriceHistory() const
void SetSpotPriceHistory(SpotPriceHistoryT &&value)
void SetNextToken(NextTokenT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
DescribeSpotPriceHistoryResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeSpotPriceHistoryResponse()=default
AWS_EC2_API DescribeSpotPriceHistoryResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument