7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/LoadBalancerState.h>
11#include <aws/securityhub/model/AvailabilityZone.h>
12#include <aws/securityhub/model/AwsElbv2LoadBalancerAttribute.h>
50 template<
typename AvailabilityZonesT = Aws::Vector<AvailabilityZone>>
51 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
52 template<
typename AvailabilityZonesT = Aws::Vector<AvailabilityZone>>
54 template<
typename AvailabilityZonesT = AvailabilityZone>
65 template<
typename CanonicalHostedZoneIdT = Aws::String>
66 void SetCanonicalHostedZoneId(CanonicalHostedZoneIdT&& value) { m_canonicalHostedZoneIdHasBeenSet =
true; m_canonicalHostedZoneId = std::forward<CanonicalHostedZoneIdT>(value); }
67 template<
typename CanonicalHostedZoneIdT = Aws::String>
79 template<
typename CreatedTimeT = Aws::String>
80 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
81 template<
typename CreatedTimeT = Aws::String>
91 template<
typename DNSNameT = Aws::String>
92 void SetDNSName(DNSNameT&& value) { m_dNSNameHasBeenSet =
true; m_dNSName = std::forward<DNSNameT>(value); }
93 template<
typename DNSNameT = Aws::String>
105 template<
typename IpAddressTypeT = Aws::String>
106 void SetIpAddressType(IpAddressTypeT&& value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType = std::forward<IpAddressTypeT>(value); }
107 template<
typename IpAddressTypeT = Aws::String>
117 template<
typename SchemeT = Aws::String>
118 void SetScheme(SchemeT&& value) { m_schemeHasBeenSet =
true; m_scheme = std::forward<SchemeT>(value); }
119 template<
typename SchemeT = Aws::String>
129 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
130 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
131 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
133 template<
typename SecurityGroupsT = Aws::String>
143 template<
typename StateT = LoadBalancerState>
144 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
145 template<
typename StateT = LoadBalancerState>
155 template<
typename TypeT = Aws::String>
156 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
157 template<
typename TypeT = Aws::String>
167 template<
typename VpcIdT = Aws::String>
168 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
169 template<
typename VpcIdT = Aws::String>
179 template<
typename LoadBalancerAttributesT = Aws::Vector<AwsElbv2LoadBalancerAttribute>>
180 void SetLoadBalancerAttributes(LoadBalancerAttributesT&& value) { m_loadBalancerAttributesHasBeenSet =
true; m_loadBalancerAttributes = std::forward<LoadBalancerAttributesT>(value); }
181 template<
typename LoadBalancerAttributesT = Aws::Vector<AwsElbv2LoadBalancerAttribute>>
183 template<
typename LoadBalancerAttributesT = AwsElbv2LoadBalancerAttribute>
189 bool m_availabilityZonesHasBeenSet =
false;
192 bool m_canonicalHostedZoneIdHasBeenSet =
false;
195 bool m_createdTimeHasBeenSet =
false;
198 bool m_dNSNameHasBeenSet =
false;
201 bool m_ipAddressTypeHasBeenSet =
false;
204 bool m_schemeHasBeenSet =
false;
207 bool m_securityGroupsHasBeenSet =
false;
210 bool m_stateHasBeenSet =
false;
213 bool m_typeHasBeenSet =
false;
216 bool m_vpcIdHasBeenSet =
false;
219 bool m_loadBalancerAttributesHasBeenSet =
false;
AwsElbv2LoadBalancerDetails & WithState(StateT &&value)
AwsElbv2LoadBalancerDetails & AddLoadBalancerAttributes(LoadBalancerAttributesT &&value)
const Aws::Vector< AvailabilityZone > & GetAvailabilityZones() const
AwsElbv2LoadBalancerDetails & WithSecurityGroups(SecurityGroupsT &&value)
bool CanonicalHostedZoneIdHasBeenSet() const
const Aws::String & GetVpcId() const
const Aws::String & GetType() const
bool CreatedTimeHasBeenSet() const
const LoadBalancerState & GetState() const
void SetIpAddressType(IpAddressTypeT &&value)
bool VpcIdHasBeenSet() const
const Aws::String & GetCanonicalHostedZoneId() const
const Aws::String & GetScheme() const
AwsElbv2LoadBalancerDetails & WithCreatedTime(CreatedTimeT &&value)
bool StateHasBeenSet() const
AwsElbv2LoadBalancerDetails & WithAvailabilityZones(AvailabilityZonesT &&value)
AwsElbv2LoadBalancerDetails & WithIpAddressType(IpAddressTypeT &&value)
void SetType(TypeT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
const Aws::String & GetCreatedTime() const
bool DNSNameHasBeenSet() const
const Aws::String & GetDNSName() const
bool AvailabilityZonesHasBeenSet() const
void SetState(StateT &&value)
void SetVpcId(VpcIdT &&value)
AWS_SECURITYHUB_API AwsElbv2LoadBalancerDetails(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetScheme(SchemeT &&value)
const Aws::String & GetIpAddressType() const
bool IpAddressTypeHasBeenSet() const
AWS_SECURITYHUB_API AwsElbv2LoadBalancerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElbv2LoadBalancerDetails & WithType(TypeT &&value)
AwsElbv2LoadBalancerDetails & AddSecurityGroups(SecurityGroupsT &&value)
AwsElbv2LoadBalancerDetails & WithLoadBalancerAttributes(LoadBalancerAttributesT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AwsElbv2LoadBalancerDetails & WithVpcId(VpcIdT &&value)
AwsElbv2LoadBalancerDetails & WithScheme(SchemeT &&value)
bool SchemeHasBeenSet() const
void SetDNSName(DNSNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLoadBalancerAttributes(LoadBalancerAttributesT &&value)
bool SecurityGroupsHasBeenSet() const
AwsElbv2LoadBalancerDetails & WithCanonicalHostedZoneId(CanonicalHostedZoneIdT &&value)
bool LoadBalancerAttributesHasBeenSet() const
AWS_SECURITYHUB_API AwsElbv2LoadBalancerDetails()=default
AwsElbv2LoadBalancerDetails & WithDNSName(DNSNameT &&value)
const Aws::Vector< AwsElbv2LoadBalancerAttribute > & GetLoadBalancerAttributes() const
void SetSecurityGroups(SecurityGroupsT &&value)
void SetCanonicalHostedZoneId(CanonicalHostedZoneIdT &&value)
AwsElbv2LoadBalancerDetails & AddAvailabilityZones(AvailabilityZonesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue