AWS SDK for C++  1.9.65
AWS SDK for C++
DescribeSpotFleetRequestsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
48  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
49 
54  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
55 
60  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
61 
66  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
67 
72  inline DescribeSpotFleetRequestsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 
78  inline DescribeSpotFleetRequestsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 
84  inline DescribeSpotFleetRequestsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
90  inline const Aws::Vector<SpotFleetRequestConfig>& GetSpotFleetRequestConfigs() const{ return m_spotFleetRequestConfigs; }
91 
95  inline void SetSpotFleetRequestConfigs(const Aws::Vector<SpotFleetRequestConfig>& value) { m_spotFleetRequestConfigs = value; }
96 
100  inline void SetSpotFleetRequestConfigs(Aws::Vector<SpotFleetRequestConfig>&& value) { m_spotFleetRequestConfigs = std::move(value); }
101 
105  inline DescribeSpotFleetRequestsResponse& WithSpotFleetRequestConfigs(const Aws::Vector<SpotFleetRequestConfig>& value) { SetSpotFleetRequestConfigs(value); return *this;}
106 
110  inline DescribeSpotFleetRequestsResponse& WithSpotFleetRequestConfigs(Aws::Vector<SpotFleetRequestConfig>&& value) { SetSpotFleetRequestConfigs(std::move(value)); return *this;}
111 
115  inline DescribeSpotFleetRequestsResponse& AddSpotFleetRequestConfigs(const SpotFleetRequestConfig& value) { m_spotFleetRequestConfigs.push_back(value); return *this; }
116 
120  inline DescribeSpotFleetRequestsResponse& AddSpotFleetRequestConfigs(SpotFleetRequestConfig&& value) { m_spotFleetRequestConfigs.push_back(std::move(value)); return *this; }
121 
122 
123 
124  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
125 
126 
127  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
128 
129 
130  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
131 
132 
133  inline DescribeSpotFleetRequestsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
134 
135 
136  inline DescribeSpotFleetRequestsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
137 
138  private:
139 
140  Aws::String m_nextToken;
141 
142  Aws::Vector<SpotFleetRequestConfig> m_spotFleetRequestConfigs;
143 
144  ResponseMetadata m_responseMetadata;
145  };
146 
147 } // namespace Model
148 } // namespace EC2
149 } // namespace Aws
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeSpotFleetRequestsResponse.h:124
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::AddSpotFleetRequestConfigs
DescribeSpotFleetRequestsResponse & AddSpotFleetRequestConfigs(const SpotFleetRequestConfig &value)
Definition: DescribeSpotFleetRequestsResponse.h:115
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::AddSpotFleetRequestConfigs
DescribeSpotFleetRequestsResponse & AddSpotFleetRequestConfigs(SpotFleetRequestConfig &&value)
Definition: DescribeSpotFleetRequestsResponse.h:120
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::DescribeSpotFleetRequestsResponse
DescribeSpotFleetRequestsResponse()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithNextToken
DescribeSpotFleetRequestsResponse & WithNextToken(Aws::String &&value)
Definition: DescribeSpotFleetRequestsResponse.h:78
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeSpotFleetRequestsResponse.h:48
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithSpotFleetRequestConfigs
DescribeSpotFleetRequestsResponse & WithSpotFleetRequestConfigs(const Aws::Vector< SpotFleetRequestConfig > &value)
Definition: DescribeSpotFleetRequestsResponse.h:105
Aws::EC2::Model::DescribeSpotFleetRequestsResponse
Definition: DescribeSpotFleetRequestsResponse.h:37
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::GetSpotFleetRequestConfigs
const Aws::Vector< SpotFleetRequestConfig > & GetSpotFleetRequestConfigs() const
Definition: DescribeSpotFleetRequestsResponse.h:90
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetSpotFleetRequestConfigs
void SetSpotFleetRequestConfigs(const Aws::Vector< SpotFleetRequestConfig > &value)
Definition: DescribeSpotFleetRequestsResponse.h:95
SpotFleetRequestConfig.h
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithResponseMetadata
DescribeSpotFleetRequestsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSpotFleetRequestsResponse.h:133
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithResponseMetadata
DescribeSpotFleetRequestsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSpotFleetRequestsResponse.h:136
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithNextToken
DescribeSpotFleetRequestsResponse & WithNextToken(const Aws::String &value)
Definition: DescribeSpotFleetRequestsResponse.h:72
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSpotFleetRequestsResponse.h:130
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetSpotFleetRequestConfigs
void SetSpotFleetRequestConfigs(Aws::Vector< SpotFleetRequestConfig > &&value)
Definition: DescribeSpotFleetRequestsResponse.h:100
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeSpotFleetRequestsResponse.h:54
AWSString.h
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSpotFleetRequestsResponse.h:127
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithNextToken
DescribeSpotFleetRequestsResponse & WithNextToken(const char *value)
Definition: DescribeSpotFleetRequestsResponse.h:84
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeSpotFleetRequestsResponse.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::WithSpotFleetRequestConfigs
DescribeSpotFleetRequestsResponse & WithSpotFleetRequestConfigs(Aws::Vector< SpotFleetRequestConfig > &&value)
Definition: DescribeSpotFleetRequestsResponse.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::SpotFleetRequestConfig
Definition: SpotFleetRequestConfig.h:38
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::operator=
DescribeSpotFleetRequestsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::DescribeSpotFleetRequestsResponse
DescribeSpotFleetRequestsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h
Aws::EC2::Model::DescribeSpotFleetRequestsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeSpotFleetRequestsResponse.h:60