AWS SDK for C++  1.9.103
AWS SDK for C++
ListFleetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListFleets"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetBuildId() const{ return m_buildId; }
46 
52  inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
53 
59  inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
60 
66  inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
67 
73  inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
74 
80  inline ListFleetsRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
81 
87  inline ListFleetsRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
88 
94  inline ListFleetsRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
95 
96 
102  inline const Aws::String& GetScriptId() const{ return m_scriptId; }
103 
109  inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
110 
116  inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
117 
123  inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
124 
130  inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
131 
137  inline ListFleetsRequest& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
138 
144  inline ListFleetsRequest& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
145 
151  inline ListFleetsRequest& WithScriptId(const char* value) { SetScriptId(value); return *this;}
152 
153 
158  inline int GetLimit() const{ return m_limit; }
159 
164  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
165 
170  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
171 
176  inline ListFleetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
177 
178 
184  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
185 
191  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
192 
198  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
199 
205  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
206 
212  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
213 
219  inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
220 
226  inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
227 
233  inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
234 
235  private:
236 
237  Aws::String m_buildId;
238  bool m_buildIdHasBeenSet;
239 
240  Aws::String m_scriptId;
241  bool m_scriptIdHasBeenSet;
242 
243  int m_limit;
244  bool m_limitHasBeenSet;
245 
246  Aws::String m_nextToken;
247  bool m_nextTokenHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace GameLift
252 } // namespace Aws
Aws::GameLift::Model::ListFleetsRequest::WithBuildId
ListFleetsRequest & WithBuildId(const char *value)
Definition: ListFleetsRequest.h:94
Aws::GameLift::Model::ListFleetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFleetsRequest.h:205
Aws::GameLift::Model::ListFleetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFleetsRequest.h:184
Aws::GameLift::Model::ListFleetsRequest::WithNextToken
ListFleetsRequest & WithNextToken(Aws::String &&value)
Definition: ListFleetsRequest.h:226
Aws::GameLift::Model::ListFleetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFleetsRequest.h:198
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::ListFleetsRequest::WithScriptId
ListFleetsRequest & WithScriptId(const char *value)
Definition: ListFleetsRequest.h:151
Aws::GameLift::Model::ListFleetsRequest::GetBuildId
const Aws::String & GetBuildId() const
Definition: ListFleetsRequest.h:45
Aws::GameLift::Model::ListFleetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListFleetsRequest.h:191
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ListFleetsRequest::SetBuildId
void SetBuildId(const Aws::String &value)
Definition: ListFleetsRequest.h:59
Aws::GameLift::Model::ListFleetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::ListFleetsRequest::SetBuildId
void SetBuildId(Aws::String &&value)
Definition: ListFleetsRequest.h:66
Aws::GameLift::Model::ListFleetsRequest::ScriptIdHasBeenSet
bool ScriptIdHasBeenSet() const
Definition: ListFleetsRequest.h:109
Aws::GameLift::Model::ListFleetsRequest
Definition: ListFleetsRequest.h:25
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::ListFleetsRequest::WithNextToken
ListFleetsRequest & WithNextToken(const Aws::String &value)
Definition: ListFleetsRequest.h:219
Aws::GameLift::Model::ListFleetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFleetsRequest.h:33
Aws::GameLift::Model::ListFleetsRequest::WithScriptId
ListFleetsRequest & WithScriptId(const Aws::String &value)
Definition: ListFleetsRequest.h:137
Aws::GameLift::Model::ListFleetsRequest::WithLimit
ListFleetsRequest & WithLimit(int value)
Definition: ListFleetsRequest.h:176
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::ListFleetsRequest::ListFleetsRequest
ListFleetsRequest()
Aws::GameLift::Model::ListFleetsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListFleetsRequest.h:164
Aws::GameLift::Model::ListFleetsRequest::SetScriptId
void SetScriptId(const Aws::String &value)
Definition: ListFleetsRequest.h:116
Aws::GameLift::Model::ListFleetsRequest::WithNextToken
ListFleetsRequest & WithNextToken(const char *value)
Definition: ListFleetsRequest.h:233
Aws::GameLift::Model::ListFleetsRequest::WithScriptId
ListFleetsRequest & WithScriptId(Aws::String &&value)
Definition: ListFleetsRequest.h:144
Aws::GameLift::Model::ListFleetsRequest::SetScriptId
void SetScriptId(Aws::String &&value)
Definition: ListFleetsRequest.h:123
Aws::GameLift::Model::ListFleetsRequest::WithBuildId
ListFleetsRequest & WithBuildId(Aws::String &&value)
Definition: ListFleetsRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ListFleetsRequest::BuildIdHasBeenSet
bool BuildIdHasBeenSet() const
Definition: ListFleetsRequest.h:52
Aws::GameLift::Model::ListFleetsRequest::GetScriptId
const Aws::String & GetScriptId() const
Definition: ListFleetsRequest.h:102
Aws::GameLift::Model::ListFleetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::ListFleetsRequest::WithBuildId
ListFleetsRequest & WithBuildId(const Aws::String &value)
Definition: ListFleetsRequest.h:80
Aws::GameLift::Model::ListFleetsRequest::GetLimit
int GetLimit() const
Definition: ListFleetsRequest.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ListFleetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListFleetsRequest.h:212
Aws::GameLift::Model::ListFleetsRequest::SetLimit
void SetLimit(int value)
Definition: ListFleetsRequest.h:170
Aws::GameLift::Model::ListFleetsRequest::SetBuildId
void SetBuildId(const char *value)
Definition: ListFleetsRequest.h:73
Aws::GameLift::Model::ListFleetsRequest::SetScriptId
void SetScriptId(const char *value)
Definition: ListFleetsRequest.h:130