7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/AnalysisComponent.h>
51 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
65 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
87 inline int GetPort()
const{
return m_port; }
89 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
95 bool m_addressHasBeenSet =
false;
98 bool m_availabilityZoneHasBeenSet =
false;
101 bool m_instanceHasBeenSet =
false;
104 bool m_portHasBeenSet =
false;
AnalysisLoadBalancerTarget & WithAvailabilityZone(const Aws::String &value)
AnalysisLoadBalancerTarget & WithAvailabilityZone(const char *value)
bool PortHasBeenSet() const
void SetAddress(const Aws::String &value)
AWS_EC2_API AnalysisLoadBalancerTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisLoadBalancerTarget & WithInstance(AnalysisComponent &&value)
void SetAddress(Aws::String &&value)
AWS_EC2_API AnalysisLoadBalancerTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisLoadBalancerTarget & WithAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
AnalysisLoadBalancerTarget & WithAddress(Aws::String &&value)
AnalysisLoadBalancerTarget & WithPort(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AvailabilityZoneHasBeenSet() const
AWS_EC2_API AnalysisLoadBalancerTarget()
void SetInstance(const AnalysisComponent &value)
void SetAvailabilityZone(const Aws::String &value)
AnalysisLoadBalancerTarget & WithInstance(const AnalysisComponent &value)
const AnalysisComponent & GetInstance() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool AddressHasBeenSet() const
void SetAddress(const char *value)
AnalysisLoadBalancerTarget & WithAddress(const char *value)
void SetAvailabilityZone(const char *value)
bool InstanceHasBeenSet() const
const Aws::String & GetAddress() const
AnalysisLoadBalancerTarget & WithAddress(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
void SetInstance(AnalysisComponent &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream