AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeoutConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_ECS_API TimeoutConfiguration();
40
41
43
50 inline int GetIdleTimeoutSeconds() const{ return m_idleTimeoutSeconds; }
51 inline bool IdleTimeoutSecondsHasBeenSet() const { return m_idleTimeoutSecondsHasBeenSet; }
52 inline void SetIdleTimeoutSeconds(int value) { m_idleTimeoutSecondsHasBeenSet = true; m_idleTimeoutSeconds = value; }
53 inline TimeoutConfiguration& WithIdleTimeoutSeconds(int value) { SetIdleTimeoutSeconds(value); return *this;}
55
57
65 inline int GetPerRequestTimeoutSeconds() const{ return m_perRequestTimeoutSeconds; }
66 inline bool PerRequestTimeoutSecondsHasBeenSet() const { return m_perRequestTimeoutSecondsHasBeenSet; }
67 inline void SetPerRequestTimeoutSeconds(int value) { m_perRequestTimeoutSecondsHasBeenSet = true; m_perRequestTimeoutSeconds = value; }
70 private:
71
72 int m_idleTimeoutSeconds;
73 bool m_idleTimeoutSecondsHasBeenSet = false;
74
75 int m_perRequestTimeoutSeconds;
76 bool m_perRequestTimeoutSecondsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ECS
81} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API TimeoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
TimeoutConfiguration & WithIdleTimeoutSeconds(int value)
AWS_ECS_API TimeoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeoutConfiguration & WithPerRequestTimeoutSeconds(int value)
Aws::Utils::Json::JsonValue JsonValue