AWS SDK for C++  1.9.44
AWS SDK for C++
FleetUtilization.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GameLift
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
47 
51  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
52 
56  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
61  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
62 
66  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
67 
71  inline FleetUtilization& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
72 
76  inline FleetUtilization& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
77 
81  inline FleetUtilization& WithFleetId(const char* value) { SetFleetId(value); return *this;}
82 
83 
91  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
92 
100  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
101 
109  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
110 
118  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
119 
127  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
128 
136  inline FleetUtilization& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
137 
145  inline FleetUtilization& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
146 
154  inline FleetUtilization& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
155 
156 
161  inline int GetActiveServerProcessCount() const{ return m_activeServerProcessCount; }
162 
167  inline bool ActiveServerProcessCountHasBeenSet() const { return m_activeServerProcessCountHasBeenSet; }
168 
173  inline void SetActiveServerProcessCount(int value) { m_activeServerProcessCountHasBeenSet = true; m_activeServerProcessCount = value; }
174 
179  inline FleetUtilization& WithActiveServerProcessCount(int value) { SetActiveServerProcessCount(value); return *this;}
180 
181 
186  inline int GetActiveGameSessionCount() const{ return m_activeGameSessionCount; }
187 
192  inline bool ActiveGameSessionCountHasBeenSet() const { return m_activeGameSessionCountHasBeenSet; }
193 
198  inline void SetActiveGameSessionCount(int value) { m_activeGameSessionCountHasBeenSet = true; m_activeGameSessionCount = value; }
199 
204  inline FleetUtilization& WithActiveGameSessionCount(int value) { SetActiveGameSessionCount(value); return *this;}
205 
206 
211  inline int GetCurrentPlayerSessionCount() const{ return m_currentPlayerSessionCount; }
212 
217  inline bool CurrentPlayerSessionCountHasBeenSet() const { return m_currentPlayerSessionCountHasBeenSet; }
218 
223  inline void SetCurrentPlayerSessionCount(int value) { m_currentPlayerSessionCountHasBeenSet = true; m_currentPlayerSessionCount = value; }
224 
229  inline FleetUtilization& WithCurrentPlayerSessionCount(int value) { SetCurrentPlayerSessionCount(value); return *this;}
230 
231 
236  inline int GetMaximumPlayerSessionCount() const{ return m_maximumPlayerSessionCount; }
237 
242  inline bool MaximumPlayerSessionCountHasBeenSet() const { return m_maximumPlayerSessionCountHasBeenSet; }
243 
248  inline void SetMaximumPlayerSessionCount(int value) { m_maximumPlayerSessionCountHasBeenSet = true; m_maximumPlayerSessionCount = value; }
249 
254  inline FleetUtilization& WithMaximumPlayerSessionCount(int value) { SetMaximumPlayerSessionCount(value); return *this;}
255 
256 
261  inline const Aws::String& GetLocation() const{ return m_location; }
262 
267  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
268 
273  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
274 
279  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
280 
285  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
286 
291  inline FleetUtilization& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
292 
297  inline FleetUtilization& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
298 
303  inline FleetUtilization& WithLocation(const char* value) { SetLocation(value); return *this;}
304 
305  private:
306 
307  Aws::String m_fleetId;
308  bool m_fleetIdHasBeenSet;
309 
310  Aws::String m_fleetArn;
311  bool m_fleetArnHasBeenSet;
312 
313  int m_activeServerProcessCount;
314  bool m_activeServerProcessCountHasBeenSet;
315 
316  int m_activeGameSessionCount;
317  bool m_activeGameSessionCountHasBeenSet;
318 
319  int m_currentPlayerSessionCount;
320  bool m_currentPlayerSessionCountHasBeenSet;
321 
322  int m_maximumPlayerSessionCount;
323  bool m_maximumPlayerSessionCountHasBeenSet;
324 
325  Aws::String m_location;
326  bool m_locationHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace GameLift
331 } // namespace Aws
Aws::GameLift::Model::FleetUtilization::CurrentPlayerSessionCountHasBeenSet
bool CurrentPlayerSessionCountHasBeenSet() const
Definition: FleetUtilization.h:217
Aws::GameLift::Model::FleetUtilization::GetActiveGameSessionCount
int GetActiveGameSessionCount() const
Definition: FleetUtilization.h:186
Aws::GameLift::Model::FleetUtilization::GetMaximumPlayerSessionCount
int GetMaximumPlayerSessionCount() const
Definition: FleetUtilization.h:236
Aws::GameLift::Model::FleetUtilization::ActiveGameSessionCountHasBeenSet
bool ActiveGameSessionCountHasBeenSet() const
Definition: FleetUtilization.h:192
Aws::GameLift::Model::FleetUtilization::WithFleetId
FleetUtilization & WithFleetId(const char *value)
Definition: FleetUtilization.h:81
Aws::GameLift::Model::FleetUtilization::WithLocation
FleetUtilization & WithLocation(const Aws::String &value)
Definition: FleetUtilization.h:291
Aws::GameLift::Model::FleetUtilization::GetFleetId
const Aws::String & GetFleetId() const
Definition: FleetUtilization.h:46
Aws::GameLift::Model::FleetUtilization::SetFleetArn
void SetFleetArn(const char *value)
Definition: FleetUtilization.h:127
Aws::GameLift::Model::FleetUtilization::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: FleetUtilization.h:118
Aws::GameLift::Model::FleetUtilization::GetActiveServerProcessCount
int GetActiveServerProcessCount() const
Definition: FleetUtilization.h:161
Aws::GameLift::Model::FleetUtilization::FleetUtilization
FleetUtilization(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::FleetUtilization::WithFleetArn
FleetUtilization & WithFleetArn(const char *value)
Definition: FleetUtilization.h:154
Aws::GameLift::Model::FleetUtilization::WithMaximumPlayerSessionCount
FleetUtilization & WithMaximumPlayerSessionCount(int value)
Definition: FleetUtilization.h:254
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::FleetUtilization::WithActiveGameSessionCount
FleetUtilization & WithActiveGameSessionCount(int value)
Definition: FleetUtilization.h:204
Aws::GameLift::Model::FleetUtilization::SetFleetId
void SetFleetId(const char *value)
Definition: FleetUtilization.h:66
Aws::GameLift::Model::FleetUtilization::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: FleetUtilization.h:56
Aws::GameLift::Model::FleetUtilization::WithLocation
FleetUtilization & WithLocation(const char *value)
Definition: FleetUtilization.h:303
Aws::GameLift::Model::FleetUtilization::WithFleetId
FleetUtilization & WithFleetId(const Aws::String &value)
Definition: FleetUtilization.h:71
Aws::GameLift::Model::FleetUtilization::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: FleetUtilization.h:109
Aws::GameLift::Model::FleetUtilization::SetCurrentPlayerSessionCount
void SetCurrentPlayerSessionCount(int value)
Definition: FleetUtilization.h:223
Aws::GameLift::Model::FleetUtilization::SetLocation
void SetLocation(const Aws::String &value)
Definition: FleetUtilization.h:273
GameLift_EXPORTS.h
Aws::GameLift::Model::FleetUtilization::SetLocation
void SetLocation(Aws::String &&value)
Definition: FleetUtilization.h:279
Aws::GameLift::Model::FleetUtilization::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: FleetUtilization.h:61
Aws::GameLift::Model::FleetUtilization::SetActiveServerProcessCount
void SetActiveServerProcessCount(int value)
Definition: FleetUtilization.h:173
Aws::GameLift::Model::FleetUtilization::operator=
FleetUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::FleetUtilization::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::GameLift::Model::FleetUtilization::SetLocation
void SetLocation(const char *value)
Definition: FleetUtilization.h:285
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::FleetUtilization::WithFleetArn
FleetUtilization & WithFleetArn(const Aws::String &value)
Definition: FleetUtilization.h:136
Aws::GameLift::Model::FleetUtilization::WithFleetId
FleetUtilization & WithFleetId(Aws::String &&value)
Definition: FleetUtilization.h:76
Aws::GameLift::Model::FleetUtilization::GetCurrentPlayerSessionCount
int GetCurrentPlayerSessionCount() const
Definition: FleetUtilization.h:211
Aws::GameLift::Model::FleetUtilization::FleetUtilization
FleetUtilization()
Aws::GameLift::Model::FleetUtilization::SetMaximumPlayerSessionCount
void SetMaximumPlayerSessionCount(int value)
Definition: FleetUtilization.h:248
Aws::GameLift::Model::FleetUtilization::WithFleetArn
FleetUtilization & WithFleetArn(Aws::String &&value)
Definition: FleetUtilization.h:145
Aws::GameLift::Model::FleetUtilization::SetActiveGameSessionCount
void SetActiveGameSessionCount(int value)
Definition: FleetUtilization.h:198
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::FleetUtilization::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: FleetUtilization.h:267
Aws::GameLift::Model::FleetUtilization::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: FleetUtilization.h:51
Aws::GameLift::Model::FleetUtilization::WithActiveServerProcessCount
FleetUtilization & WithActiveServerProcessCount(int value)
Definition: FleetUtilization.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::FleetUtilization::FleetArnHasBeenSet
bool FleetArnHasBeenSet() const
Definition: FleetUtilization.h:100
Aws::GameLift::Model::FleetUtilization::WithLocation
FleetUtilization & WithLocation(Aws::String &&value)
Definition: FleetUtilization.h:297
Aws::GameLift::Model::FleetUtilization::MaximumPlayerSessionCountHasBeenSet
bool MaximumPlayerSessionCountHasBeenSet() const
Definition: FleetUtilization.h:242
Aws::GameLift::Model::FleetUtilization::WithCurrentPlayerSessionCount
FleetUtilization & WithCurrentPlayerSessionCount(int value)
Definition: FleetUtilization.h:229
Aws::GameLift::Model::FleetUtilization::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: FleetUtilization.h:91
Aws::GameLift::Model::FleetUtilization::GetLocation
const Aws::String & GetLocation() const
Definition: FleetUtilization.h:261
Aws::GameLift::Model::FleetUtilization::ActiveServerProcessCountHasBeenSet
bool ActiveServerProcessCountHasBeenSet() const
Definition: FleetUtilization.h:167
Aws::GameLift::Model::FleetUtilization
Definition: FleetUtilization.h:35