7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/LoadBalancerState.h>
14#include <aws/lightsail/model/LoadBalancerProtocol.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/lightsail/model/IpAddressType.h>
17#include <aws/lightsail/model/Tag.h>
18#include <aws/lightsail/model/InstanceHealthSummary.h>
19#include <aws/lightsail/model/LoadBalancerTlsCertificateSummary.h>
20#include <aws/lightsail/model/LoadBalancerAttributeName.h>
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
74 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
90 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
159 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
215 inline void SetHealthCheckPath(
const char* value) { m_healthCheckPathHasBeenSet =
true; m_healthCheckPath.assign(value); }
228 inline void SetInstancePort(
int value) { m_instancePortHasBeenSet =
true; m_instancePort = value; }
315 inline void SetTlsPolicyName(
const char* value) { m_tlsPolicyNameHasBeenSet =
true; m_tlsPolicyName.assign(value); }
323 bool m_nameHasBeenSet =
false;
326 bool m_arnHasBeenSet =
false;
329 bool m_supportCodeHasBeenSet =
false;
332 bool m_createdAtHasBeenSet =
false;
335 bool m_locationHasBeenSet =
false;
338 bool m_resourceTypeHasBeenSet =
false;
341 bool m_tagsHasBeenSet =
false;
344 bool m_dnsNameHasBeenSet =
false;
347 bool m_stateHasBeenSet =
false;
350 bool m_protocolHasBeenSet =
false;
353 bool m_publicPortsHasBeenSet =
false;
356 bool m_healthCheckPathHasBeenSet =
false;
359 bool m_instancePortHasBeenSet =
false;
362 bool m_instanceHealthSummaryHasBeenSet =
false;
365 bool m_tlsCertificateSummariesHasBeenSet =
false;
368 bool m_configurationOptionsHasBeenSet =
false;
371 bool m_ipAddressTypeHasBeenSet =
false;
373 bool m_httpsRedirectionEnabled;
374 bool m_httpsRedirectionEnabledHasBeenSet =
false;
377 bool m_tlsPolicyNameHasBeenSet =
false;
const Aws::String & GetName() const
LoadBalancer & WithTlsCertificateSummaries(const Aws::Vector< LoadBalancerTlsCertificateSummary > &value)
bool HealthCheckPathHasBeenSet() const
void SetHealthCheckPath(const Aws::String &value)
void SetHealthCheckPath(Aws::String &&value)
LoadBalancer & WithConfigurationOptions(Aws::Map< LoadBalancerAttributeName, Aws::String > &&value)
bool ResourceTypeHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
LoadBalancer & AddTags(const Tag &value)
bool NameHasBeenSet() const
void SetArn(Aws::String &&value)
LoadBalancer & WithTlsPolicyName(const Aws::String &value)
LoadBalancer & WithPublicPorts(const Aws::Vector< int > &value)
const Aws::String & GetTlsPolicyName() const
LoadBalancer & WithTlsPolicyName(const char *value)
const Aws::String & GetDnsName() const
AWS_LIGHTSAIL_API LoadBalancer(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
bool TlsPolicyNameHasBeenSet() const
void SetTlsCertificateSummaries(const Aws::Vector< LoadBalancerTlsCertificateSummary > &value)
bool PublicPortsHasBeenSet() const
LoadBalancer & WithResourceType(ResourceType &&value)
bool ArnHasBeenSet() const
LoadBalancer & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDnsName(const Aws::String &value)
void SetSupportCode(Aws::String &&value)
void SetHealthCheckPath(const char *value)
bool GetHttpsRedirectionEnabled() const
LoadBalancer & WithIpAddressType(const IpAddressType &value)
LoadBalancer & WithHealthCheckPath(Aws::String &&value)
LoadBalancer & WithCreatedAt(const Aws::Utils::DateTime &value)
LoadBalancer & WithLocation(ResourceLocation &&value)
void SetDnsName(const char *value)
void SetPublicPorts(Aws::Vector< int > &&value)
LoadBalancer & WithConfigurationOptions(const Aws::Map< LoadBalancerAttributeName, Aws::String > &value)
LoadBalancer & WithName(Aws::String &&value)
AWS_LIGHTSAIL_API LoadBalancer & operator=(Aws::Utils::Json::JsonView jsonValue)
const LoadBalancerState & GetState() const
LoadBalancer & WithHttpsRedirectionEnabled(bool value)
void SetTlsPolicyName(const char *value)
bool IpAddressTypeHasBeenSet() const
void SetState(const LoadBalancerState &value)
void SetSupportCode(const Aws::String &value)
bool TlsCertificateSummariesHasBeenSet() const
LoadBalancer & WithTlsPolicyName(Aws::String &&value)
LoadBalancer & AddInstanceHealthSummary(InstanceHealthSummary &&value)
LoadBalancer & WithLocation(const ResourceLocation &value)
const Aws::Utils::DateTime & GetCreatedAt() const
LoadBalancer & WithResourceType(const ResourceType &value)
LoadBalancer & WithArn(const Aws::String &value)
void SetLocation(ResourceLocation &&value)
LoadBalancer & WithHealthCheckPath(const Aws::String &value)
LoadBalancer & WithName(const char *value)
const Aws::String & GetArn() const
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, const Aws::String &value)
LoadBalancer & WithDnsName(const Aws::String &value)
AWS_LIGHTSAIL_API LoadBalancer()
void SetProtocol(const LoadBalancerProtocol &value)
void SetInstanceHealthSummary(const Aws::Vector< InstanceHealthSummary > &value)
bool StateHasBeenSet() const
const ResourceType & GetResourceType() const
LoadBalancer & WithName(const Aws::String &value)
bool SupportCodeHasBeenSet() const
void SetSupportCode(const char *value)
LoadBalancer & AddInstanceHealthSummary(const InstanceHealthSummary &value)
LoadBalancer & AddTlsCertificateSummaries(LoadBalancerTlsCertificateSummary &&value)
LoadBalancer & WithState(LoadBalancerState &&value)
bool DnsNameHasBeenSet() const
LoadBalancer & WithArn(Aws::String &&value)
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, const char *value)
void SetHttpsRedirectionEnabled(bool value)
LoadBalancer & WithPublicPorts(Aws::Vector< int > &&value)
void SetTlsPolicyName(const Aws::String &value)
bool ProtocolHasBeenSet() const
LoadBalancer & WithTags(const Aws::Vector< Tag > &value)
void SetProtocol(LoadBalancerProtocol &&value)
const Aws::Vector< InstanceHealthSummary > & GetInstanceHealthSummary() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Map< LoadBalancerAttributeName, Aws::String > & GetConfigurationOptions() const
bool HttpsRedirectionEnabledHasBeenSet() const
void SetIpAddressType(IpAddressType &&value)
bool InstancePortHasBeenSet() const
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, const char *value)
LoadBalancer & WithIpAddressType(IpAddressType &&value)
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, Aws::String &&value)
const ResourceLocation & GetLocation() const
bool LocationHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTlsPolicyName(Aws::String &&value)
LoadBalancer & AddTlsCertificateSummaries(const LoadBalancerTlsCertificateSummary &value)
void SetState(LoadBalancerState &&value)
LoadBalancer & WithInstanceHealthSummary(const Aws::Vector< InstanceHealthSummary > &value)
void SetConfigurationOptions(Aws::Map< LoadBalancerAttributeName, Aws::String > &&value)
LoadBalancer & WithDnsName(const char *value)
bool ConfigurationOptionsHasBeenSet() const
LoadBalancer & WithProtocol(LoadBalancerProtocol &&value)
LoadBalancer & WithTlsCertificateSummaries(Aws::Vector< LoadBalancerTlsCertificateSummary > &&value)
void SetResourceType(ResourceType &&value)
const Aws::Vector< int > & GetPublicPorts() const
void SetTlsCertificateSummaries(Aws::Vector< LoadBalancerTlsCertificateSummary > &&value)
void SetName(const char *value)
LoadBalancer & AddPublicPorts(int value)
void SetArn(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetSupportCode() const
LoadBalancer & WithHealthCheckPath(const char *value)
LoadBalancer & WithTags(Aws::Vector< Tag > &&value)
void SetInstancePort(int value)
void SetTags(Aws::Vector< Tag > &&value)
const LoadBalancerProtocol & GetProtocol() const
void SetDnsName(Aws::String &&value)
LoadBalancer & AddTags(Tag &&value)
LoadBalancer & WithSupportCode(const Aws::String &value)
void SetArn(const Aws::String &value)
LoadBalancer & WithDnsName(Aws::String &&value)
const Aws::String & GetHealthCheckPath() const
LoadBalancer & WithInstanceHealthSummary(Aws::Vector< InstanceHealthSummary > &&value)
const Aws::Vector< LoadBalancerTlsCertificateSummary > & GetTlsCertificateSummaries() const
const Aws::Vector< Tag > & GetTags() const
LoadBalancer & WithArn(const char *value)
LoadBalancer & WithState(const LoadBalancerState &value)
void SetResourceType(const ResourceType &value)
LoadBalancer & WithProtocol(const LoadBalancerProtocol &value)
void SetLocation(const ResourceLocation &value)
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, Aws::String &&value)
void SetPublicPorts(const Aws::Vector< int > &value)
bool CreatedAtHasBeenSet() const
void SetConfigurationOptions(const Aws::Map< LoadBalancerAttributeName, Aws::String > &value)
LoadBalancer & WithSupportCode(Aws::String &&value)
bool InstanceHealthSummaryHasBeenSet() const
void SetName(Aws::String &&value)
LoadBalancer & WithInstancePort(int value)
void SetInstanceHealthSummary(Aws::Vector< InstanceHealthSummary > &&value)
int GetInstancePort() const
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, const Aws::String &value)
LoadBalancer & WithSupportCode(const char *value)
void SetIpAddressType(const IpAddressType &value)
const IpAddressType & GetIpAddressType() const
LoadBalancerAttributeName
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue