AWS SDK for C++  1.8.71
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 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
46  inline const Aws::String& GetBuildId() const{ return m_buildId; }
47 
54  inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
55 
62  inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
63 
70  inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
71 
78  inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
79 
86  inline ListFleetsRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
87 
94  inline ListFleetsRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
95 
102  inline ListFleetsRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
103 
104 
110  inline const Aws::String& GetScriptId() const{ return m_scriptId; }
111 
117  inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
118 
124  inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
125 
131  inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
132 
138  inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
139 
145  inline ListFleetsRequest& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
146 
152  inline ListFleetsRequest& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
153 
159  inline ListFleetsRequest& WithScriptId(const char* value) { SetScriptId(value); return *this;}
160 
161 
166  inline int GetLimit() const{ return m_limit; }
167 
172  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
173 
178  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
179 
184  inline ListFleetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
185 
186 
192  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
193 
199  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
200 
206  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
207 
213  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
214 
220  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
221 
227  inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
228 
234  inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
235 
241  inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
242 
243  private:
244 
245  Aws::String m_buildId;
246  bool m_buildIdHasBeenSet;
247 
248  Aws::String m_scriptId;
249  bool m_scriptIdHasBeenSet;
250 
251  int m_limit;
252  bool m_limitHasBeenSet;
253 
254  Aws::String m_nextToken;
255  bool m_nextTokenHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace GameLift
260 } // namespace Aws
const Aws::String & GetNextToken() const
ListFleetsRequest & WithBuildId(const Aws::String &value)
ListFleetsRequest & WithNextToken(const char *value)
#define AWS_GAMELIFT_API
void SetBuildId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
const Aws::String & GetScriptId() const
const Aws::String & GetBuildId() const
ListFleetsRequest & WithScriptId(const char *value)
ListFleetsRequest & WithBuildId(Aws::String &&value)
ListFleetsRequest & WithNextToken(const Aws::String &value)
ListFleetsRequest & WithBuildId(const char *value)
ListFleetsRequest & WithScriptId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListFleetsRequest & WithScriptId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListFleetsRequest & WithLimit(int value)
ListFleetsRequest & WithNextToken(Aws::String &&value)
void SetScriptId(const Aws::String &value)