AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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
60 inline DeploymentLifecycleHookAction GetAction() const { return m_action; }
61 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
63 m_actionHasBeenSet = true;
64 m_action = value;
65 }
67 SetAction(value);
68 return *this;
69 }
71 private:
72 int m_timeoutInMinutes{0};
73
75 bool m_timeoutInMinutesHasBeenSet = false;
76 bool m_actionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ECS
81} // 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