AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlayerLatencyPolicy.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift
20{
21namespace Model
22{
23
35 {
36 public:
37 AWS_GAMELIFT_API PlayerLatencyPolicy();
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetMaximumIndividualPlayerLatencyMilliseconds() const{ return m_maximumIndividualPlayerLatencyMilliseconds; }
49 inline bool MaximumIndividualPlayerLatencyMillisecondsHasBeenSet() const { return m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet; }
50 inline void SetMaximumIndividualPlayerLatencyMilliseconds(int value) { m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet = true; m_maximumIndividualPlayerLatencyMilliseconds = value; }
53
55
60 inline int GetPolicyDurationSeconds() const{ return m_policyDurationSeconds; }
61 inline bool PolicyDurationSecondsHasBeenSet() const { return m_policyDurationSecondsHasBeenSet; }
62 inline void SetPolicyDurationSeconds(int value) { m_policyDurationSecondsHasBeenSet = true; m_policyDurationSeconds = value; }
65 private:
66
67 int m_maximumIndividualPlayerLatencyMilliseconds;
68 bool m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet = false;
69
70 int m_policyDurationSeconds;
71 bool m_policyDurationSecondsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GameLift
76} // namespace Aws
PlayerLatencyPolicy & WithMaximumIndividualPlayerLatencyMilliseconds(int value)
AWS_GAMELIFT_API PlayerLatencyPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API PlayerLatencyPolicy(Aws::Utils::Json::JsonView jsonValue)
PlayerLatencyPolicy & WithPolicyDurationSeconds(int value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue