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;
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
69 inline int GetPort()
const{
return m_port; }
71 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
98 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
106 bool m_idHasBeenSet =
false;
109 bool m_portHasBeenSet =
false;
112 bool m_availabilityZoneHasBeenSet =
false;
TargetDescription & WithAvailabilityZone(const char *value)
TargetDescription & WithPort(int value)
void SetId(const Aws::String &value)
void SetAvailabilityZone(const char *value)
TargetDescription & WithAvailabilityZone(Aws::String &&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
TargetDescription & WithAvailabilityZone(const Aws::String &value)
TargetDescription & WithId(const char *value)
AWS_ELASTICLOADBALANCINGV2_API TargetDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetDescription()
void SetAvailabilityZone(const Aws::String &value)
TargetDescription & WithId(const Aws::String &value)
void SetAvailabilityZone(Aws::String &&value)
bool IdHasBeenSet() const
bool PortHasBeenSet() const
TargetDescription & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
void SetId(const char *value)
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