AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElbLoadBalancerConnectionDraining.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetEnabled() const{ return m_enabled; }
44 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
45 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
46 inline AwsElbLoadBalancerConnectionDraining& WithEnabled(bool value) { SetEnabled(value); return *this;}
48
50
54 inline int GetTimeout() const{ return m_timeout; }
55 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
56 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
57 inline AwsElbLoadBalancerConnectionDraining& WithTimeout(int value) { SetTimeout(value); return *this;}
59 private:
60
61 bool m_enabled;
62 bool m_enabledHasBeenSet = false;
63
64 int m_timeout;
65 bool m_timeoutHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SecurityHub
70} // namespace Aws
AWS_SECURITYHUB_API AwsElbLoadBalancerConnectionDraining & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsElbLoadBalancerConnectionDraining(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue