AWS SDK for C++  1.9.108
AWS SDK for C++
ShutdownEventConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace OpsWorks
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
42  inline int GetExecutionTimeout() const{ return m_executionTimeout; }
43 
48  inline bool ExecutionTimeoutHasBeenSet() const { return m_executionTimeoutHasBeenSet; }
49 
54  inline void SetExecutionTimeout(int value) { m_executionTimeoutHasBeenSet = true; m_executionTimeout = value; }
55 
60  inline ShutdownEventConfiguration& WithExecutionTimeout(int value) { SetExecutionTimeout(value); return *this;}
61 
62 
69  inline bool GetDelayUntilElbConnectionsDrained() const{ return m_delayUntilElbConnectionsDrained; }
70 
77  inline bool DelayUntilElbConnectionsDrainedHasBeenSet() const { return m_delayUntilElbConnectionsDrainedHasBeenSet; }
78 
85  inline void SetDelayUntilElbConnectionsDrained(bool value) { m_delayUntilElbConnectionsDrainedHasBeenSet = true; m_delayUntilElbConnectionsDrained = value; }
86 
93  inline ShutdownEventConfiguration& WithDelayUntilElbConnectionsDrained(bool value) { SetDelayUntilElbConnectionsDrained(value); return *this;}
94 
95  private:
96 
97  int m_executionTimeout;
98  bool m_executionTimeoutHasBeenSet;
99 
100  bool m_delayUntilElbConnectionsDrained;
101  bool m_delayUntilElbConnectionsDrainedHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace OpsWorks
106 } // namespace Aws
Aws::OpsWorks::Model::ShutdownEventConfiguration::ShutdownEventConfiguration
ShutdownEventConfiguration(Aws::Utils::Json::JsonView jsonValue)
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::ShutdownEventConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::ShutdownEventConfiguration::SetDelayUntilElbConnectionsDrained
void SetDelayUntilElbConnectionsDrained(bool value)
Definition: ShutdownEventConfiguration.h:85
Aws::OpsWorks::Model::ShutdownEventConfiguration::ShutdownEventConfiguration
ShutdownEventConfiguration()
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::OpsWorks::Model::ShutdownEventConfiguration::ExecutionTimeoutHasBeenSet
bool ExecutionTimeoutHasBeenSet() const
Definition: ShutdownEventConfiguration.h:48
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::ShutdownEventConfiguration::GetExecutionTimeout
int GetExecutionTimeout() const
Definition: ShutdownEventConfiguration.h:42
Aws::OpsWorks::Model::ShutdownEventConfiguration::WithDelayUntilElbConnectionsDrained
ShutdownEventConfiguration & WithDelayUntilElbConnectionsDrained(bool value)
Definition: ShutdownEventConfiguration.h:93
Aws::OpsWorks::Model::ShutdownEventConfiguration
Definition: ShutdownEventConfiguration.h:30
Aws::OpsWorks::Model::ShutdownEventConfiguration::DelayUntilElbConnectionsDrainedHasBeenSet
bool DelayUntilElbConnectionsDrainedHasBeenSet() const
Definition: ShutdownEventConfiguration.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::ShutdownEventConfiguration::WithExecutionTimeout
ShutdownEventConfiguration & WithExecutionTimeout(int value)
Definition: ShutdownEventConfiguration.h:60
Aws::OpsWorks::Model::ShutdownEventConfiguration::operator=
ShutdownEventConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::ShutdownEventConfiguration::GetDelayUntilElbConnectionsDrained
bool GetDelayUntilElbConnectionsDrained() const
Definition: ShutdownEventConfiguration.h:69
Aws::OpsWorks::Model::ShutdownEventConfiguration::SetExecutionTimeout
void SetExecutionTimeout(int value)
Definition: ShutdownEventConfiguration.h:54