7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticloadbalancingv2/model/ProtocolEnum.h>
11#include <aws/elasticloadbalancingv2/model/Matcher.h>
16namespace ElasticLoadBalancingv2
47 template<
typename TargetGroupArnT = Aws::String>
48 void SetTargetGroupArn(TargetGroupArnT&& value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn = std::forward<TargetGroupArnT>(value); }
49 template<
typename TargetGroupArnT = Aws::String>
75 template<
typename HealthCheckPortT = Aws::String>
76 void SetHealthCheckPort(HealthCheckPortT&& value) { m_healthCheckPortHasBeenSet =
true; m_healthCheckPort = std::forward<HealthCheckPortT>(value); }
77 template<
typename HealthCheckPortT = Aws::String>
91 template<
typename HealthCheckPathT = Aws::String>
92 void SetHealthCheckPath(HealthCheckPathT&& value) { m_healthCheckPathHasBeenSet =
true; m_healthCheckPath = std::forward<HealthCheckPathT>(value); }
93 template<
typename HealthCheckPathT = Aws::String>
103 inline void SetHealthCheckEnabled(
bool value) { m_healthCheckEnabledHasBeenSet =
true; m_healthCheckEnabled = value; }
161 template<
typename MatcherT = Matcher>
162 void SetMatcher(MatcherT&& value) { m_matcherHasBeenSet =
true; m_matcher = std::forward<MatcherT>(value); }
163 template<
typename MatcherT = Matcher>
169 bool m_targetGroupArnHasBeenSet =
false;
172 bool m_healthCheckProtocolHasBeenSet =
false;
175 bool m_healthCheckPortHasBeenSet =
false;
178 bool m_healthCheckPathHasBeenSet =
false;
180 bool m_healthCheckEnabled{
false};
181 bool m_healthCheckEnabledHasBeenSet =
false;
183 int m_healthCheckIntervalSeconds{0};
184 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
186 int m_healthCheckTimeoutSeconds{0};
187 bool m_healthCheckTimeoutSecondsHasBeenSet =
false;
189 int m_healthyThresholdCount{0};
190 bool m_healthyThresholdCountHasBeenSet =
false;
192 int m_unhealthyThresholdCount{0};
193 bool m_unhealthyThresholdCountHasBeenSet =
false;
196 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