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>
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
68 template<
typename CreatedAtT = Aws::Utils::DateTime>
69 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
70 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 template<
typename IdT = Aws::String>
81 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
82 template<
typename IdT = Aws::String>
116 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
117 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
118 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
128 template<
typename NameT = Aws::String>
129 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
130 template<
typename NameT = Aws::String>
140 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
160 template<
typename ServiceArnsT = Aws::Vector<Aws::String>>
161 void SetServiceArns(ServiceArnsT&& value) { m_serviceArnsHasBeenSet =
true; m_serviceArns = std::forward<ServiceArnsT>(value); }
162 template<
typename ServiceArnsT = Aws::Vector<Aws::String>>
164 template<
typename ServiceArnsT = Aws::String>
194 template<
typename VpcIdentifierT = Aws::String>
195 void SetVpcIdentifier(VpcIdentifierT&& value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier = std::forward<VpcIdentifierT>(value); }
196 template<
typename VpcIdentifierT = Aws::String>
202 bool m_arnHasBeenSet =
false;
205 bool m_createdAtHasBeenSet =
false;
208 bool m_idHasBeenSet =
false;
211 bool m_ipAddressTypeHasBeenSet =
false;
214 bool m_lambdaEventStructureVersionHasBeenSet =
false;
217 bool m_lastUpdatedAtHasBeenSet =
false;
220 bool m_nameHasBeenSet =
false;
223 bool m_portHasBeenSet =
false;
226 bool m_protocolHasBeenSet =
false;
229 bool m_serviceArnsHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
235 bool m_typeHasBeenSet =
false;
238 bool m_vpcIdentifierHasBeenSet =
false;
bool ArnHasBeenSet() const
TargetGroupSummary & WithLambdaEventStructureVersion(LambdaEventStructureVersion value)
const Aws::String & GetArn() const
void SetIpAddressType(IpAddressType value)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool TypeHasBeenSet() const
const Aws::String & GetName() const
TargetGroupSummary & WithType(TargetGroupType value)
TargetGroupSummary & AddServiceArns(ServiceArnsT &&value)
void SetLambdaEventStructureVersion(LambdaEventStructureVersion value)
void SetName(NameT &&value)
TargetGroupSummary & WithName(NameT &&value)
TargetGroupSummary & WithId(IdT &&value)
TargetGroupSummary & WithProtocol(TargetGroupProtocol value)
bool NameHasBeenSet() const
TargetGroupSummary & WithCreatedAt(CreatedAtT &&value)
TargetGroupSummary & WithPort(int value)
void SetType(TargetGroupType value)
AWS_VPCLATTICE_API TargetGroupSummary()=default
const Aws::String & GetId() const
bool LambdaEventStructureVersionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
IpAddressType GetIpAddressType() const
TargetGroupSummary & WithServiceArns(ServiceArnsT &&value)
TargetGroupType GetType() const
bool IpAddressTypeHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
TargetGroupProtocol GetProtocol() const
AWS_VPCLATTICE_API TargetGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaEventStructureVersion GetLambdaEventStructureVersion() const
TargetGroupStatus GetStatus() const
void SetArn(ArnT &&value)
TargetGroupSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetStatus(TargetGroupStatus value)
void SetCreatedAt(CreatedAtT &&value)
AWS_VPCLATTICE_API TargetGroupSummary(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetVpcIdentifier(VpcIdentifierT &&value)
const Aws::Vector< Aws::String > & GetServiceArns() const
void SetServiceArns(ServiceArnsT &&value)
const Aws::String & GetVpcIdentifier() const
TargetGroupSummary & WithArn(ArnT &&value)
bool VpcIdentifierHasBeenSet() const
bool ProtocolHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetProtocol(TargetGroupProtocol value)
TargetGroupSummary & WithStatus(TargetGroupStatus value)
TargetGroupSummary & WithVpcIdentifier(VpcIdentifierT &&value)
bool ServiceArnsHasBeenSet() const
bool PortHasBeenSet() const
TargetGroupSummary & WithIpAddressType(IpAddressType 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