AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlayerLatency.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 PlayerLatency();
40 AWS_GAMELIFT_API PlayerLatency(Aws::Utils::Json::JsonView jsonValue);
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 PlayerLatency& WithPlayerId(const Aws::String& value) { SetPlayerId(value); return *this;}
55 inline PlayerLatency& WithPlayerId(Aws::String&& value) { SetPlayerId(std::move(value)); return *this;}
56 inline PlayerLatency& WithPlayerId(const char* value) { SetPlayerId(value); return *this;}
58
60
63 inline const Aws::String& GetRegionIdentifier() const{ return m_regionIdentifier; }
64 inline bool RegionIdentifierHasBeenSet() const { return m_regionIdentifierHasBeenSet; }
65 inline void SetRegionIdentifier(const Aws::String& value) { m_regionIdentifierHasBeenSet = true; m_regionIdentifier = value; }
66 inline void SetRegionIdentifier(Aws::String&& value) { m_regionIdentifierHasBeenSet = true; m_regionIdentifier = std::move(value); }
67 inline void SetRegionIdentifier(const char* value) { m_regionIdentifierHasBeenSet = true; m_regionIdentifier.assign(value); }
68 inline PlayerLatency& WithRegionIdentifier(const Aws::String& value) { SetRegionIdentifier(value); return *this;}
69 inline PlayerLatency& WithRegionIdentifier(Aws::String&& value) { SetRegionIdentifier(std::move(value)); return *this;}
70 inline PlayerLatency& WithRegionIdentifier(const char* value) { SetRegionIdentifier(value); return *this;}
72
74
78 inline double GetLatencyInMilliseconds() const{ return m_latencyInMilliseconds; }
79 inline bool LatencyInMillisecondsHasBeenSet() const { return m_latencyInMillisecondsHasBeenSet; }
80 inline void SetLatencyInMilliseconds(double value) { m_latencyInMillisecondsHasBeenSet = true; m_latencyInMilliseconds = value; }
81 inline PlayerLatency& WithLatencyInMilliseconds(double value) { SetLatencyInMilliseconds(value); return *this;}
83 private:
84
85 Aws::String m_playerId;
86 bool m_playerIdHasBeenSet = false;
87
88 Aws::String m_regionIdentifier;
89 bool m_regionIdentifierHasBeenSet = false;
90
91 double m_latencyInMilliseconds;
92 bool m_latencyInMillisecondsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GameLift
97} // namespace Aws
void SetRegionIdentifier(Aws::String &&value)
PlayerLatency & WithLatencyInMilliseconds(double value)
void SetPlayerId(const char *value)
PlayerLatency & WithRegionIdentifier(Aws::String &&value)
PlayerLatency & WithRegionIdentifier(const Aws::String &value)
void SetRegionIdentifier(const Aws::String &value)
PlayerLatency & WithPlayerId(Aws::String &&value)
AWS_GAMELIFT_API PlayerLatency(Aws::Utils::Json::JsonView jsonValue)
void SetPlayerId(Aws::String &&value)
const Aws::String & GetPlayerId() const
const Aws::String & GetRegionIdentifier() const
void SetPlayerId(const Aws::String &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegionIdentifier(const char *value)
AWS_GAMELIFT_API PlayerLatency & operator=(Aws::Utils::Json::JsonView jsonValue)
PlayerLatency & WithRegionIdentifier(const char *value)
void SetLatencyInMilliseconds(double value)
PlayerLatency & WithPlayerId(const Aws::String &value)
PlayerLatency & WithPlayerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue