7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/model/HealthCheckConfig.h>
9#include <aws/vpc-lattice/model/IpAddressType.h>
10#include <aws/vpc-lattice/model/LambdaEventStructureVersion.h>
11#include <aws/vpc-lattice/model/TargetGroupProtocol.h>
12#include <aws/vpc-lattice/model/TargetGroupProtocolVersion.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
56 template<
typename HealthCheckT = HealthCheckConfig>
57 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet =
true; m_healthCheck = std::forward<HealthCheckT>(value); }
58 template<
typename HealthCheckT = HealthCheckConfig>
91 inline int GetPort()
const {
return m_port; }
93 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
127 template<
typename VpcIdentifierT = Aws::String>
128 void SetVpcIdentifier(VpcIdentifierT&& value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier = std::forward<VpcIdentifierT>(value); }
129 template<
typename VpcIdentifierT = Aws::String>
135 bool m_healthCheckHasBeenSet =
false;
138 bool m_ipAddressTypeHasBeenSet =
false;
141 bool m_lambdaEventStructureVersionHasBeenSet =
false;
144 bool m_portHasBeenSet =
false;
147 bool m_protocolHasBeenSet =
false;
150 bool m_protocolVersionHasBeenSet =
false;
153 bool m_vpcIdentifierHasBeenSet =
false;
TargetGroupConfig & WithPort(int value)
TargetGroupConfig & WithProtocolVersion(TargetGroupProtocolVersion value)
TargetGroupConfig & WithVpcIdentifier(VpcIdentifierT &&value)
bool IpAddressTypeHasBeenSet() const
const Aws::String & GetVpcIdentifier() const
bool LambdaEventStructureVersionHasBeenSet() const
AWS_VPCLATTICE_API TargetGroupConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetGroupProtocol GetProtocol() const
bool PortHasBeenSet() const
TargetGroupConfig & WithLambdaEventStructureVersion(LambdaEventStructureVersion value)
void SetProtocol(TargetGroupProtocol value)
AWS_VPCLATTICE_API TargetGroupConfig()=default
IpAddressType GetIpAddressType() const
void SetVpcIdentifier(VpcIdentifierT &&value)
const HealthCheckConfig & GetHealthCheck() const
void SetIpAddressType(IpAddressType value)
TargetGroupProtocolVersion GetProtocolVersion() const
LambdaEventStructureVersion GetLambdaEventStructureVersion() const
bool HealthCheckHasBeenSet() const
bool VpcIdentifierHasBeenSet() const
bool ProtocolVersionHasBeenSet() const
AWS_VPCLATTICE_API TargetGroupConfig(Aws::Utils::Json::JsonView jsonValue)
TargetGroupConfig & WithIpAddressType(IpAddressType value)
TargetGroupConfig & WithProtocol(TargetGroupProtocol value)
TargetGroupConfig & WithHealthCheck(HealthCheckT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLambdaEventStructureVersion(LambdaEventStructureVersion value)
void SetHealthCheck(HealthCheckT &&value)
bool ProtocolHasBeenSet() const
void SetProtocolVersion(TargetGroupProtocolVersion value)
LambdaEventStructureVersion
TargetGroupProtocolVersion
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue