AWS SDK for C++  1.8.7
AWS SDK for C++
GameSession.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace GameLift
28 {
29 namespace Model
30 {
31 
50  {
51  public:
52  GameSession();
54  GameSession& operator=(Aws::Utils::Json::JsonView jsonValue);
55  Aws::Utils::Json::JsonValue Jsonize() const;
56 
57 
63  inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
64 
70  inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
71 
77  inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
78 
84  inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
85 
91  inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
92 
98  inline GameSession& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
99 
105  inline GameSession& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
106 
112  inline GameSession& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
113 
114 
119  inline const Aws::String& GetName() const{ return m_name; }
120 
125  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 
131  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 
137  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
138 
143  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 
149  inline GameSession& WithName(const Aws::String& value) { SetName(value); return *this;}
150 
155  inline GameSession& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 
161  inline GameSession& WithName(const char* value) { SetName(value); return *this;}
162 
163 
167  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
168 
172  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
173 
177  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
178 
182  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
183 
187  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
188 
192  inline GameSession& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
193 
197  inline GameSession& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
198 
202  inline GameSession& WithFleetId(const char* value) { SetFleetId(value); return *this;}
203 
204 
210  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
211 
217  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
218 
224  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
225 
231  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
232 
238  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
239 
245  inline GameSession& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
246 
252  inline GameSession& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
253 
259  inline GameSession& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
260 
261 
266  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
267 
272  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
273 
278  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
279 
284  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
285 
290  inline GameSession& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
291 
296  inline GameSession& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
297 
298 
304  inline const Aws::Utils::DateTime& GetTerminationTime() const{ return m_terminationTime; }
305 
311  inline bool TerminationTimeHasBeenSet() const { return m_terminationTimeHasBeenSet; }
312 
318  inline void SetTerminationTime(const Aws::Utils::DateTime& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = value; }
319 
325  inline void SetTerminationTime(Aws::Utils::DateTime&& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = std::move(value); }
326 
332  inline GameSession& WithTerminationTime(const Aws::Utils::DateTime& value) { SetTerminationTime(value); return *this;}
333 
339  inline GameSession& WithTerminationTime(Aws::Utils::DateTime&& value) { SetTerminationTime(std::move(value)); return *this;}
340 
341 
345  inline int GetCurrentPlayerSessionCount() const{ return m_currentPlayerSessionCount; }
346 
350  inline bool CurrentPlayerSessionCountHasBeenSet() const { return m_currentPlayerSessionCountHasBeenSet; }
351 
355  inline void SetCurrentPlayerSessionCount(int value) { m_currentPlayerSessionCountHasBeenSet = true; m_currentPlayerSessionCount = value; }
356 
360  inline GameSession& WithCurrentPlayerSessionCount(int value) { SetCurrentPlayerSessionCount(value); return *this;}
361 
362 
367  inline int GetMaximumPlayerSessionCount() const{ return m_maximumPlayerSessionCount; }
368 
373  inline bool MaximumPlayerSessionCountHasBeenSet() const { return m_maximumPlayerSessionCountHasBeenSet; }
374 
379  inline void SetMaximumPlayerSessionCount(int value) { m_maximumPlayerSessionCountHasBeenSet = true; m_maximumPlayerSessionCount = value; }
380 
385  inline GameSession& WithMaximumPlayerSessionCount(int value) { SetMaximumPlayerSessionCount(value); return *this;}
386 
387 
392  inline const GameSessionStatus& GetStatus() const{ return m_status; }
393 
398  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
399 
404  inline void SetStatus(const GameSessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
405 
410  inline void SetStatus(GameSessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
411 
416  inline GameSession& WithStatus(const GameSessionStatus& value) { SetStatus(value); return *this;}
417 
422  inline GameSession& WithStatus(GameSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
423 
424 
431  inline const GameSessionStatusReason& GetStatusReason() const{ return m_statusReason; }
432 
439  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
440 
447  inline void SetStatusReason(const GameSessionStatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
448 
455  inline void SetStatusReason(GameSessionStatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
456 
463  inline GameSession& WithStatusReason(const GameSessionStatusReason& value) { SetStatusReason(value); return *this;}
464 
471  inline GameSession& WithStatusReason(GameSessionStatusReason&& value) { SetStatusReason(std::move(value)); return *this;}
472 
473 
482  inline const Aws::Vector<GameProperty>& GetGameProperties() const{ return m_gameProperties; }
483 
492  inline bool GamePropertiesHasBeenSet() const { return m_gamePropertiesHasBeenSet; }
493 
502  inline void SetGameProperties(const Aws::Vector<GameProperty>& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = value; }
503 
512  inline void SetGameProperties(Aws::Vector<GameProperty>&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = std::move(value); }
513 
522  inline GameSession& WithGameProperties(const Aws::Vector<GameProperty>& value) { SetGameProperties(value); return *this;}
523 
532  inline GameSession& WithGameProperties(Aws::Vector<GameProperty>&& value) { SetGameProperties(std::move(value)); return *this;}
533 
542  inline GameSession& AddGameProperties(const GameProperty& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(value); return *this; }
543 
552  inline GameSession& AddGameProperties(GameProperty&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(std::move(value)); return *this; }
553 
554 
560  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
561 
567  inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
568 
574  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
575 
581  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
582 
588  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
589 
595  inline GameSession& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
596 
602  inline GameSession& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
603 
609  inline GameSession& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
610 
611 
624  inline const Aws::String& GetDnsName() const{ return m_dnsName; }
625 
638  inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
639 
652  inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
653 
666  inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
667 
680  inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
681 
694  inline GameSession& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
695 
708  inline GameSession& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
709 
722  inline GameSession& WithDnsName(const char* value) { SetDnsName(value); return *this;}
723 
724 
729  inline int GetPort() const{ return m_port; }
730 
735  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
736 
741  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
742 
747  inline GameSession& WithPort(int value) { SetPort(value); return *this;}
748 
749 
753  inline const PlayerSessionCreationPolicy& GetPlayerSessionCreationPolicy() const{ return m_playerSessionCreationPolicy; }
754 
758  inline bool PlayerSessionCreationPolicyHasBeenSet() const { return m_playerSessionCreationPolicyHasBeenSet; }
759 
763  inline void SetPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy& value) { m_playerSessionCreationPolicyHasBeenSet = true; m_playerSessionCreationPolicy = value; }
764 
768  inline void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy&& value) { m_playerSessionCreationPolicyHasBeenSet = true; m_playerSessionCreationPolicy = std::move(value); }
769 
773  inline GameSession& WithPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy& value) { SetPlayerSessionCreationPolicy(value); return *this;}
774 
778  inline GameSession& WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy&& value) { SetPlayerSessionCreationPolicy(std::move(value)); return *this;}
779 
780 
786  inline const Aws::String& GetCreatorId() const{ return m_creatorId; }
787 
793  inline bool CreatorIdHasBeenSet() const { return m_creatorIdHasBeenSet; }
794 
800  inline void SetCreatorId(const Aws::String& value) { m_creatorIdHasBeenSet = true; m_creatorId = value; }
801 
807  inline void SetCreatorId(Aws::String&& value) { m_creatorIdHasBeenSet = true; m_creatorId = std::move(value); }
808 
814  inline void SetCreatorId(const char* value) { m_creatorIdHasBeenSet = true; m_creatorId.assign(value); }
815 
821  inline GameSession& WithCreatorId(const Aws::String& value) { SetCreatorId(value); return *this;}
822 
828  inline GameSession& WithCreatorId(Aws::String&& value) { SetCreatorId(std::move(value)); return *this;}
829 
835  inline GameSession& WithCreatorId(const char* value) { SetCreatorId(value); return *this;}
836 
837 
845  inline const Aws::String& GetGameSessionData() const{ return m_gameSessionData; }
846 
854  inline bool GameSessionDataHasBeenSet() const { return m_gameSessionDataHasBeenSet; }
855 
863  inline void SetGameSessionData(const Aws::String& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = value; }
864 
872  inline void SetGameSessionData(Aws::String&& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = std::move(value); }
873 
881  inline void SetGameSessionData(const char* value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData.assign(value); }
882 
890  inline GameSession& WithGameSessionData(const Aws::String& value) { SetGameSessionData(value); return *this;}
891 
899  inline GameSession& WithGameSessionData(Aws::String&& value) { SetGameSessionData(std::move(value)); return *this;}
900 
908  inline GameSession& WithGameSessionData(const char* value) { SetGameSessionData(value); return *this;}
909 
910 
922  inline const Aws::String& GetMatchmakerData() const{ return m_matchmakerData; }
923 
935  inline bool MatchmakerDataHasBeenSet() const { return m_matchmakerDataHasBeenSet; }
936 
948  inline void SetMatchmakerData(const Aws::String& value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData = value; }
949 
961  inline void SetMatchmakerData(Aws::String&& value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData = std::move(value); }
962 
974  inline void SetMatchmakerData(const char* value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData.assign(value); }
975 
987  inline GameSession& WithMatchmakerData(const Aws::String& value) { SetMatchmakerData(value); return *this;}
988 
1000  inline GameSession& WithMatchmakerData(Aws::String&& value) { SetMatchmakerData(std::move(value)); return *this;}
1001 
1013  inline GameSession& WithMatchmakerData(const char* value) { SetMatchmakerData(value); return *this;}
1014 
1015  private:
1016 
1017  Aws::String m_gameSessionId;
1018  bool m_gameSessionIdHasBeenSet;
1019 
1020  Aws::String m_name;
1021  bool m_nameHasBeenSet;
1022 
1023  Aws::String m_fleetId;
1024  bool m_fleetIdHasBeenSet;
1025 
1026  Aws::String m_fleetArn;
1027  bool m_fleetArnHasBeenSet;
1028 
1029  Aws::Utils::DateTime m_creationTime;
1030  bool m_creationTimeHasBeenSet;
1031 
1032  Aws::Utils::DateTime m_terminationTime;
1033  bool m_terminationTimeHasBeenSet;
1034 
1035  int m_currentPlayerSessionCount;
1036  bool m_currentPlayerSessionCountHasBeenSet;
1037 
1038  int m_maximumPlayerSessionCount;
1039  bool m_maximumPlayerSessionCountHasBeenSet;
1040 
1041  GameSessionStatus m_status;
1042  bool m_statusHasBeenSet;
1043 
1044  GameSessionStatusReason m_statusReason;
1045  bool m_statusReasonHasBeenSet;
1046 
1047  Aws::Vector<GameProperty> m_gameProperties;
1048  bool m_gamePropertiesHasBeenSet;
1049 
1050  Aws::String m_ipAddress;
1051  bool m_ipAddressHasBeenSet;
1052 
1053  Aws::String m_dnsName;
1054  bool m_dnsNameHasBeenSet;
1055 
1056  int m_port;
1057  bool m_portHasBeenSet;
1058 
1059  PlayerSessionCreationPolicy m_playerSessionCreationPolicy;
1060  bool m_playerSessionCreationPolicyHasBeenSet;
1061 
1062  Aws::String m_creatorId;
1063  bool m_creatorIdHasBeenSet;
1064 
1065  Aws::String m_gameSessionData;
1066  bool m_gameSessionDataHasBeenSet;
1067 
1068  Aws::String m_matchmakerData;
1069  bool m_matchmakerDataHasBeenSet;
1070  };
1071 
1072 } // namespace Model
1073 } // namespace GameLift
1074 } // namespace Aws
GameSession & WithName(Aws::String &&value)
Definition: GameSession.h:155
void SetFleetId(const char *value)
Definition: GameSession.h:187
void SetCreatorId(const char *value)
Definition: GameSession.h:814
GameSession & WithGameSessionId(const char *value)
Definition: GameSession.h:112
GameSession & WithIpAddress(Aws::String &&value)
Definition: GameSession.h:602
void SetGameSessionData(const Aws::String &value)
Definition: GameSession.h:863
void SetStatusReason(GameSessionStatusReason &&value)
Definition: GameSession.h:455
const Aws::String & GetGameSessionData() const
Definition: GameSession.h:845
GameSession & WithMaximumPlayerSessionCount(int value)
Definition: GameSession.h:385
GameSession & WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
Definition: GameSession.h:778
const PlayerSessionCreationPolicy & GetPlayerSessionCreationPolicy() const
Definition: GameSession.h:753
void SetTerminationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:318
void SetName(const Aws::String &value)
Definition: GameSession.h:131
void SetGameSessionId(const Aws::String &value)
Definition: GameSession.h:77
const Aws::String & GetIpAddress() const
Definition: GameSession.h:560
void SetTerminationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:325
void SetMaximumPlayerSessionCount(int value)
Definition: GameSession.h:379
void SetCreatorId(const Aws::String &value)
Definition: GameSession.h:800
GameSession & WithStatus(GameSessionStatus &&value)
Definition: GameSession.h:422
const Aws::Utils::DateTime & GetCreationTime() const
Definition: GameSession.h:266
#define AWS_GAMELIFT_API
GameSession & WithGameSessionData(const char *value)
Definition: GameSession.h:908
void SetMatchmakerData(Aws::String &&value)
Definition: GameSession.h:961
const Aws::Vector< GameProperty > & GetGameProperties() const
Definition: GameSession.h:482
void SetGameProperties(Aws::Vector< GameProperty > &&value)
Definition: GameSession.h:512
void SetPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
Definition: GameSession.h:763
void SetStatusReason(const GameSessionStatusReason &value)
Definition: GameSession.h:447
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
GameSession & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:290
const Aws::String & GetName() const
Definition: GameSession.h:119
GameSession & WithDnsName(const Aws::String &value)
Definition: GameSession.h:694
GameSession & WithFleetId(Aws::String &&value)
Definition: GameSession.h:197
void SetIpAddress(Aws::String &&value)
Definition: GameSession.h:581
void SetGameSessionData(Aws::String &&value)
Definition: GameSession.h:872
bool MaximumPlayerSessionCountHasBeenSet() const
Definition: GameSession.h:373
GameSession & WithFleetArn(Aws::String &&value)
Definition: GameSession.h:252
GameSession & AddGameProperties(const GameProperty &value)
Definition: GameSession.h:542
void SetName(Aws::String &&value)
Definition: GameSession.h:137
GameSession & WithGameSessionData(const Aws::String &value)
Definition: GameSession.h:890
GameSession & WithMatchmakerData(Aws::String &&value)
Definition: GameSession.h:1000
void SetCurrentPlayerSessionCount(int value)
Definition: GameSession.h:355
const Aws::String & GetFleetId() const
Definition: GameSession.h:167
GameSession & WithStatus(const GameSessionStatus &value)
Definition: GameSession.h:416
GameSession & WithName(const Aws::String &value)
Definition: GameSession.h:149
GameSession & WithFleetArn(const Aws::String &value)
Definition: GameSession.h:245
GameSession & WithName(const char *value)
Definition: GameSession.h:161
const Aws::String & GetFleetArn() const
Definition: GameSession.h:210
void SetStatus(const GameSessionStatus &value)
Definition: GameSession.h:404
GameSession & WithMatchmakerData(const Aws::String &value)
Definition: GameSession.h:987
GameSession & WithGameProperties(const Aws::Vector< GameProperty > &value)
Definition: GameSession.h:522
const Aws::String & GetMatchmakerData() const
Definition: GameSession.h:922
GameSession & WithPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
Definition: GameSession.h:773
const GameSessionStatus & GetStatus() const
Definition: GameSession.h:392
const Aws::String & GetDnsName() const
Definition: GameSession.h:624
GameSession & WithMatchmakerData(const char *value)
Definition: GameSession.h:1013
const GameSessionStatusReason & GetStatusReason() const
Definition: GameSession.h:431
GameSession & WithTerminationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:339
const Aws::Utils::DateTime & GetTerminationTime() const
Definition: GameSession.h:304
void SetIpAddress(const Aws::String &value)
Definition: GameSession.h:574
void SetMatchmakerData(const char *value)
Definition: GameSession.h:974
void SetGameSessionId(Aws::String &&value)
Definition: GameSession.h:84
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:284
const Aws::String & GetGameSessionId() const
Definition: GameSession.h:63
GameSession & AddGameProperties(GameProperty &&value)
Definition: GameSession.h:552
GameSession & WithGameSessionId(Aws::String &&value)
Definition: GameSession.h:105
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:278
GameSession & WithTerminationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:332
void SetGameProperties(const Aws::Vector< GameProperty > &value)
Definition: GameSession.h:502
bool CurrentPlayerSessionCountHasBeenSet() const
Definition: GameSession.h:350
GameSession & WithCreatorId(const Aws::String &value)
Definition: GameSession.h:821
void SetGameSessionId(const char *value)
Definition: GameSession.h:91
void SetFleetId(Aws::String &&value)
Definition: GameSession.h:182
GameSession & WithFleetId(const char *value)
Definition: GameSession.h:202
void SetFleetArn(const char *value)
Definition: GameSession.h:238
GameSession & WithFleetId(const Aws::String &value)
Definition: GameSession.h:192
void SetStatus(GameSessionStatus &&value)
Definition: GameSession.h:410
GameSession & WithCreatorId(Aws::String &&value)
Definition: GameSession.h:828
GameSession & WithDnsName(const char *value)
Definition: GameSession.h:722
void SetFleetArn(const Aws::String &value)
Definition: GameSession.h:224
GameSession & WithCurrentPlayerSessionCount(int value)
Definition: GameSession.h:360
GameSession & WithStatusReason(const GameSessionStatusReason &value)
Definition: GameSession.h:463
void SetName(const char *value)
Definition: GameSession.h:143
GameSession & WithCreatorId(const char *value)
Definition: GameSession.h:835
void SetMatchmakerData(const Aws::String &value)
Definition: GameSession.h:948
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDnsName(Aws::String &&value)
Definition: GameSession.h:666
void SetFleetArn(Aws::String &&value)
Definition: GameSession.h:231
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
Definition: GameSession.h:768
GameSession & WithDnsName(Aws::String &&value)
Definition: GameSession.h:708
GameSession & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:296
GameSession & WithFleetArn(const char *value)
Definition: GameSession.h:259
const Aws::String & GetCreatorId() const
Definition: GameSession.h:786
GameSession & WithGameSessionData(Aws::String &&value)
Definition: GameSession.h:899
void SetIpAddress(const char *value)
Definition: GameSession.h:588
GameSession & WithStatusReason(GameSessionStatusReason &&value)
Definition: GameSession.h:471
void SetDnsName(const char *value)
Definition: GameSession.h:680
void SetGameSessionData(const char *value)
Definition: GameSession.h:881
GameSession & WithGameSessionId(const Aws::String &value)
Definition: GameSession.h:98
GameSession & WithPort(int value)
Definition: GameSession.h:747
void SetDnsName(const Aws::String &value)
Definition: GameSession.h:652
void SetCreatorId(Aws::String &&value)
Definition: GameSession.h:807
void SetFleetId(const Aws::String &value)
Definition: GameSession.h:177
GameSession & WithIpAddress(const Aws::String &value)
Definition: GameSession.h:595
GameSession & WithIpAddress(const char *value)
Definition: GameSession.h:609
GameSession & WithGameProperties(Aws::Vector< GameProperty > &&value)
Definition: GameSession.h:532
bool PlayerSessionCreationPolicyHasBeenSet() const
Definition: GameSession.h:758