AWS SDK for C++  1.7.231
AWS SDK for C++
GameSession.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 
16 #pragma once
25 #include <utility>
26 
27 namespace Aws
28 {
29 namespace Utils
30 {
31 namespace Json
32 {
33  class JsonValue;
34  class JsonView;
35 } // namespace Json
36 } // namespace Utils
37 namespace GameLift
38 {
39 namespace Model
40 {
41 
60  {
61  public:
62  GameSession();
64  GameSession& operator=(Aws::Utils::Json::JsonView jsonValue);
65  Aws::Utils::Json::JsonValue Jsonize() const;
66 
67 
73  inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
74 
80  inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
81 
87  inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
88 
94  inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
95 
101  inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
102 
108  inline GameSession& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
109 
115  inline GameSession& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
116 
122  inline GameSession& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
123 
124 
129  inline const Aws::String& GetName() const{ return m_name; }
130 
135  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
136 
141  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 
147  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 
153  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
154 
159  inline GameSession& WithName(const Aws::String& value) { SetName(value); return *this;}
160 
165  inline GameSession& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
166 
171  inline GameSession& WithName(const char* value) { SetName(value); return *this;}
172 
173 
177  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
178 
182  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
183 
187  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
188 
192  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
193 
197  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
198 
202  inline GameSession& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
203 
207  inline GameSession& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
208 
212  inline GameSession& WithFleetId(const char* value) { SetFleetId(value); return *this;}
213 
214 
219  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
220 
225  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
226 
231  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
232 
237  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
238 
243  inline GameSession& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
244 
249  inline GameSession& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
250 
251 
257  inline const Aws::Utils::DateTime& GetTerminationTime() const{ return m_terminationTime; }
258 
264  inline bool TerminationTimeHasBeenSet() const { return m_terminationTimeHasBeenSet; }
265 
271  inline void SetTerminationTime(const Aws::Utils::DateTime& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = value; }
272 
278  inline void SetTerminationTime(Aws::Utils::DateTime&& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = std::move(value); }
279 
285  inline GameSession& WithTerminationTime(const Aws::Utils::DateTime& value) { SetTerminationTime(value); return *this;}
286 
292  inline GameSession& WithTerminationTime(Aws::Utils::DateTime&& value) { SetTerminationTime(std::move(value)); return *this;}
293 
294 
298  inline int GetCurrentPlayerSessionCount() const{ return m_currentPlayerSessionCount; }
299 
303  inline bool CurrentPlayerSessionCountHasBeenSet() const { return m_currentPlayerSessionCountHasBeenSet; }
304 
308  inline void SetCurrentPlayerSessionCount(int value) { m_currentPlayerSessionCountHasBeenSet = true; m_currentPlayerSessionCount = value; }
309 
313  inline GameSession& WithCurrentPlayerSessionCount(int value) { SetCurrentPlayerSessionCount(value); return *this;}
314 
315 
320  inline int GetMaximumPlayerSessionCount() const{ return m_maximumPlayerSessionCount; }
321 
326  inline bool MaximumPlayerSessionCountHasBeenSet() const { return m_maximumPlayerSessionCountHasBeenSet; }
327 
332  inline void SetMaximumPlayerSessionCount(int value) { m_maximumPlayerSessionCountHasBeenSet = true; m_maximumPlayerSessionCount = value; }
333 
338  inline GameSession& WithMaximumPlayerSessionCount(int value) { SetMaximumPlayerSessionCount(value); return *this;}
339 
340 
345  inline const GameSessionStatus& GetStatus() const{ return m_status; }
346 
351  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
352 
357  inline void SetStatus(const GameSessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
358 
363  inline void SetStatus(GameSessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
364 
369  inline GameSession& WithStatus(const GameSessionStatus& value) { SetStatus(value); return *this;}
370 
375  inline GameSession& WithStatus(GameSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
376 
377 
384  inline const GameSessionStatusReason& GetStatusReason() const{ return m_statusReason; }
385 
392  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
393 
400  inline void SetStatusReason(const GameSessionStatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
401 
408  inline void SetStatusReason(GameSessionStatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
409 
416  inline GameSession& WithStatusReason(const GameSessionStatusReason& value) { SetStatusReason(value); return *this;}
417 
424  inline GameSession& WithStatusReason(GameSessionStatusReason&& value) { SetStatusReason(std::move(value)); return *this;}
425 
426 
435  inline const Aws::Vector<GameProperty>& GetGameProperties() const{ return m_gameProperties; }
436 
445  inline bool GamePropertiesHasBeenSet() const { return m_gamePropertiesHasBeenSet; }
446 
455  inline void SetGameProperties(const Aws::Vector<GameProperty>& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = value; }
456 
465  inline void SetGameProperties(Aws::Vector<GameProperty>&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = std::move(value); }
466 
475  inline GameSession& WithGameProperties(const Aws::Vector<GameProperty>& value) { SetGameProperties(value); return *this;}
476 
485  inline GameSession& WithGameProperties(Aws::Vector<GameProperty>&& value) { SetGameProperties(std::move(value)); return *this;}
486 
495  inline GameSession& AddGameProperties(const GameProperty& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(value); return *this; }
496 
505  inline GameSession& AddGameProperties(GameProperty&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(std::move(value)); return *this; }
506 
507 
512  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
513 
518  inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
519 
524  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
525 
530  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
531 
536  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
537 
542  inline GameSession& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
543 
548  inline GameSession& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
549 
554  inline GameSession& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
555 
556 
557 
558  inline const Aws::String& GetDnsName() const{ return m_dnsName; }
559 
560 
561  inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
562 
563 
564  inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
565 
566 
567  inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
568 
569 
570  inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
571 
572 
573  inline GameSession& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
574 
575 
576  inline GameSession& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
577 
578 
579  inline GameSession& WithDnsName(const char* value) { SetDnsName(value); return *this;}
580 
581 
586  inline int GetPort() const{ return m_port; }
587 
592  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
593 
598  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
599 
604  inline GameSession& WithPort(int value) { SetPort(value); return *this;}
605 
606 
610  inline const PlayerSessionCreationPolicy& GetPlayerSessionCreationPolicy() const{ return m_playerSessionCreationPolicy; }
611 
615  inline bool PlayerSessionCreationPolicyHasBeenSet() const { return m_playerSessionCreationPolicyHasBeenSet; }
616 
620  inline void SetPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy& value) { m_playerSessionCreationPolicyHasBeenSet = true; m_playerSessionCreationPolicy = value; }
621 
625  inline void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy&& value) { m_playerSessionCreationPolicyHasBeenSet = true; m_playerSessionCreationPolicy = std::move(value); }
626 
630  inline GameSession& WithPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy& value) { SetPlayerSessionCreationPolicy(value); return *this;}
631 
635  inline GameSession& WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy&& value) { SetPlayerSessionCreationPolicy(std::move(value)); return *this;}
636 
637 
643  inline const Aws::String& GetCreatorId() const{ return m_creatorId; }
644 
650  inline bool CreatorIdHasBeenSet() const { return m_creatorIdHasBeenSet; }
651 
657  inline void SetCreatorId(const Aws::String& value) { m_creatorIdHasBeenSet = true; m_creatorId = value; }
658 
664  inline void SetCreatorId(Aws::String&& value) { m_creatorIdHasBeenSet = true; m_creatorId = std::move(value); }
665 
671  inline void SetCreatorId(const char* value) { m_creatorIdHasBeenSet = true; m_creatorId.assign(value); }
672 
678  inline GameSession& WithCreatorId(const Aws::String& value) { SetCreatorId(value); return *this;}
679 
685  inline GameSession& WithCreatorId(Aws::String&& value) { SetCreatorId(std::move(value)); return *this;}
686 
692  inline GameSession& WithCreatorId(const char* value) { SetCreatorId(value); return *this;}
693 
694 
702  inline const Aws::String& GetGameSessionData() const{ return m_gameSessionData; }
703 
711  inline bool GameSessionDataHasBeenSet() const { return m_gameSessionDataHasBeenSet; }
712 
720  inline void SetGameSessionData(const Aws::String& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = value; }
721 
729  inline void SetGameSessionData(Aws::String&& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = std::move(value); }
730 
738  inline void SetGameSessionData(const char* value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData.assign(value); }
739 
747  inline GameSession& WithGameSessionData(const Aws::String& value) { SetGameSessionData(value); return *this;}
748 
756  inline GameSession& WithGameSessionData(Aws::String&& value) { SetGameSessionData(std::move(value)); return *this;}
757 
765  inline GameSession& WithGameSessionData(const char* value) { SetGameSessionData(value); return *this;}
766 
767 
779  inline const Aws::String& GetMatchmakerData() const{ return m_matchmakerData; }
780 
792  inline bool MatchmakerDataHasBeenSet() const { return m_matchmakerDataHasBeenSet; }
793 
805  inline void SetMatchmakerData(const Aws::String& value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData = value; }
806 
818  inline void SetMatchmakerData(Aws::String&& value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData = std::move(value); }
819 
831  inline void SetMatchmakerData(const char* value) { m_matchmakerDataHasBeenSet = true; m_matchmakerData.assign(value); }
832 
844  inline GameSession& WithMatchmakerData(const Aws::String& value) { SetMatchmakerData(value); return *this;}
845 
857  inline GameSession& WithMatchmakerData(Aws::String&& value) { SetMatchmakerData(std::move(value)); return *this;}
858 
870  inline GameSession& WithMatchmakerData(const char* value) { SetMatchmakerData(value); return *this;}
871 
872  private:
873 
874  Aws::String m_gameSessionId;
875  bool m_gameSessionIdHasBeenSet;
876 
877  Aws::String m_name;
878  bool m_nameHasBeenSet;
879 
880  Aws::String m_fleetId;
881  bool m_fleetIdHasBeenSet;
882 
883  Aws::Utils::DateTime m_creationTime;
884  bool m_creationTimeHasBeenSet;
885 
886  Aws::Utils::DateTime m_terminationTime;
887  bool m_terminationTimeHasBeenSet;
888 
889  int m_currentPlayerSessionCount;
890  bool m_currentPlayerSessionCountHasBeenSet;
891 
892  int m_maximumPlayerSessionCount;
893  bool m_maximumPlayerSessionCountHasBeenSet;
894 
895  GameSessionStatus m_status;
896  bool m_statusHasBeenSet;
897 
898  GameSessionStatusReason m_statusReason;
899  bool m_statusReasonHasBeenSet;
900 
901  Aws::Vector<GameProperty> m_gameProperties;
902  bool m_gamePropertiesHasBeenSet;
903 
904  Aws::String m_ipAddress;
905  bool m_ipAddressHasBeenSet;
906 
907  Aws::String m_dnsName;
908  bool m_dnsNameHasBeenSet;
909 
910  int m_port;
911  bool m_portHasBeenSet;
912 
913  PlayerSessionCreationPolicy m_playerSessionCreationPolicy;
914  bool m_playerSessionCreationPolicyHasBeenSet;
915 
916  Aws::String m_creatorId;
917  bool m_creatorIdHasBeenSet;
918 
919  Aws::String m_gameSessionData;
920  bool m_gameSessionDataHasBeenSet;
921 
922  Aws::String m_matchmakerData;
923  bool m_matchmakerDataHasBeenSet;
924  };
925 
926 } // namespace Model
927 } // namespace GameLift
928 } // namespace Aws
GameSession & WithName(Aws::String &&value)
Definition: GameSession.h:165
void SetFleetId(const char *value)
Definition: GameSession.h:197
void SetCreatorId(const char *value)
Definition: GameSession.h:671
GameSession & WithGameSessionId(const char *value)
Definition: GameSession.h:122
GameSession & WithIpAddress(Aws::String &&value)
Definition: GameSession.h:548
void SetGameSessionData(const Aws::String &value)
Definition: GameSession.h:720
void SetStatusReason(GameSessionStatusReason &&value)
Definition: GameSession.h:408
const Aws::String & GetGameSessionData() const
Definition: GameSession.h:702
GameSession & WithMaximumPlayerSessionCount(int value)
Definition: GameSession.h:338
GameSession & WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
Definition: GameSession.h:635
const PlayerSessionCreationPolicy & GetPlayerSessionCreationPolicy() const
Definition: GameSession.h:610
void SetTerminationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:271
void SetName(const Aws::String &value)
Definition: GameSession.h:141
void SetGameSessionId(const Aws::String &value)
Definition: GameSession.h:87
const Aws::String & GetIpAddress() const
Definition: GameSession.h:512
void SetTerminationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:278
void SetMaximumPlayerSessionCount(int value)
Definition: GameSession.h:332
void SetCreatorId(const Aws::String &value)
Definition: GameSession.h:657
GameSession & WithStatus(GameSessionStatus &&value)
Definition: GameSession.h:375
const Aws::Utils::DateTime & GetCreationTime() const
Definition: GameSession.h:219
#define AWS_GAMELIFT_API
GameSession & WithGameSessionData(const char *value)
Definition: GameSession.h:765
void SetMatchmakerData(Aws::String &&value)
Definition: GameSession.h:818
const Aws::Vector< GameProperty > & GetGameProperties() const
Definition: GameSession.h:435
void SetGameProperties(Aws::Vector< GameProperty > &&value)
Definition: GameSession.h:465
void SetPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
Definition: GameSession.h:620
void SetStatusReason(const GameSessionStatusReason &value)
Definition: GameSession.h:400
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GameSession & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:243
const Aws::String & GetName() const
Definition: GameSession.h:129
GameSession & WithDnsName(const Aws::String &value)
Definition: GameSession.h:573
GameSession & WithFleetId(Aws::String &&value)
Definition: GameSession.h:207
void SetIpAddress(Aws::String &&value)
Definition: GameSession.h:530
void SetGameSessionData(Aws::String &&value)
Definition: GameSession.h:729
bool MaximumPlayerSessionCountHasBeenSet() const
Definition: GameSession.h:326
GameSession & AddGameProperties(const GameProperty &value)
Definition: GameSession.h:495
void SetName(Aws::String &&value)
Definition: GameSession.h:147
GameSession & WithGameSessionData(const Aws::String &value)
Definition: GameSession.h:747
GameSession & WithMatchmakerData(Aws::String &&value)
Definition: GameSession.h:857
void SetCurrentPlayerSessionCount(int value)
Definition: GameSession.h:308
const Aws::String & GetFleetId() const
Definition: GameSession.h:177
GameSession & WithStatus(const GameSessionStatus &value)
Definition: GameSession.h:369
GameSession & WithName(const Aws::String &value)
Definition: GameSession.h:159
GameSession & WithName(const char *value)
Definition: GameSession.h:171
void SetStatus(const GameSessionStatus &value)
Definition: GameSession.h:357
GameSession & WithMatchmakerData(const Aws::String &value)
Definition: GameSession.h:844
GameSession & WithGameProperties(const Aws::Vector< GameProperty > &value)
Definition: GameSession.h:475
const Aws::String & GetMatchmakerData() const
Definition: GameSession.h:779
GameSession & WithPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
Definition: GameSession.h:630
const GameSessionStatus & GetStatus() const
Definition: GameSession.h:345
const Aws::String & GetDnsName() const
Definition: GameSession.h:558
GameSession & WithMatchmakerData(const char *value)
Definition: GameSession.h:870
const GameSessionStatusReason & GetStatusReason() const
Definition: GameSession.h:384
GameSession & WithTerminationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:292
const Aws::Utils::DateTime & GetTerminationTime() const
Definition: GameSession.h:257
void SetIpAddress(const Aws::String &value)
Definition: GameSession.h:524
void SetMatchmakerData(const char *value)
Definition: GameSession.h:831
void SetGameSessionId(Aws::String &&value)
Definition: GameSession.h:94
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:237
const Aws::String & GetGameSessionId() const
Definition: GameSession.h:73
GameSession & AddGameProperties(GameProperty &&value)
Definition: GameSession.h:505
GameSession & WithGameSessionId(Aws::String &&value)
Definition: GameSession.h:115
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:231
GameSession & WithTerminationTime(const Aws::Utils::DateTime &value)
Definition: GameSession.h:285
void SetGameProperties(const Aws::Vector< GameProperty > &value)
Definition: GameSession.h:455
bool CurrentPlayerSessionCountHasBeenSet() const
Definition: GameSession.h:303
GameSession & WithCreatorId(const Aws::String &value)
Definition: GameSession.h:678
void SetGameSessionId(const char *value)
Definition: GameSession.h:101
void SetFleetId(Aws::String &&value)
Definition: GameSession.h:192
GameSession & WithFleetId(const char *value)
Definition: GameSession.h:212
GameSession & WithFleetId(const Aws::String &value)
Definition: GameSession.h:202
void SetStatus(GameSessionStatus &&value)
Definition: GameSession.h:363
GameSession & WithCreatorId(Aws::String &&value)
Definition: GameSession.h:685
GameSession & WithDnsName(const char *value)
Definition: GameSession.h:579
GameSession & WithCurrentPlayerSessionCount(int value)
Definition: GameSession.h:313
GameSession & WithStatusReason(const GameSessionStatusReason &value)
Definition: GameSession.h:416
void SetName(const char *value)
Definition: GameSession.h:153
GameSession & WithCreatorId(const char *value)
Definition: GameSession.h:692
void SetMatchmakerData(const Aws::String &value)
Definition: GameSession.h:805
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:107
void SetDnsName(Aws::String &&value)
Definition: GameSession.h:567
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
Definition: GameSession.h:625
GameSession & WithDnsName(Aws::String &&value)
Definition: GameSession.h:576
GameSession & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: GameSession.h:249
const Aws::String & GetCreatorId() const
Definition: GameSession.h:643
GameSession & WithGameSessionData(Aws::String &&value)
Definition: GameSession.h:756
void SetIpAddress(const char *value)
Definition: GameSession.h:536
GameSession & WithStatusReason(GameSessionStatusReason &&value)
Definition: GameSession.h:424
void SetDnsName(const char *value)
Definition: GameSession.h:570
void SetGameSessionData(const char *value)
Definition: GameSession.h:738
GameSession & WithGameSessionId(const Aws::String &value)
Definition: GameSession.h:108
GameSession & WithPort(int value)
Definition: GameSession.h:604
void SetDnsName(const Aws::String &value)
Definition: GameSession.h:564
void SetCreatorId(Aws::String &&value)
Definition: GameSession.h:664
void SetFleetId(const Aws::String &value)
Definition: GameSession.h:187
GameSession & WithIpAddress(const Aws::String &value)
Definition: GameSession.h:542
GameSession & WithIpAddress(const char *value)
Definition: GameSession.h:554
GameSession & WithGameProperties(Aws::Vector< GameProperty > &&value)
Definition: GameSession.h:485
bool PlayerSessionCreationPolicyHasBeenSet() const
Definition: GameSession.h:615