AWS SDK for C++  1.9.104
AWS SDK for C++
ListFleetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
48  inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
49 
56  inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIds = value; }
57 
64  inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIds = std::move(value); }
65 
72  inline ListFleetsResult& WithFleetIds(const Aws::Vector<Aws::String>& value) { SetFleetIds(value); return *this;}
73 
80  inline ListFleetsResult& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(std::move(value)); return *this;}
81 
88  inline ListFleetsResult& AddFleetIds(const Aws::String& value) { m_fleetIds.push_back(value); return *this; }
89 
96  inline ListFleetsResult& AddFleetIds(Aws::String&& value) { m_fleetIds.push_back(std::move(value)); return *this; }
97 
104  inline ListFleetsResult& AddFleetIds(const char* value) { m_fleetIds.push_back(value); return *this; }
105 
106 
112  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 
119  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
120 
126  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
127 
133  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
134 
140  inline ListFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
141 
147  inline ListFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
148 
154  inline ListFleetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
155 
156  private:
157 
158  Aws::Vector<Aws::String> m_fleetIds;
159 
160  Aws::String m_nextToken;
161  };
162 
163 } // namespace Model
164 } // namespace GameLift
165 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ListFleetsResult::AddFleetIds
ListFleetsResult & AddFleetIds(Aws::String &&value)
Definition: ListFleetsResult.h:96
Aws::GameLift::Model::ListFleetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFleetsResult.h:119
Aws::GameLift::Model::ListFleetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFleetsResult.h:133
Aws::GameLift::Model::ListFleetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFleetsResult.h:112
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::ListFleetsResult::SetFleetIds
void SetFleetIds(Aws::Vector< Aws::String > &&value)
Definition: ListFleetsResult.h:64
Aws::GameLift::Model::ListFleetsResult::GetFleetIds
const Aws::Vector< Aws::String > & GetFleetIds() const
Definition: ListFleetsResult.h:48
AWSVector.h
GameLift_EXPORTS.h
Aws::GameLift::Model::ListFleetsResult::AddFleetIds
ListFleetsResult & AddFleetIds(const char *value)
Definition: ListFleetsResult.h:104
Aws::GameLift::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(Aws::String &&value)
Definition: ListFleetsResult.h:147
Aws::GameLift::Model::ListFleetsResult::WithFleetIds
ListFleetsResult & WithFleetIds(const Aws::Vector< Aws::String > &value)
Definition: ListFleetsResult.h:72
Aws::GameLift::Model::ListFleetsResult::operator=
ListFleetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ListFleetsResult::AddFleetIds
ListFleetsResult & AddFleetIds(const Aws::String &value)
Definition: ListFleetsResult.h:88
AWSString.h
Aws::GameLift::Model::ListFleetsResult::ListFleetsResult
ListFleetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ListFleetsResult::WithFleetIds
ListFleetsResult & WithFleetIds(Aws::Vector< Aws::String > &&value)
Definition: ListFleetsResult.h:80
Aws::GameLift::Model::ListFleetsResult::ListFleetsResult
ListFleetsResult()
Aws::GameLift::Model::ListFleetsResult
Definition: ListFleetsResult.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ListFleetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFleetsResult.h:126
Aws::GameLift::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(const char *value)
Definition: ListFleetsResult.h:154
Aws::GameLift::Model::ListFleetsResult::SetFleetIds
void SetFleetIds(const Aws::Vector< Aws::String > &value)
Definition: ListFleetsResult.h:56
Aws::GameLift::Model::ListFleetsResult::WithNextToken
ListFleetsResult & WithNextToken(const Aws::String &value)
Definition: ListFleetsResult.h:140