AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PlayerIdT = Aws::String>
52 void SetPlayerId(PlayerIdT&& value) { m_playerIdHasBeenSet = true; m_playerId = std::forward<PlayerIdT>(value); }
53 template<typename PlayerIdT = Aws::String>
54 MatchedPlayerSession& WithPlayerId(PlayerIdT&& value) { SetPlayerId(std::forward<PlayerIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetPlayerSessionId() const { return m_playerSessionId; }
62 inline bool PlayerSessionIdHasBeenSet() const { return m_playerSessionIdHasBeenSet; }
63 template<typename PlayerSessionIdT = Aws::String>
64 void SetPlayerSessionId(PlayerSessionIdT&& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = std::forward<PlayerSessionIdT>(value); }
65 template<typename PlayerSessionIdT = Aws::String>
66 MatchedPlayerSession& WithPlayerSessionId(PlayerSessionIdT&& value) { SetPlayerSessionId(std::forward<PlayerSessionIdT>(value)); return *this;}
68 private:
69
70 Aws::String m_playerId;
71 bool m_playerIdHasBeenSet = false;
72
73 Aws::String m_playerSessionId;
74 bool m_playerSessionIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GameLift
79} // namespace Aws
MatchedPlayerSession & WithPlayerSessionId(PlayerSessionIdT &&value)
MatchedPlayerSession & WithPlayerId(PlayerIdT &&value)
void SetPlayerSessionId(PlayerSessionIdT &&value)
AWS_GAMELIFT_API MatchedPlayerSession(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API MatchedPlayerSession & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API MatchedPlayerSession()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue