AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlacedPlayerSession.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
35 {
36 public:
37 AWS_GAMELIFT_API PlacedPlayerSession();
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetPlayerId() const{ return m_playerId; }
49 inline bool PlayerIdHasBeenSet() const { return m_playerIdHasBeenSet; }
50 inline void SetPlayerId(const Aws::String& value) { m_playerIdHasBeenSet = true; m_playerId = value; }
51 inline void SetPlayerId(Aws::String&& value) { m_playerIdHasBeenSet = true; m_playerId = std::move(value); }
52 inline void SetPlayerId(const char* value) { m_playerIdHasBeenSet = true; m_playerId.assign(value); }
53 inline PlacedPlayerSession& WithPlayerId(const Aws::String& value) { SetPlayerId(value); return *this;}
54 inline PlacedPlayerSession& WithPlayerId(Aws::String&& value) { SetPlayerId(std::move(value)); return *this;}
55 inline PlacedPlayerSession& WithPlayerId(const char* value) { SetPlayerId(value); return *this;}
57
59
62 inline const Aws::String& GetPlayerSessionId() const{ return m_playerSessionId; }
63 inline bool PlayerSessionIdHasBeenSet() const { return m_playerSessionIdHasBeenSet; }
64 inline void SetPlayerSessionId(const Aws::String& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = value; }
65 inline void SetPlayerSessionId(Aws::String&& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = std::move(value); }
66 inline void SetPlayerSessionId(const char* value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId.assign(value); }
67 inline PlacedPlayerSession& WithPlayerSessionId(const Aws::String& value) { SetPlayerSessionId(value); return *this;}
68 inline PlacedPlayerSession& WithPlayerSessionId(Aws::String&& value) { SetPlayerSessionId(std::move(value)); return *this;}
69 inline PlacedPlayerSession& WithPlayerSessionId(const char* value) { SetPlayerSessionId(value); return *this;}
71 private:
72
73 Aws::String m_playerId;
74 bool m_playerIdHasBeenSet = false;
75
76 Aws::String m_playerSessionId;
77 bool m_playerSessionIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GameLift
82} // namespace Aws
PlacedPlayerSession & WithPlayerSessionId(Aws::String &&value)
PlacedPlayerSession & WithPlayerSessionId(const char *value)
PlacedPlayerSession & WithPlayerSessionId(const Aws::String &value)
PlacedPlayerSession & WithPlayerId(Aws::String &&value)
void SetPlayerSessionId(const Aws::String &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
PlacedPlayerSession & WithPlayerId(const Aws::String &value)
const Aws::String & GetPlayerSessionId() const
void SetPlayerId(const Aws::String &value)
AWS_GAMELIFT_API PlacedPlayerSession(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API PlacedPlayerSession & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacedPlayerSession & WithPlayerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue