7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancingv2
38 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
53 template<
typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
55 template<
typename IdT = Aws::String>
67 inline int GetPort()
const {
return m_port; }
69 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
94 template<
typename AvailabilityZoneT = Aws::String>
95 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
96 template<
typename AvailabilityZoneT = Aws::String>
102 bool m_idHasBeenSet =
false;
105 bool m_portHasBeenSet =
false;
108 bool m_availabilityZoneHasBeenSet =
false;
TargetDescription & WithPort(int value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API TargetDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetDescription & WithId(IdT &&value)
TargetDescription & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_ELASTICLOADBALANCINGV2_API TargetDescription()=default
bool IdHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool PortHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream