/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Contains details about a Classic Load Balancer.

See Also:

AWS * API Reference

*/ class AwsElbLoadBalancerDetails { public: AWS_SECURITYHUB_API AwsElbLoadBalancerDetails(); AWS_SECURITYHUB_API AwsElbLoadBalancerDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsElbLoadBalancerDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The list of Availability Zones for the load balancer.

*/ inline const Aws::Vector& GetAvailabilityZones() const{ return m_availabilityZones; } /** *

The list of Availability Zones for the load balancer.

*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *

The list of Availability Zones for the load balancer.

*/ inline void SetAvailabilityZones(const Aws::Vector& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; } /** *

The list of Availability Zones for the load balancer.

*/ inline void SetAvailabilityZones(Aws::Vector&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); } /** *

The list of Availability Zones for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithAvailabilityZones(const Aws::Vector& value) { SetAvailabilityZones(value); return *this;} /** *

The list of Availability Zones for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithAvailabilityZones(Aws::Vector&& value) { SetAvailabilityZones(std::move(value)); return *this;} /** *

The list of Availability Zones for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *

The list of Availability Zones for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *

The list of Availability Zones for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *

Information about the configuration of the EC2 instances.

*/ inline const Aws::Vector& GetBackendServerDescriptions() const{ return m_backendServerDescriptions; } /** *

Information about the configuration of the EC2 instances.

*/ inline bool BackendServerDescriptionsHasBeenSet() const { return m_backendServerDescriptionsHasBeenSet; } /** *

Information about the configuration of the EC2 instances.

*/ inline void SetBackendServerDescriptions(const Aws::Vector& value) { m_backendServerDescriptionsHasBeenSet = true; m_backendServerDescriptions = value; } /** *

Information about the configuration of the EC2 instances.

*/ inline void SetBackendServerDescriptions(Aws::Vector&& value) { m_backendServerDescriptionsHasBeenSet = true; m_backendServerDescriptions = std::move(value); } /** *

Information about the configuration of the EC2 instances.

*/ inline AwsElbLoadBalancerDetails& WithBackendServerDescriptions(const Aws::Vector& value) { SetBackendServerDescriptions(value); return *this;} /** *

Information about the configuration of the EC2 instances.

*/ inline AwsElbLoadBalancerDetails& WithBackendServerDescriptions(Aws::Vector&& value) { SetBackendServerDescriptions(std::move(value)); return *this;} /** *

Information about the configuration of the EC2 instances.

*/ inline AwsElbLoadBalancerDetails& AddBackendServerDescriptions(const AwsElbLoadBalancerBackendServerDescription& value) { m_backendServerDescriptionsHasBeenSet = true; m_backendServerDescriptions.push_back(value); return *this; } /** *

Information about the configuration of the EC2 instances.

*/ inline AwsElbLoadBalancerDetails& AddBackendServerDescriptions(AwsElbLoadBalancerBackendServerDescription&& value) { m_backendServerDescriptionsHasBeenSet = true; m_backendServerDescriptions.push_back(std::move(value)); return *this; } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline const Aws::String& GetCanonicalHostedZoneName() const{ return m_canonicalHostedZoneName; } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline bool CanonicalHostedZoneNameHasBeenSet() const { return m_canonicalHostedZoneNameHasBeenSet; } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneName(const Aws::String& value) { m_canonicalHostedZoneNameHasBeenSet = true; m_canonicalHostedZoneName = value; } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneName(Aws::String&& value) { m_canonicalHostedZoneNameHasBeenSet = true; m_canonicalHostedZoneName = std::move(value); } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneName(const char* value) { m_canonicalHostedZoneNameHasBeenSet = true; m_canonicalHostedZoneName.assign(value); } /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneName(const Aws::String& value) { SetCanonicalHostedZoneName(value); return *this;} /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneName(Aws::String&& value) { SetCanonicalHostedZoneName(std::move(value)); return *this;} /** *

The name of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneName(const char* value) { SetCanonicalHostedZoneName(value); return *this;} /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline const Aws::String& GetCanonicalHostedZoneNameID() const{ return m_canonicalHostedZoneNameID; } /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline bool CanonicalHostedZoneNameIDHasBeenSet() const { return m_canonicalHostedZoneNameIDHasBeenSet; } /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneNameID(const Aws::String& value) { m_canonicalHostedZoneNameIDHasBeenSet = true; m_canonicalHostedZoneNameID = value; } /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneNameID(Aws::String&& value) { m_canonicalHostedZoneNameIDHasBeenSet = true; m_canonicalHostedZoneNameID = std::move(value); } /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline void SetCanonicalHostedZoneNameID(const char* value) { m_canonicalHostedZoneNameIDHasBeenSet = true; m_canonicalHostedZoneNameID.assign(value); } /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneNameID(const Aws::String& value) { SetCanonicalHostedZoneNameID(value); return *this;} /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneNameID(Aws::String&& value) { SetCanonicalHostedZoneNameID(std::move(value)); return *this;} /** *

The ID of the Amazon Route 53 hosted zone for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithCanonicalHostedZoneNameID(const char* value) { SetCanonicalHostedZoneNameID(value); return *this;} /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsElbLoadBalancerDetails& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsElbLoadBalancerDetails& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

Indicates when the load balancer was created.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsElbLoadBalancerDetails& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *

The DNS name of the load balancer.

*/ inline const Aws::String& GetDnsName() const{ return m_dnsName; } /** *

The DNS name of the load balancer.

*/ inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; } /** *

The DNS name of the load balancer.

*/ inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; } /** *

The DNS name of the load balancer.

*/ inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); } /** *

The DNS name of the load balancer.

*/ inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); } /** *

The DNS name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} /** *

The DNS name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} /** *

The DNS name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithDnsName(const char* value) { SetDnsName(value); return *this;} /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline const AwsElbLoadBalancerHealthCheck& GetHealthCheck() const{ return m_healthCheck; } /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline bool HealthCheckHasBeenSet() const { return m_healthCheckHasBeenSet; } /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline void SetHealthCheck(const AwsElbLoadBalancerHealthCheck& value) { m_healthCheckHasBeenSet = true; m_healthCheck = value; } /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline void SetHealthCheck(AwsElbLoadBalancerHealthCheck&& value) { m_healthCheckHasBeenSet = true; m_healthCheck = std::move(value); } /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline AwsElbLoadBalancerDetails& WithHealthCheck(const AwsElbLoadBalancerHealthCheck& value) { SetHealthCheck(value); return *this;} /** *

Information about the health checks that are conducted on the load * balancer.

*/ inline AwsElbLoadBalancerDetails& WithHealthCheck(AwsElbLoadBalancerHealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;} /** *

List of EC2 instances for the load balancer.

*/ inline const Aws::Vector& GetInstances() const{ return m_instances; } /** *

List of EC2 instances for the load balancer.

*/ inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; } /** *

List of EC2 instances for the load balancer.

*/ inline void SetInstances(const Aws::Vector& value) { m_instancesHasBeenSet = true; m_instances = value; } /** *

List of EC2 instances for the load balancer.

*/ inline void SetInstances(Aws::Vector&& value) { m_instancesHasBeenSet = true; m_instances = std::move(value); } /** *

List of EC2 instances for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithInstances(const Aws::Vector& value) { SetInstances(value); return *this;} /** *

List of EC2 instances for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithInstances(Aws::Vector&& value) { SetInstances(std::move(value)); return *this;} /** *

List of EC2 instances for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddInstances(const AwsElbLoadBalancerInstance& value) { m_instancesHasBeenSet = true; m_instances.push_back(value); return *this; } /** *

List of EC2 instances for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddInstances(AwsElbLoadBalancerInstance&& value) { m_instancesHasBeenSet = true; m_instances.push_back(std::move(value)); return *this; } /** *

The policies that are enabled for the load balancer listeners.

*/ inline const Aws::Vector& GetListenerDescriptions() const{ return m_listenerDescriptions; } /** *

The policies that are enabled for the load balancer listeners.

*/ inline bool ListenerDescriptionsHasBeenSet() const { return m_listenerDescriptionsHasBeenSet; } /** *

The policies that are enabled for the load balancer listeners.

*/ inline void SetListenerDescriptions(const Aws::Vector& value) { m_listenerDescriptionsHasBeenSet = true; m_listenerDescriptions = value; } /** *

The policies that are enabled for the load balancer listeners.

*/ inline void SetListenerDescriptions(Aws::Vector&& value) { m_listenerDescriptionsHasBeenSet = true; m_listenerDescriptions = std::move(value); } /** *

The policies that are enabled for the load balancer listeners.

*/ inline AwsElbLoadBalancerDetails& WithListenerDescriptions(const Aws::Vector& value) { SetListenerDescriptions(value); return *this;} /** *

The policies that are enabled for the load balancer listeners.

*/ inline AwsElbLoadBalancerDetails& WithListenerDescriptions(Aws::Vector&& value) { SetListenerDescriptions(std::move(value)); return *this;} /** *

The policies that are enabled for the load balancer listeners.

*/ inline AwsElbLoadBalancerDetails& AddListenerDescriptions(const AwsElbLoadBalancerListenerDescription& value) { m_listenerDescriptionsHasBeenSet = true; m_listenerDescriptions.push_back(value); return *this; } /** *

The policies that are enabled for the load balancer listeners.

*/ inline AwsElbLoadBalancerDetails& AddListenerDescriptions(AwsElbLoadBalancerListenerDescription&& value) { m_listenerDescriptionsHasBeenSet = true; m_listenerDescriptions.push_back(std::move(value)); return *this; } /** *

The attributes for a load balancer.

*/ inline const AwsElbLoadBalancerAttributes& GetLoadBalancerAttributes() const{ return m_loadBalancerAttributes; } /** *

The attributes for a load balancer.

*/ inline bool LoadBalancerAttributesHasBeenSet() const { return m_loadBalancerAttributesHasBeenSet; } /** *

The attributes for a load balancer.

*/ inline void SetLoadBalancerAttributes(const AwsElbLoadBalancerAttributes& value) { m_loadBalancerAttributesHasBeenSet = true; m_loadBalancerAttributes = value; } /** *

The attributes for a load balancer.

*/ inline void SetLoadBalancerAttributes(AwsElbLoadBalancerAttributes&& value) { m_loadBalancerAttributesHasBeenSet = true; m_loadBalancerAttributes = std::move(value); } /** *

The attributes for a load balancer.

*/ inline AwsElbLoadBalancerDetails& WithLoadBalancerAttributes(const AwsElbLoadBalancerAttributes& value) { SetLoadBalancerAttributes(value); return *this;} /** *

The attributes for a load balancer.

*/ inline AwsElbLoadBalancerDetails& WithLoadBalancerAttributes(AwsElbLoadBalancerAttributes&& value) { SetLoadBalancerAttributes(std::move(value)); return *this;} /** *

The name of the load balancer.

*/ inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; } /** *

The name of the load balancer.

*/ inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; } /** *

The name of the load balancer.

*/ inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; } /** *

The name of the load balancer.

*/ inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); } /** *

The name of the load balancer.

*/ inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); } /** *

The name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;} /** *

The name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;} /** *

The name of the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;} /** *

The policies for a load balancer.

*/ inline const AwsElbLoadBalancerPolicies& GetPolicies() const{ return m_policies; } /** *

The policies for a load balancer.

*/ inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; } /** *

The policies for a load balancer.

*/ inline void SetPolicies(const AwsElbLoadBalancerPolicies& value) { m_policiesHasBeenSet = true; m_policies = value; } /** *

The policies for a load balancer.

*/ inline void SetPolicies(AwsElbLoadBalancerPolicies&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); } /** *

The policies for a load balancer.

*/ inline AwsElbLoadBalancerDetails& WithPolicies(const AwsElbLoadBalancerPolicies& value) { SetPolicies(value); return *this;} /** *

The policies for a load balancer.

*/ inline AwsElbLoadBalancerDetails& WithPolicies(AwsElbLoadBalancerPolicies&& value) { SetPolicies(std::move(value)); return *this;} /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline const Aws::String& GetScheme() const{ return m_scheme; } /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline bool SchemeHasBeenSet() const { return m_schemeHasBeenSet; } /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline void SetScheme(const Aws::String& value) { m_schemeHasBeenSet = true; m_scheme = value; } /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline void SetScheme(Aws::String&& value) { m_schemeHasBeenSet = true; m_scheme = std::move(value); } /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline void SetScheme(const char* value) { m_schemeHasBeenSet = true; m_scheme.assign(value); } /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline AwsElbLoadBalancerDetails& WithScheme(const Aws::String& value) { SetScheme(value); return *this;} /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline AwsElbLoadBalancerDetails& WithScheme(Aws::String&& value) { SetScheme(std::move(value)); return *this;} /** *

The type of load balancer. Only provided if the load balancer is in a * VPC.

If Scheme is internet-facing, the load * balancer has a public DNS name that resolves to a public IP address.

If * Scheme is internal, the load balancer has a public DNS * name that resolves to a private IP address.

*/ inline AwsElbLoadBalancerDetails& WithScheme(const char* value) { SetScheme(value); return *this;} /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline AwsElbLoadBalancerDetails& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline AwsElbLoadBalancerDetails& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline AwsElbLoadBalancerDetails& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline AwsElbLoadBalancerDetails& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *

The security groups for the load balancer. Only provided if the load balancer * is in a VPC.

*/ inline AwsElbLoadBalancerDetails& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline const AwsElbLoadBalancerSourceSecurityGroup& GetSourceSecurityGroup() const{ return m_sourceSecurityGroup; } /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline bool SourceSecurityGroupHasBeenSet() const { return m_sourceSecurityGroupHasBeenSet; } /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline void SetSourceSecurityGroup(const AwsElbLoadBalancerSourceSecurityGroup& value) { m_sourceSecurityGroupHasBeenSet = true; m_sourceSecurityGroup = value; } /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline void SetSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup&& value) { m_sourceSecurityGroupHasBeenSet = true; m_sourceSecurityGroup = std::move(value); } /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline AwsElbLoadBalancerDetails& WithSourceSecurityGroup(const AwsElbLoadBalancerSourceSecurityGroup& value) { SetSourceSecurityGroup(value); return *this;} /** *

Information about the security group for the load balancer. This is the * security group that is used for inbound rules.

*/ inline AwsElbLoadBalancerDetails& WithSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup&& value) { SetSourceSecurityGroup(std::move(value)); return *this;} /** *

The list of subnet identifiers for the load balancer.

*/ inline const Aws::Vector& GetSubnets() const{ return m_subnets; } /** *

The list of subnet identifiers for the load balancer.

*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *

The list of subnet identifiers for the load balancer.

*/ inline void SetSubnets(const Aws::Vector& value) { m_subnetsHasBeenSet = true; m_subnets = value; } /** *

The list of subnet identifiers for the load balancer.

*/ inline void SetSubnets(Aws::Vector&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); } /** *

The list of subnet identifiers for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithSubnets(const Aws::Vector& value) { SetSubnets(value); return *this;} /** *

The list of subnet identifiers for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithSubnets(Aws::Vector&& value) { SetSubnets(std::move(value)); return *this;} /** *

The list of subnet identifiers for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *

The list of subnet identifiers for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *

The list of subnet identifiers for the load balancer.

*/ inline AwsElbLoadBalancerDetails& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *

The identifier of the VPC for the load balancer.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The identifier of the VPC for the load balancer.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The identifier of the VPC for the load balancer.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The identifier of the VPC for the load balancer.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The identifier of the VPC for the load balancer.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The identifier of the VPC for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The identifier of the VPC for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The identifier of the VPC for the load balancer.

*/ inline AwsElbLoadBalancerDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector m_availabilityZones; bool m_availabilityZonesHasBeenSet = false; Aws::Vector m_backendServerDescriptions; bool m_backendServerDescriptionsHasBeenSet = false; Aws::String m_canonicalHostedZoneName; bool m_canonicalHostedZoneNameHasBeenSet = false; Aws::String m_canonicalHostedZoneNameID; bool m_canonicalHostedZoneNameIDHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_dnsName; bool m_dnsNameHasBeenSet = false; AwsElbLoadBalancerHealthCheck m_healthCheck; bool m_healthCheckHasBeenSet = false; Aws::Vector m_instances; bool m_instancesHasBeenSet = false; Aws::Vector m_listenerDescriptions; bool m_listenerDescriptionsHasBeenSet = false; AwsElbLoadBalancerAttributes m_loadBalancerAttributes; bool m_loadBalancerAttributesHasBeenSet = false; Aws::String m_loadBalancerName; bool m_loadBalancerNameHasBeenSet = false; AwsElbLoadBalancerPolicies m_policies; bool m_policiesHasBeenSet = false; Aws::String m_scheme; bool m_schemeHasBeenSet = false; Aws::Vector m_securityGroups; bool m_securityGroupsHasBeenSet = false; AwsElbLoadBalancerSourceSecurityGroup m_sourceSecurityGroup; bool m_sourceSecurityGroupHasBeenSet = false; Aws::Vector m_subnets; bool m_subnetsHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws