AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElbLoadBalancerHealthCheck.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsElbLoadBalancerHealthCheck();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetHealthyThreshold() const{ return m_healthyThreshold; }
47 inline bool HealthyThresholdHasBeenSet() const { return m_healthyThresholdHasBeenSet; }
48 inline void SetHealthyThreshold(int value) { m_healthyThresholdHasBeenSet = true; m_healthyThreshold = value; }
51
53
57 inline int GetInterval() const{ return m_interval; }
58 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
59 inline void SetInterval(int value) { m_intervalHasBeenSet = true; m_interval = value; }
60 inline AwsElbLoadBalancerHealthCheck& WithInterval(int value) { SetInterval(value); return *this;}
62
64
75 inline const Aws::String& GetTarget() const{ return m_target; }
76 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
77 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
78 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
79 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
80 inline AwsElbLoadBalancerHealthCheck& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
81 inline AwsElbLoadBalancerHealthCheck& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
82 inline AwsElbLoadBalancerHealthCheck& WithTarget(const char* value) { SetTarget(value); return *this;}
84
86
90 inline int GetTimeout() const{ return m_timeout; }
91 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
92 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
93 inline AwsElbLoadBalancerHealthCheck& WithTimeout(int value) { SetTimeout(value); return *this;}
95
97
101 inline int GetUnhealthyThreshold() const{ return m_unhealthyThreshold; }
102 inline bool UnhealthyThresholdHasBeenSet() const { return m_unhealthyThresholdHasBeenSet; }
103 inline void SetUnhealthyThreshold(int value) { m_unhealthyThresholdHasBeenSet = true; m_unhealthyThreshold = value; }
106 private:
107
108 int m_healthyThreshold;
109 bool m_healthyThresholdHasBeenSet = false;
110
111 int m_interval;
112 bool m_intervalHasBeenSet = false;
113
114 Aws::String m_target;
115 bool m_targetHasBeenSet = false;
116
117 int m_timeout;
118 bool m_timeoutHasBeenSet = false;
119
120 int m_unhealthyThreshold;
121 bool m_unhealthyThresholdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SecurityHub
126} // namespace Aws
AWS_SECURITYHUB_API AwsElbLoadBalancerHealthCheck(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerHealthCheck & WithTarget(Aws::String &&value)
AWS_SECURITYHUB_API AwsElbLoadBalancerHealthCheck & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerHealthCheck & WithHealthyThreshold(int value)
AwsElbLoadBalancerHealthCheck & WithTarget(const Aws::String &value)
AwsElbLoadBalancerHealthCheck & WithTarget(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElbLoadBalancerHealthCheck & WithUnhealthyThreshold(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue