AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
DeploymentLifecycleHookTimeoutConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/DeploymentLifecycleHookAction.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
30 public:
35
37
41 inline int GetTimeoutInMinutes() const { return m_timeoutInMinutes; }
42 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
43 inline void SetTimeoutInMinutes(int value) {
44 m_timeoutInMinutesHasBeenSet = true;
45 m_timeoutInMinutes = value;
46 }
49 return *this;
50 }
52
54
61 inline DeploymentLifecycleHookAction GetAction() const { return m_action; }
62 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
64 m_actionHasBeenSet = true;
65 m_action = value;
66 }
68 SetAction(value);
69 return *this;
70 }
72 private:
73 int m_timeoutInMinutes{0};
74
76 bool m_timeoutInMinutesHasBeenSet = false;
77 bool m_actionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ECS
82} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API DeploymentLifecycleHookTimeoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentLifecycleHookTimeoutConfiguration & WithTimeoutInMinutes(int value)
AWS_ECS_API DeploymentLifecycleHookTimeoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeploymentLifecycleHookTimeoutConfiguration & WithAction(DeploymentLifecycleHookAction value)
Aws::Utils::Json::JsonValue JsonValue