7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/vpc-lattice/model/IpAddressType.h>
11#include <aws/vpc-lattice/model/LambdaEventStructureVersion.h>
12#include <aws/vpc-lattice/model/TargetGroupProtocol.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/vpc-lattice/model/TargetGroupStatus.h>
15#include <aws/vpc-lattice/model/TargetGroupType.h>
57 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
58 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
84 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
85 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
139 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
151 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
214 inline void SetVpcIdentifier(
const char* value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier.assign(value); }
222 bool m_arnHasBeenSet =
false;
225 bool m_createdAtHasBeenSet =
false;
228 bool m_idHasBeenSet =
false;
231 bool m_ipAddressTypeHasBeenSet =
false;
234 bool m_lambdaEventStructureVersionHasBeenSet =
false;
237 bool m_lastUpdatedAtHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
243 bool m_portHasBeenSet =
false;
246 bool m_protocolHasBeenSet =
false;
249 bool m_serviceArnsHasBeenSet =
false;
252 bool m_statusHasBeenSet =
false;
255 bool m_typeHasBeenSet =
false;
258 bool m_vpcIdentifierHasBeenSet =
false;
bool ArnHasBeenSet() const
void SetId(const char *value)
const TargetGroupProtocol & GetProtocol() const
const Aws::String & GetArn() const
const IpAddressType & GetIpAddressType() const
bool IdHasBeenSet() const
void SetName(Aws::String &&value)
void SetProtocol(TargetGroupProtocol &&value)
TargetGroupSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
const TargetGroupType & GetType() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetType(TargetGroupType &&value)
TargetGroupSummary & WithType(TargetGroupType &&value)
void SetIpAddressType(IpAddressType &&value)
void SetName(const char *value)
void SetType(const TargetGroupType &value)
bool TypeHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLambdaEventStructureVersion(const LambdaEventStructureVersion &value)
TargetGroupSummary & WithArn(const Aws::String &value)
void SetVpcIdentifier(const Aws::String &value)
TargetGroupSummary & WithLambdaEventStructureVersion(const LambdaEventStructureVersion &value)
TargetGroupSummary & WithArn(const char *value)
const Aws::String & GetName() const
void SetLambdaEventStructureVersion(LambdaEventStructureVersion &&value)
TargetGroupSummary & WithName(const char *value)
void SetArn(const char *value)
TargetGroupSummary & WithName(const Aws::String &value)
TargetGroupSummary & WithIpAddressType(IpAddressType &&value)
bool NameHasBeenSet() const
TargetGroupSummary & WithPort(int value)
AWS_VPCLATTICE_API TargetGroupSummary()
const Aws::String & GetId() const
void SetArn(Aws::String &&value)
void SetStatus(const TargetGroupStatus &value)
bool LambdaEventStructureVersionHasBeenSet() const
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetId(Aws::String &&value)
TargetGroupSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
TargetGroupSummary & WithId(Aws::String &&value)
void SetName(const Aws::String &value)
TargetGroupSummary & WithProtocol(const TargetGroupProtocol &value)
TargetGroupSummary & WithProtocol(TargetGroupProtocol &&value)
bool IpAddressTypeHasBeenSet() const
TargetGroupSummary & WithId(const Aws::String &value)
TargetGroupSummary & WithVpcIdentifier(Aws::String &&value)
TargetGroupSummary & WithId(const char *value)
bool LastUpdatedAtHasBeenSet() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const LambdaEventStructureVersion & GetLambdaEventStructureVersion() const
const TargetGroupStatus & GetStatus() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_VPCLATTICE_API TargetGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddressType(const IpAddressType &value)
TargetGroupSummary & WithStatus(TargetGroupStatus &&value)
TargetGroupSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
TargetGroupSummary & WithName(Aws::String &&value)
void SetVpcIdentifier(const char *value)
TargetGroupSummary & WithIpAddressType(const IpAddressType &value)
void SetVpcIdentifier(Aws::String &&value)
AWS_VPCLATTICE_API TargetGroupSummary(Aws::Utils::Json::JsonView jsonValue)
TargetGroupSummary & WithStatus(const TargetGroupStatus &value)
TargetGroupSummary & WithVpcIdentifier(const Aws::String &value)
bool StatusHasBeenSet() const
TargetGroupSummary & AddServiceArns(const char *value)
void SetStatus(TargetGroupStatus &&value)
const Aws::Vector< Aws::String > & GetServiceArns() const
void SetProtocol(const TargetGroupProtocol &value)
void SetId(const Aws::String &value)
TargetGroupSummary & WithType(const TargetGroupType &value)
TargetGroupSummary & WithArn(Aws::String &&value)
const Aws::String & GetVpcIdentifier() const
TargetGroupSummary & WithVpcIdentifier(const char *value)
TargetGroupSummary & WithServiceArns(Aws::Vector< Aws::String > &&value)
void SetServiceArns(const Aws::Vector< Aws::String > &value)
TargetGroupSummary & AddServiceArns(Aws::String &&value)
TargetGroupSummary & WithServiceArns(const Aws::Vector< Aws::String > &value)
bool VpcIdentifierHasBeenSet() const
TargetGroupSummary & AddServiceArns(const Aws::String &value)
bool ProtocolHasBeenSet() const
bool CreatedAtHasBeenSet() const
TargetGroupSummary & WithLambdaEventStructureVersion(LambdaEventStructureVersion &&value)
void SetServiceArns(Aws::Vector< Aws::String > &&value)
bool ServiceArnsHasBeenSet() const
bool PortHasBeenSet() const
TargetGroupSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaEventStructureVersion
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue