7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/Matcher.h>
11#include <aws/elasticloadbalancingv2/model/ProtocolEnum.h>
16namespace ElasticLoadBalancingv2 {
43 template <
typename TargetGroupArnT = Aws::String>
45 m_targetGroupArnHasBeenSet =
true;
46 m_targetGroupArn = std::forward<TargetGroupArnT>(value);
48 template <
typename TargetGroupArnT = Aws::String>
68 m_healthCheckProtocolHasBeenSet =
true;
69 m_healthCheckProtocol = value;
83 template <
typename HealthCheckPortT = Aws::String>
85 m_healthCheckPortHasBeenSet =
true;
86 m_healthCheckPort = std::forward<HealthCheckPortT>(value);
88 template <
typename HealthCheckPortT = Aws::String>
105 template <
typename HealthCheckPathT = Aws::String>
107 m_healthCheckPathHasBeenSet =
true;
108 m_healthCheckPath = std::forward<HealthCheckPathT>(value);
110 template <
typename HealthCheckPathT = Aws::String>
127 m_healthCheckEnabledHasBeenSet =
true;
128 m_healthCheckEnabled = value;
144 m_healthCheckIntervalSecondsHasBeenSet =
true;
145 m_healthCheckIntervalSeconds = value;
161 m_healthCheckTimeoutSecondsHasBeenSet =
true;
162 m_healthCheckTimeoutSeconds = value;
178 m_healthyThresholdCountHasBeenSet =
true;
179 m_healthyThresholdCount = value;
195 m_unhealthyThresholdCountHasBeenSet =
true;
196 m_unhealthyThresholdCount = value;
214 template <
typename MatcherT = Matcher>
216 m_matcherHasBeenSet =
true;
217 m_matcher = std::forward<MatcherT>(value);
219 template <
typename MatcherT = Matcher>
234 bool m_healthCheckEnabled{
false};
236 int m_healthCheckIntervalSeconds{0};
238 int m_healthCheckTimeoutSeconds{0};
240 int m_healthyThresholdCount{0};
242 int m_unhealthyThresholdCount{0};
245 bool m_targetGroupArnHasBeenSet =
false;
246 bool m_healthCheckProtocolHasBeenSet =
false;
247 bool m_healthCheckPortHasBeenSet =
false;
248 bool m_healthCheckPathHasBeenSet =
false;
249 bool m_healthCheckEnabledHasBeenSet =
false;
250 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
251 bool m_healthCheckTimeoutSecondsHasBeenSet =
false;
252 bool m_healthyThresholdCountHasBeenSet =
false;
253 bool m_unhealthyThresholdCountHasBeenSet =
false;
254 bool m_matcherHasBeenSet =
false;
bool HealthCheckProtocolHasBeenSet() const
ModifyTargetGroupRequest & WithTargetGroupArn(TargetGroupArnT &&value)
bool HealthCheckPathHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetHealthCheckIntervalSeconds(int value)
bool HealthyThresholdCountHasBeenSet() const
void SetHealthCheckPath(HealthCheckPathT &&value)
const Aws::String & GetHealthCheckPath() const
bool TargetGroupArnHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API ModifyTargetGroupRequest()=default
int GetHealthyThresholdCount() const
const Aws::String & GetTargetGroupArn() const
void SetUnhealthyThresholdCount(int value)
void SetHealthCheckProtocol(ProtocolEnum value)
bool HealthCheckEnabledHasBeenSet() const
int GetHealthCheckTimeoutSeconds() const
bool HealthCheckTimeoutSecondsHasBeenSet() const
bool HealthCheckPortHasBeenSet() const
ProtocolEnum GetHealthCheckProtocol() const
ModifyTargetGroupRequest & WithHealthCheckProtocol(ProtocolEnum value)
void SetHealthCheckTimeoutSeconds(int value)
void SetTargetGroupArn(TargetGroupArnT &&value)
bool UnhealthyThresholdCountHasBeenSet() const
ModifyTargetGroupRequest & WithHealthyThresholdCount(int value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
void SetHealthCheckEnabled(bool value)
ModifyTargetGroupRequest & WithHealthCheckPort(HealthCheckPortT &&value)
ModifyTargetGroupRequest & WithHealthCheckTimeoutSeconds(int value)
int GetUnhealthyThresholdCount() const
void SetHealthCheckPort(HealthCheckPortT &&value)
void SetMatcher(MatcherT &&value)
ModifyTargetGroupRequest & WithHealthCheckPath(HealthCheckPathT &&value)
bool MatcherHasBeenSet() const
const Matcher & GetMatcher() const
virtual const char * GetServiceRequestName() const override
void SetHealthyThresholdCount(int value)
bool GetHealthCheckEnabled() const
const Aws::String & GetHealthCheckPort() const
ModifyTargetGroupRequest & WithHealthCheckEnabled(bool value)
bool HealthCheckIntervalSecondsHasBeenSet() const
ModifyTargetGroupRequest & WithUnhealthyThresholdCount(int value)
ModifyTargetGroupRequest & WithHealthCheckIntervalSeconds(int value)
ModifyTargetGroupRequest & WithMatcher(MatcherT &&value)
int GetHealthCheckIntervalSeconds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String