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>
95 inline int GetPort()
const{
return m_port; }
97 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
137 inline void SetVpcIdentifier(
const char* value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier.assign(value); }
145 bool m_healthCheckHasBeenSet =
false;
148 bool m_ipAddressTypeHasBeenSet =
false;
151 bool m_lambdaEventStructureVersionHasBeenSet =
false;
154 bool m_portHasBeenSet =
false;
157 bool m_protocolHasBeenSet =
false;
160 bool m_protocolVersionHasBeenSet =
false;
163 bool m_vpcIdentifierHasBeenSet =
false;
TargetGroupConfig & WithPort(int value)
const LambdaEventStructureVersion & GetLambdaEventStructureVersion() const
TargetGroupConfig & WithVpcIdentifier(const Aws::String &value)
bool IpAddressTypeHasBeenSet() const
TargetGroupConfig & WithProtocol(TargetGroupProtocol &&value)
void SetVpcIdentifier(const Aws::String &value)
void SetProtocol(const TargetGroupProtocol &value)
const Aws::String & GetVpcIdentifier() const
bool LambdaEventStructureVersionHasBeenSet() const
TargetGroupConfig & WithVpcIdentifier(const char *value)
AWS_VPCLATTICE_API TargetGroupConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
void SetLambdaEventStructureVersion(const LambdaEventStructureVersion &value)
void SetIpAddressType(IpAddressType &&value)
void SetProtocolVersion(TargetGroupProtocolVersion &&value)
AWS_VPCLATTICE_API TargetGroupConfig()
void SetProtocolVersion(const TargetGroupProtocolVersion &value)
void SetHealthCheck(HealthCheckConfig &&value)
const IpAddressType & GetIpAddressType() const
TargetGroupConfig & WithProtocol(const TargetGroupProtocol &value)
void SetProtocol(TargetGroupProtocol &&value)
TargetGroupConfig & WithVpcIdentifier(Aws::String &&value)
const HealthCheckConfig & GetHealthCheck() const
bool HealthCheckHasBeenSet() const
bool VpcIdentifierHasBeenSet() const
TargetGroupConfig & WithLambdaEventStructureVersion(LambdaEventStructureVersion &&value)
TargetGroupConfig & WithProtocolVersion(TargetGroupProtocolVersion &&value)
TargetGroupConfig & WithHealthCheck(HealthCheckConfig &&value)
TargetGroupConfig & WithLambdaEventStructureVersion(const LambdaEventStructureVersion &value)
bool ProtocolVersionHasBeenSet() const
AWS_VPCLATTICE_API TargetGroupConfig(Aws::Utils::Json::JsonView jsonValue)
const TargetGroupProtocolVersion & GetProtocolVersion() const
TargetGroupConfig & WithHealthCheck(const HealthCheckConfig &value)
TargetGroupConfig & WithIpAddressType(IpAddressType &&value)
void SetIpAddressType(const IpAddressType &value)
TargetGroupConfig & WithProtocolVersion(const TargetGroupProtocolVersion &value)
void SetVpcIdentifier(Aws::String &&value)
void SetHealthCheck(const HealthCheckConfig &value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
const TargetGroupProtocol & GetProtocol() const
void SetLambdaEventStructureVersion(LambdaEventStructureVersion &&value)
void SetVpcIdentifier(const char *value)
bool ProtocolHasBeenSet() const
TargetGroupConfig & WithIpAddressType(const IpAddressType &value)
LambdaEventStructureVersion
TargetGroupProtocolVersion
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue