AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchedPlayerSession.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GameLift
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_GAMELIFT_API MatchedPlayerSession();
42 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetPlayerId() const{ return m_playerId; }
50 inline bool PlayerIdHasBeenSet() const { return m_playerIdHasBeenSet; }
51 inline void SetPlayerId(const Aws::String& value) { m_playerIdHasBeenSet = true; m_playerId = value; }
52 inline void SetPlayerId(Aws::String&& value) { m_playerIdHasBeenSet = true; m_playerId = std::move(value); }
53 inline void SetPlayerId(const char* value) { m_playerIdHasBeenSet = true; m_playerId.assign(value); }
54 inline MatchedPlayerSession& WithPlayerId(const Aws::String& value) { SetPlayerId(value); return *this;}
55 inline MatchedPlayerSession& WithPlayerId(Aws::String&& value) { SetPlayerId(std::move(value)); return *this;}
56 inline MatchedPlayerSession& WithPlayerId(const char* value) { SetPlayerId(value); return *this;}
58
60
63 inline const Aws::String& GetPlayerSessionId() const{ return m_playerSessionId; }
64 inline bool PlayerSessionIdHasBeenSet() const { return m_playerSessionIdHasBeenSet; }
65 inline void SetPlayerSessionId(const Aws::String& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = value; }
66 inline void SetPlayerSessionId(Aws::String&& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = std::move(value); }
67 inline void SetPlayerSessionId(const char* value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId.assign(value); }
68 inline MatchedPlayerSession& WithPlayerSessionId(const Aws::String& value) { SetPlayerSessionId(value); return *this;}
69 inline MatchedPlayerSession& WithPlayerSessionId(Aws::String&& value) { SetPlayerSessionId(std::move(value)); return *this;}
70 inline MatchedPlayerSession& WithPlayerSessionId(const char* value) { SetPlayerSessionId(value); return *this;}
72 private:
73
74 Aws::String m_playerId;
75 bool m_playerIdHasBeenSet = false;
76
77 Aws::String m_playerSessionId;
78 bool m_playerSessionIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GameLift
83} // namespace Aws
MatchedPlayerSession & WithPlayerId(const Aws::String &value)
AWS_GAMELIFT_API MatchedPlayerSession(Aws::Utils::Json::JsonView jsonValue)
MatchedPlayerSession & WithPlayerSessionId(const char *value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
MatchedPlayerSession & WithPlayerId(const char *value)
MatchedPlayerSession & WithPlayerId(Aws::String &&value)
void SetPlayerSessionId(const Aws::String &value)
MatchedPlayerSession & WithPlayerSessionId(const Aws::String &value)
AWS_GAMELIFT_API MatchedPlayerSession & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchedPlayerSession & WithPlayerSessionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue