AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShutdownEventConfiguration.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_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 OpsWorks
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_OPSWORKS_API ShutdownEventConfiguration();
35 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetExecutionTimeout() const{ return m_executionTimeout; }
44 inline bool ExecutionTimeoutHasBeenSet() const { return m_executionTimeoutHasBeenSet; }
45 inline void SetExecutionTimeout(int value) { m_executionTimeoutHasBeenSet = true; m_executionTimeout = value; }
46 inline ShutdownEventConfiguration& WithExecutionTimeout(int value) { SetExecutionTimeout(value); return *this;}
48
50
56 inline bool GetDelayUntilElbConnectionsDrained() const{ return m_delayUntilElbConnectionsDrained; }
57 inline bool DelayUntilElbConnectionsDrainedHasBeenSet() const { return m_delayUntilElbConnectionsDrainedHasBeenSet; }
58 inline void SetDelayUntilElbConnectionsDrained(bool value) { m_delayUntilElbConnectionsDrainedHasBeenSet = true; m_delayUntilElbConnectionsDrained = value; }
61 private:
62
63 int m_executionTimeout;
64 bool m_executionTimeoutHasBeenSet = false;
65
66 bool m_delayUntilElbConnectionsDrained;
67 bool m_delayUntilElbConnectionsDrainedHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace OpsWorks
72} // namespace Aws
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API ShutdownEventConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API ShutdownEventConfiguration(Aws::Utils::Json::JsonView jsonValue)
ShutdownEventConfiguration & WithDelayUntilElbConnectionsDrained(bool value)
ShutdownEventConfiguration & WithExecutionTimeout(int value)
Aws::Utils::Json::JsonValue JsonValue