AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeoutSettings.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_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 WorkSpaces
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_WORKSPACES_API TimeoutSettings();
34 AWS_WORKSPACES_API TimeoutSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
47 inline int GetDisconnectTimeoutInSeconds() const{ return m_disconnectTimeoutInSeconds; }
48 inline bool DisconnectTimeoutInSecondsHasBeenSet() const { return m_disconnectTimeoutInSecondsHasBeenSet; }
49 inline void SetDisconnectTimeoutInSeconds(int value) { m_disconnectTimeoutInSecondsHasBeenSet = true; m_disconnectTimeoutInSeconds = value; }
52
54
57 inline int GetIdleDisconnectTimeoutInSeconds() const{ return m_idleDisconnectTimeoutInSeconds; }
58 inline bool IdleDisconnectTimeoutInSecondsHasBeenSet() const { return m_idleDisconnectTimeoutInSecondsHasBeenSet; }
59 inline void SetIdleDisconnectTimeoutInSeconds(int value) { m_idleDisconnectTimeoutInSecondsHasBeenSet = true; m_idleDisconnectTimeoutInSeconds = value; }
62
64
71 inline int GetMaxUserDurationInSeconds() const{ return m_maxUserDurationInSeconds; }
72 inline bool MaxUserDurationInSecondsHasBeenSet() const { return m_maxUserDurationInSecondsHasBeenSet; }
73 inline void SetMaxUserDurationInSeconds(int value) { m_maxUserDurationInSecondsHasBeenSet = true; m_maxUserDurationInSeconds = value; }
76 private:
77
78 int m_disconnectTimeoutInSeconds;
79 bool m_disconnectTimeoutInSecondsHasBeenSet = false;
80
81 int m_idleDisconnectTimeoutInSeconds;
82 bool m_idleDisconnectTimeoutInSecondsHasBeenSet = false;
83
84 int m_maxUserDurationInSeconds;
85 bool m_maxUserDurationInSecondsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WorkSpaces
90} // namespace Aws
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
TimeoutSettings & WithIdleDisconnectTimeoutInSeconds(int value)
TimeoutSettings & WithDisconnectTimeoutInSeconds(int value)
TimeoutSettings & WithMaxUserDurationInSeconds(int value)
AWS_WORKSPACES_API TimeoutSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API TimeoutSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue