AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSpotFleetInstancesResponse.h
1
6#pragma once
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/ActiveInstance.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
37 {
38 public:
42
43
45
49 inline const Aws::Vector<ActiveInstance>& GetActiveInstances() const{ return m_activeInstances; }
50 inline void SetActiveInstances(const Aws::Vector<ActiveInstance>& value) { m_activeInstances = value; }
51 inline void SetActiveInstances(Aws::Vector<ActiveInstance>&& value) { m_activeInstances = std::move(value); }
54 inline DescribeSpotFleetInstancesResponse& AddActiveInstances(const ActiveInstance& value) { m_activeInstances.push_back(value); return *this; }
55 inline DescribeSpotFleetInstancesResponse& AddActiveInstances(ActiveInstance&& value) { m_activeInstances.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
67 inline DescribeSpotFleetInstancesResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline DescribeSpotFleetInstancesResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline DescribeSpotFleetInstancesResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
76 inline const Aws::String& GetSpotFleetRequestId() const{ return m_spotFleetRequestId; }
77 inline void SetSpotFleetRequestId(const Aws::String& value) { m_spotFleetRequestId = value; }
78 inline void SetSpotFleetRequestId(Aws::String&& value) { m_spotFleetRequestId = std::move(value); }
79 inline void SetSpotFleetRequestId(const char* value) { m_spotFleetRequestId.assign(value); }
82 inline DescribeSpotFleetInstancesResponse& WithSpotFleetRequestId(const char* value) { SetSpotFleetRequestId(value); return *this;}
84
86
87 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
88 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
89 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
93 private:
94
95 Aws::Vector<ActiveInstance> m_activeInstances;
96
97 Aws::String m_nextToken;
98
99 Aws::String m_spotFleetRequestId;
100
101 ResponseMetadata m_responseMetadata;
102 };
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
AWS_EC2_API DescribeSpotFleetInstancesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ActiveInstance > & GetActiveInstances() const
DescribeSpotFleetInstancesResponse & WithNextToken(Aws::String &&value)
DescribeSpotFleetInstancesResponse & WithNextToken(const char *value)
DescribeSpotFleetInstancesResponse & WithActiveInstances(const Aws::Vector< ActiveInstance > &value)
DescribeSpotFleetInstancesResponse & WithSpotFleetRequestId(Aws::String &&value)
DescribeSpotFleetInstancesResponse & AddActiveInstances(ActiveInstance &&value)
DescribeSpotFleetInstancesResponse & WithActiveInstances(Aws::Vector< ActiveInstance > &&value)
DescribeSpotFleetInstancesResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API DescribeSpotFleetInstancesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeSpotFleetInstancesResponse & WithSpotFleetRequestId(const Aws::String &value)
DescribeSpotFleetInstancesResponse & AddActiveInstances(const ActiveInstance &value)
DescribeSpotFleetInstancesResponse & WithNextToken(const Aws::String &value)
DescribeSpotFleetInstancesResponse & WithSpotFleetRequestId(const char *value)
void SetActiveInstances(const Aws::Vector< ActiveInstance > &value)
DescribeSpotFleetInstancesResponse & WithResponseMetadata(ResponseMetadata &&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