AWS SDK for C++  1.9.20
AWS SDK for C++
ListFleetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace RoboMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Fleet>& GetFleetDetails() const{ return m_fleetDetails; }
41 
45  inline void SetFleetDetails(const Aws::Vector<Fleet>& value) { m_fleetDetails = value; }
46 
50  inline void SetFleetDetails(Aws::Vector<Fleet>&& value) { m_fleetDetails = std::move(value); }
51 
55  inline ListFleetsResult& WithFleetDetails(const Aws::Vector<Fleet>& value) { SetFleetDetails(value); return *this;}
56 
60  inline ListFleetsResult& WithFleetDetails(Aws::Vector<Fleet>&& value) { SetFleetDetails(std::move(value)); return *this;}
61 
65  inline ListFleetsResult& AddFleetDetails(const Fleet& value) { m_fleetDetails.push_back(value); return *this; }
66 
70  inline ListFleetsResult& AddFleetDetails(Fleet&& value) { m_fleetDetails.push_back(std::move(value)); return *this; }
71 
72 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
121  inline ListFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline ListFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline ListFleetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<Fleet> m_fleetDetails;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace RoboMaker
152 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::ListFleetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFleetsResult.h:81
Fleet.h
Aws::RoboMaker::Model::ListFleetsResult::WithFleetDetails
ListFleetsResult & WithFleetDetails(const Aws::Vector< Fleet > &value)
Definition: ListFleetsResult.h:55
Aws::RoboMaker::Model::ListFleetsResult::ListFleetsResult
ListFleetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(Aws::String &&value)
Definition: ListFleetsResult.h:131
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::Fleet
Definition: Fleet.h:34
Aws::RoboMaker::Model::ListFleetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFleetsResult.h:111
Aws::RoboMaker::Model::ListFleetsResult::GetFleetDetails
const Aws::Vector< Fleet > & GetFleetDetails() const
Definition: ListFleetsResult.h:40
Aws::RoboMaker::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(const char *value)
Definition: ListFleetsResult.h:141
Aws::RoboMaker::Model::ListFleetsResult::WithFleetDetails
ListFleetsResult & WithFleetDetails(Aws::Vector< Fleet > &&value)
Definition: ListFleetsResult.h:60
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(const Aws::String &value)
Definition: ListFleetsResult.h:121
Aws::RoboMaker::Model::ListFleetsResult::ListFleetsResult
ListFleetsResult()
AWSString.h
Aws::RoboMaker::Model::ListFleetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFleetsResult.h:91
Aws::RoboMaker::Model::ListFleetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFleetsResult.h:101
Aws::RoboMaker::Model::ListFleetsResult::SetFleetDetails
void SetFleetDetails(const Aws::Vector< Fleet > &value)
Definition: ListFleetsResult.h:45
Aws::RoboMaker::Model::ListFleetsResult::AddFleetDetails
ListFleetsResult & AddFleetDetails(const Fleet &value)
Definition: ListFleetsResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListFleetsResult::operator=
ListFleetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::ListFleetsResult::AddFleetDetails
ListFleetsResult & AddFleetDetails(Fleet &&value)
Definition: ListFleetsResult.h:70
Aws::RoboMaker::Model::ListFleetsResult
Definition: ListFleetsResult.h:30
Aws::RoboMaker::Model::ListFleetsResult::SetFleetDetails
void SetFleetDetails(Aws::Vector< Fleet > &&value)
Definition: ListFleetsResult.h:50