AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGameSessionsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API DescribeGameSessionsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessions"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
43 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
44 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
45 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
46 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
47 inline DescribeGameSessionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
48 inline DescribeGameSessionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
49 inline DescribeGameSessionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
51
53
56 inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
57 inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
58 inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
59 inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
60 inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
61 inline DescribeGameSessionsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
62 inline DescribeGameSessionsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
63 inline DescribeGameSessionsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
65
67
71 inline const Aws::String& GetAliasId() const{ return m_aliasId; }
72 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
73 inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
74 inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
75 inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
76 inline DescribeGameSessionsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
77 inline DescribeGameSessionsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
78 inline DescribeGameSessionsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
80
82
87 inline const Aws::String& GetLocation() const{ return m_location; }
88 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
89 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
90 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
91 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
92 inline DescribeGameSessionsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
93 inline DescribeGameSessionsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
94 inline DescribeGameSessionsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
96
98
104 inline const Aws::String& GetStatusFilter() const{ return m_statusFilter; }
105 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
106 inline void SetStatusFilter(const Aws::String& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
107 inline void SetStatusFilter(Aws::String&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
108 inline void SetStatusFilter(const char* value) { m_statusFilterHasBeenSet = true; m_statusFilter.assign(value); }
109 inline DescribeGameSessionsRequest& WithStatusFilter(const Aws::String& value) { SetStatusFilter(value); return *this;}
110 inline DescribeGameSessionsRequest& WithStatusFilter(Aws::String&& value) { SetStatusFilter(std::move(value)); return *this;}
111 inline DescribeGameSessionsRequest& WithStatusFilter(const char* value) { SetStatusFilter(value); return *this;}
113
115
119 inline int GetLimit() const{ return m_limit; }
120 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
121 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
122 inline DescribeGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
124
126
131 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
132 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
134 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
135 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 inline DescribeGameSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
137 inline DescribeGameSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 inline DescribeGameSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
140 private:
141
142 Aws::String m_fleetId;
143 bool m_fleetIdHasBeenSet = false;
144
145 Aws::String m_gameSessionId;
146 bool m_gameSessionIdHasBeenSet = false;
147
148 Aws::String m_aliasId;
149 bool m_aliasIdHasBeenSet = false;
150
151 Aws::String m_location;
152 bool m_locationHasBeenSet = false;
153
154 Aws::String m_statusFilter;
155 bool m_statusFilterHasBeenSet = false;
156
157 int m_limit;
158 bool m_limitHasBeenSet = false;
159
160 Aws::String m_nextToken;
161 bool m_nextTokenHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace GameLift
166} // namespace Aws
DescribeGameSessionsRequest & WithFleetId(Aws::String &&value)
DescribeGameSessionsRequest & WithAliasId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeGameSessionsRequest & WithStatusFilter(Aws::String &&value)
DescribeGameSessionsRequest & WithLocation(Aws::String &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeGameSessionsRequest & WithGameSessionId(const char *value)
DescribeGameSessionsRequest & WithLocation(const char *value)
DescribeGameSessionsRequest & WithLocation(const Aws::String &value)
DescribeGameSessionsRequest & WithStatusFilter(const char *value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionsRequest & WithFleetId(const char *value)
DescribeGameSessionsRequest & WithGameSessionId(Aws::String &&value)
DescribeGameSessionsRequest & WithAliasId(const char *value)
DescribeGameSessionsRequest & WithNextToken(Aws::String &&value)
DescribeGameSessionsRequest & WithAliasId(Aws::String &&value)
DescribeGameSessionsRequest & WithFleetId(const Aws::String &value)
DescribeGameSessionsRequest & WithNextToken(const Aws::String &value)
DescribeGameSessionsRequest & WithNextToken(const char *value)
DescribeGameSessionsRequest & WithStatusFilter(const Aws::String &value)
DescribeGameSessionsRequest & WithGameSessionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String