7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancing/model/Policies.h>
12#include <aws/elasticloadbalancing/model/HealthCheck.h>
13#include <aws/elasticloadbalancing/model/SourceSecurityGroup.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/elasticloadbalancing/model/ListenerDescription.h>
16#include <aws/elasticloadbalancing/model/BackendServerDescription.h>
17#include <aws/elasticloadbalancing/model/Instance.h>
29namespace ElasticLoadBalancing
46 AWS_ELASTICLOADBALANCING_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
56 template<
typename LoadBalancerNameT = Aws::String>
57 void SetLoadBalancerName(LoadBalancerNameT&& value) { m_loadBalancerNameHasBeenSet =
true; m_loadBalancerName = std::forward<LoadBalancerNameT>(value); }
58 template<
typename LoadBalancerNameT = Aws::String>
68 template<
typename DNSNameT = Aws::String>
69 void SetDNSName(DNSNameT&& value) { m_dNSNameHasBeenSet =
true; m_dNSName = std::forward<DNSNameT>(value); }
70 template<
typename DNSNameT = Aws::String>
82 template<
typename CanonicalHostedZoneNameT = Aws::String>
83 void SetCanonicalHostedZoneName(CanonicalHostedZoneNameT&& value) { m_canonicalHostedZoneNameHasBeenSet =
true; m_canonicalHostedZoneName = std::forward<CanonicalHostedZoneNameT>(value); }
84 template<
typename CanonicalHostedZoneNameT = Aws::String>
94 template<
typename CanonicalHostedZoneNameIDT = Aws::String>
95 void SetCanonicalHostedZoneNameID(CanonicalHostedZoneNameIDT&& value) { m_canonicalHostedZoneNameIDHasBeenSet =
true; m_canonicalHostedZoneNameID = std::forward<CanonicalHostedZoneNameIDT>(value); }
96 template<
typename CanonicalHostedZoneNameIDT = Aws::String>
106 template<
typename ListenerDescriptionsT = Aws::Vector<ListenerDescription>>
107 void SetListenerDescriptions(ListenerDescriptionsT&& value) { m_listenerDescriptionsHasBeenSet =
true; m_listenerDescriptions = std::forward<ListenerDescriptionsT>(value); }
108 template<
typename ListenerDescriptionsT = Aws::Vector<ListenerDescription>>
110 template<
typename ListenerDescriptionsT = ListenerDescription>
120 template<
typename PoliciesT = Policies>
121 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
122 template<
typename PoliciesT = Policies>
132 template<
typename BackendServerDescriptionsT = Aws::Vector<BackendServerDescription>>
133 void SetBackendServerDescriptions(BackendServerDescriptionsT&& value) { m_backendServerDescriptionsHasBeenSet =
true; m_backendServerDescriptions = std::forward<BackendServerDescriptionsT>(value); }
134 template<
typename BackendServerDescriptionsT = Aws::Vector<BackendServerDescription>>
136 template<
typename BackendServerDescriptionsT = BackendServerDescription>
146 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
147 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
148 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
150 template<
typename AvailabilityZonesT = Aws::String>
160 template<
typename SubnetsT = Aws::Vector<Aws::String>>
161 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
162 template<
typename SubnetsT = Aws::Vector<Aws::String>>
164 template<
typename SubnetsT = Aws::String>
174 template<
typename VPCIdT = Aws::String>
175 void SetVPCId(VPCIdT&& value) { m_vPCIdHasBeenSet =
true; m_vPCId = std::forward<VPCIdT>(value); }
176 template<
typename VPCIdT = Aws::String>
186 template<
typename InstancesT = Aws::Vector<Instance>>
187 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
188 template<
typename InstancesT = Aws::Vector<Instance>>
190 template<
typename InstancesT = Instance>
200 template<
typename HealthCheckT = HealthCheck>
201 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet =
true; m_healthCheck = std::forward<HealthCheckT>(value); }
202 template<
typename HealthCheckT = HealthCheck>
215 template<
typename SourceSecurityGroupT = SourceSecurityGroup>
216 void SetSourceSecurityGroup(SourceSecurityGroupT&& value) { m_sourceSecurityGroupHasBeenSet =
true; m_sourceSecurityGroup = std::forward<SourceSecurityGroupT>(value); }
217 template<
typename SourceSecurityGroupT = SourceSecurityGroup>
228 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
229 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
230 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
232 template<
typename SecurityGroupsT = Aws::String>
242 template<
typename CreatedTimeT = Aws::Utils::DateTime>
243 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
244 template<
typename CreatedTimeT = Aws::Utils::DateTime>
258 template<
typename SchemeT = Aws::String>
259 void SetScheme(SchemeT&& value) { m_schemeHasBeenSet =
true; m_scheme = std::forward<SchemeT>(value); }
260 template<
typename SchemeT = Aws::String>
266 bool m_loadBalancerNameHasBeenSet =
false;
269 bool m_dNSNameHasBeenSet =
false;
272 bool m_canonicalHostedZoneNameHasBeenSet =
false;
275 bool m_canonicalHostedZoneNameIDHasBeenSet =
false;
278 bool m_listenerDescriptionsHasBeenSet =
false;
281 bool m_policiesHasBeenSet =
false;
284 bool m_backendServerDescriptionsHasBeenSet =
false;
287 bool m_availabilityZonesHasBeenSet =
false;
290 bool m_subnetsHasBeenSet =
false;
293 bool m_vPCIdHasBeenSet =
false;
296 bool m_instancesHasBeenSet =
false;
299 bool m_healthCheckHasBeenSet =
false;
302 bool m_sourceSecurityGroupHasBeenSet =
false;
305 bool m_securityGroupsHasBeenSet =
false;
308 bool m_createdTimeHasBeenSet =
false;
311 bool m_schemeHasBeenSet =
false;
void SetCreatedTime(CreatedTimeT &&value)
AWS_ELASTICLOADBALANCING_API LoadBalancerDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZones(AvailabilityZonesT &&value)
const Aws::String & GetCanonicalHostedZoneName() const
void SetSecurityGroups(SecurityGroupsT &&value)
LoadBalancerDescription & WithBackendServerDescriptions(BackendServerDescriptionsT &&value)
LoadBalancerDescription & AddBackendServerDescriptions(BackendServerDescriptionsT &&value)
bool LoadBalancerNameHasBeenSet() const
const Aws::Vector< ListenerDescription > & GetListenerDescriptions() const
void SetBackendServerDescriptions(BackendServerDescriptionsT &&value)
bool InstancesHasBeenSet() const
const Policies & GetPolicies() const
bool ListenerDescriptionsHasBeenSet() const
void SetSourceSecurityGroup(SourceSecurityGroupT &&value)
LoadBalancerDescription & AddListenerDescriptions(ListenerDescriptionsT &&value)
bool CreatedTimeHasBeenSet() const
void SetScheme(SchemeT &&value)
LoadBalancerDescription & WithPolicies(PoliciesT &&value)
const HealthCheck & GetHealthCheck() const
void SetCanonicalHostedZoneName(CanonicalHostedZoneNameT &&value)
LoadBalancerDescription & WithCanonicalHostedZoneNameID(CanonicalHostedZoneNameIDT &&value)
LoadBalancerDescription & AddAvailabilityZones(AvailabilityZonesT &&value)
LoadBalancerDescription & WithAvailabilityZones(AvailabilityZonesT &&value)
bool DNSNameHasBeenSet() const
void SetDNSName(DNSNameT &&value)
LoadBalancerDescription & WithInstances(InstancesT &&value)
bool SourceSecurityGroupHasBeenSet() const
LoadBalancerDescription & AddInstances(InstancesT &&value)
bool AvailabilityZonesHasBeenSet() const
void SetVPCId(VPCIdT &&value)
LoadBalancerDescription & WithLoadBalancerName(LoadBalancerNameT &&value)
bool SecurityGroupsHasBeenSet() const
const Aws::Vector< BackendServerDescription > & GetBackendServerDescriptions() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetSubnets(SubnetsT &&value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPolicies(PoliciesT &&value)
LoadBalancerDescription & WithScheme(SchemeT &&value)
LoadBalancerDescription & WithVPCId(VPCIdT &&value)
const Aws::String & GetLoadBalancerName() const
void SetCanonicalHostedZoneNameID(CanonicalHostedZoneNameIDT &&value)
LoadBalancerDescription & WithListenerDescriptions(ListenerDescriptionsT &&value)
void SetHealthCheck(HealthCheckT &&value)
LoadBalancerDescription & AddSecurityGroups(SecurityGroupsT &&value)
const SourceSecurityGroup & GetSourceSecurityGroup() const
const Aws::Vector< Aws::String > & GetSubnets() const
LoadBalancerDescription & WithCreatedTime(CreatedTimeT &&value)
void SetLoadBalancerName(LoadBalancerNameT &&value)
bool CanonicalHostedZoneNameHasBeenSet() const
bool SubnetsHasBeenSet() const
LoadBalancerDescription & AddSubnets(SubnetsT &&value)
const Aws::Vector< Instance > & GetInstances() const
LoadBalancerDescription & WithCanonicalHostedZoneName(CanonicalHostedZoneNameT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
LoadBalancerDescription & WithDNSName(DNSNameT &&value)
bool BackendServerDescriptionsHasBeenSet() const
void SetInstances(InstancesT &&value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetListenerDescriptions(ListenerDescriptionsT &&value)
bool SchemeHasBeenSet() const
bool CanonicalHostedZoneNameIDHasBeenSet() const
AWS_ELASTICLOADBALANCING_API LoadBalancerDescription()=default
LoadBalancerDescription & WithSourceSecurityGroup(SourceSecurityGroupT &&value)
const Aws::String & GetScheme() const
const Aws::String & GetDNSName() const
bool PoliciesHasBeenSet() const
LoadBalancerDescription & WithSubnets(SubnetsT &&value)
bool VPCIdHasBeenSet() const
const Aws::String & GetCanonicalHostedZoneNameID() const
LoadBalancerDescription & WithHealthCheck(HealthCheckT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
AWS_ELASTICLOADBALANCING_API LoadBalancerDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
LoadBalancerDescription & WithSecurityGroups(SecurityGroupsT &&value)
bool HealthCheckHasBeenSet() const
const Aws::String & GetVPCId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream