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>
12#include <aws/elasticloadbalancingv2/model/TargetTypeEnum.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/elasticloadbalancingv2/model/TargetGroupIpAddressTypeEnum.h>
15#include <aws/elasticloadbalancingv2/model/Tag.h>
20namespace ElasticLoadBalancingv2
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetProtocolVersion(
const char* value) { m_protocolVersionHasBeenSet =
true; m_protocolVersion.assign(value); }
104 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
118 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
153 inline void SetHealthCheckPort(
const char* value) { m_healthCheckPortHasBeenSet =
true; m_healthCheckPort.assign(value); }
168 inline void SetHealthCheckEnabled(
bool value) { m_healthCheckEnabledHasBeenSet =
true; m_healthCheckEnabled = value; }
184 inline void SetHealthCheckPath(
const char* value) { m_healthCheckPathHasBeenSet =
true; m_healthCheckPath.assign(value); }
258 inline void SetMatcher(
Matcher&& value) { m_matcherHasBeenSet =
true; m_matcher = std::move(value); }
313 bool m_nameHasBeenSet =
false;
316 bool m_protocolHasBeenSet =
false;
319 bool m_protocolVersionHasBeenSet =
false;
322 bool m_portHasBeenSet =
false;
325 bool m_vpcIdHasBeenSet =
false;
328 bool m_healthCheckProtocolHasBeenSet =
false;
331 bool m_healthCheckPortHasBeenSet =
false;
333 bool m_healthCheckEnabled;
334 bool m_healthCheckEnabledHasBeenSet =
false;
337 bool m_healthCheckPathHasBeenSet =
false;
339 int m_healthCheckIntervalSeconds;
340 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
342 int m_healthCheckTimeoutSeconds;
343 bool m_healthCheckTimeoutSecondsHasBeenSet =
false;
345 int m_healthyThresholdCount;
346 bool m_healthyThresholdCountHasBeenSet =
false;
348 int m_unhealthyThresholdCount;
349 bool m_unhealthyThresholdCountHasBeenSet =
false;
352 bool m_matcherHasBeenSet =
false;
355 bool m_targetTypeHasBeenSet =
false;
358 bool m_tagsHasBeenSet =
false;
361 bool m_ipAddressTypeHasBeenSet =
false;
CreateTargetGroupRequest & WithProtocolVersion(const Aws::String &value)
bool ProtocolVersionHasBeenSet() const
CreateTargetGroupRequest & WithVpcId(Aws::String &&value)
const Aws::String & GetProtocolVersion() const
bool ProtocolHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetProtocol(const ProtocolEnum &value)
bool UnhealthyThresholdCountHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateTargetGroupRequest & AddTags(const Tag &value)
CreateTargetGroupRequest & WithHealthCheckPath(const char *value)
void SetName(const char *value)
void SetHealthCheckPort(const Aws::String &value)
void SetHealthCheckEnabled(bool value)
void SetVpcId(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTargetGroupRequest & WithTags(Aws::Vector< Tag > &&value)
const TargetGroupIpAddressTypeEnum & GetIpAddressType() const
const Aws::String & GetHealthCheckPath() const
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
CreateTargetGroupRequest & WithHealthCheckEnabled(bool value)
void SetMatcher(const Matcher &value)
CreateTargetGroupRequest & WithVpcId(const Aws::String &value)
CreateTargetGroupRequest & AddTags(Tag &&value)
void SetHealthCheckTimeoutSeconds(int value)
CreateTargetGroupRequest & WithName(const char *value)
bool PortHasBeenSet() const
int GetHealthCheckIntervalSeconds() const
const Aws::String & GetVpcId() const
const Aws::String & GetHealthCheckPort() const
virtual const char * GetServiceRequestName() const override
void SetProtocol(ProtocolEnum &&value)
CreateTargetGroupRequest & WithHealthCheckTimeoutSeconds(int value)
CreateTargetGroupRequest & WithHealthCheckProtocol(const ProtocolEnum &value)
CreateTargetGroupRequest & WithHealthCheckPort(const Aws::String &value)
CreateTargetGroupRequest & WithHealthCheckIntervalSeconds(int value)
void SetName(Aws::String &&value)
void SetHealthCheckPort(const char *value)
bool GetHealthCheckEnabled() const
void SetHealthCheckPort(Aws::String &&value)
CreateTargetGroupRequest & WithName(Aws::String &&value)
CreateTargetGroupRequest & WithHealthCheckPath(const Aws::String &value)
CreateTargetGroupRequest & WithUnhealthyThresholdCount(int value)
CreateTargetGroupRequest & WithIpAddressType(const TargetGroupIpAddressTypeEnum &value)
bool HealthCheckEnabledHasBeenSet() const
void SetTargetType(const TargetTypeEnum &value)
void SetHealthCheckPath(const Aws::String &value)
CreateTargetGroupRequest & WithPort(int value)
bool MatcherHasBeenSet() const
CreateTargetGroupRequest & WithHealthCheckPath(Aws::String &&value)
CreateTargetGroupRequest & WithProtocolVersion(const char *value)
void SetProtocolVersion(const char *value)
bool TagsHasBeenSet() const
CreateTargetGroupRequest & WithIpAddressType(TargetGroupIpAddressTypeEnum &&value)
bool TargetTypeHasBeenSet() const
void SetVpcId(const char *value)
CreateTargetGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTargetGroupRequest & WithProtocol(ProtocolEnum &&value)
bool HealthCheckPortHasBeenSet() const
CreateTargetGroupRequest & WithTargetType(TargetTypeEnum &&value)
void SetProtocolVersion(const Aws::String &value)
CreateTargetGroupRequest & WithMatcher(const Matcher &value)
void SetHealthyThresholdCount(int value)
void SetIpAddressType(const TargetGroupIpAddressTypeEnum &value)
bool HealthCheckIntervalSecondsHasBeenSet() const
bool HealthCheckTimeoutSecondsHasBeenSet() const
CreateTargetGroupRequest & WithMatcher(Matcher &&value)
bool HealthCheckProtocolHasBeenSet() const
CreateTargetGroupRequest & WithName(const Aws::String &value)
CreateTargetGroupRequest & WithHealthCheckProtocol(ProtocolEnum &&value)
const Matcher & GetMatcher() const
void SetIpAddressType(TargetGroupIpAddressTypeEnum &&value)
int GetUnhealthyThresholdCount() const
int GetHealthCheckTimeoutSeconds() const
bool IpAddressTypeHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
bool NameHasBeenSet() const
CreateTargetGroupRequest & WithTargetType(const TargetTypeEnum &value)
void SetHealthCheckPath(Aws::String &&value)
bool VpcIdHasBeenSet() const
void SetHealthCheckPath(const char *value)
CreateTargetGroupRequest & WithVpcId(const char *value)
const Aws::String & GetName() const
int GetHealthyThresholdCount() const
void SetMatcher(Matcher &&value)
void SetHealthCheckIntervalSeconds(int value)
void SetHealthCheckProtocol(const ProtocolEnum &value)
const ProtocolEnum & GetProtocol() const
void SetUnhealthyThresholdCount(int value)
void SetName(const Aws::String &value)
void SetVpcId(Aws::String &&value)
CreateTargetGroupRequest & WithHealthCheckPort(Aws::String &&value)
bool HealthCheckPathHasBeenSet() const
CreateTargetGroupRequest & WithHealthCheckPort(const char *value)
AWS_ELASTICLOADBALANCINGV2_API CreateTargetGroupRequest()
void SetProtocolVersion(Aws::String &&value)
const TargetTypeEnum & GetTargetType() const
void SetTargetType(TargetTypeEnum &&value)
CreateTargetGroupRequest & WithHealthyThresholdCount(int value)
void SetHealthCheckProtocol(ProtocolEnum &&value)
const ProtocolEnum & GetHealthCheckProtocol() const
bool HealthyThresholdCountHasBeenSet() const
CreateTargetGroupRequest & WithProtocol(const ProtocolEnum &value)
CreateTargetGroupRequest & WithProtocolVersion(Aws::String &&value)
TargetGroupIpAddressTypeEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector