7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AvailabilityZone.h>
11#include <aws/securityhub/model/AwsElbv2LoadBalancerAttribute.h>
12#include <aws/securityhub/model/LoadBalancerState.h>
44 template <
typename AvailabilityZonesT = Aws::Vector<AvailabilityZone>>
46 m_availabilityZonesHasBeenSet =
true;
47 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
49 template <
typename AvailabilityZonesT = Aws::Vector<AvailabilityZone>>
54 template <
typename AvailabilityZonesT = AvailabilityZone>
56 m_availabilityZonesHasBeenSet =
true;
57 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
69 template <
typename CanonicalHostedZoneIdT = Aws::String>
71 m_canonicalHostedZoneIdHasBeenSet =
true;
72 m_canonicalHostedZoneId = std::forward<CanonicalHostedZoneIdT>(value);
74 template <
typename CanonicalHostedZoneIdT = Aws::String>
89 template <
typename CreatedTimeT = Aws::String>
91 m_createdTimeHasBeenSet =
true;
92 m_createdTime = std::forward<CreatedTimeT>(value);
94 template <
typename CreatedTimeT = Aws::String>
107 template <
typename DNSNameT = Aws::String>
109 m_dNSNameHasBeenSet =
true;
110 m_dNSName = std::forward<DNSNameT>(value);
112 template <
typename DNSNameT = Aws::String>
127 template <
typename IpAddressTypeT = Aws::String>
129 m_ipAddressTypeHasBeenSet =
true;
130 m_ipAddressType = std::forward<IpAddressTypeT>(value);
132 template <
typename IpAddressTypeT = Aws::String>
145 template <
typename SchemeT = Aws::String>
147 m_schemeHasBeenSet =
true;
148 m_scheme = std::forward<SchemeT>(value);
150 template <
typename SchemeT = Aws::String>
163 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
165 m_securityGroupsHasBeenSet =
true;
166 m_securityGroups = std::forward<SecurityGroupsT>(value);
168 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
173 template <
typename SecurityGroupsT = Aws::String>
175 m_securityGroupsHasBeenSet =
true;
176 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
187 template <
typename StateT = LoadBalancerState>
189 m_stateHasBeenSet =
true;
190 m_state = std::forward<StateT>(value);
192 template <
typename StateT = LoadBalancerState>
194 SetState(std::forward<StateT>(value));
205 template <
typename TypeT = Aws::String>
207 m_typeHasBeenSet =
true;
208 m_type = std::forward<TypeT>(value);
210 template <
typename TypeT = Aws::String>
212 SetType(std::forward<TypeT>(value));
223 template <
typename VpcIdT = Aws::String>
225 m_vpcIdHasBeenSet =
true;
226 m_vpcId = std::forward<VpcIdT>(value);
228 template <
typename VpcIdT = Aws::String>
230 SetVpcId(std::forward<VpcIdT>(value));
241 template <
typename LoadBalancerAttributesT = Aws::Vector<AwsElbv2LoadBalancerAttribute>>
243 m_loadBalancerAttributesHasBeenSet =
true;
244 m_loadBalancerAttributes = std::forward<LoadBalancerAttributesT>(value);
246 template <
typename LoadBalancerAttributesT = Aws::Vector<AwsElbv2LoadBalancerAttribute>>
251 template <
typename LoadBalancerAttributesT = AwsElbv2LoadBalancerAttribute>
253 m_loadBalancerAttributesHasBeenSet =
true;
254 m_loadBalancerAttributes.emplace_back(std::forward<LoadBalancerAttributesT>(value));
280 bool m_availabilityZonesHasBeenSet =
false;
281 bool m_canonicalHostedZoneIdHasBeenSet =
false;
282 bool m_createdTimeHasBeenSet =
false;
283 bool m_dNSNameHasBeenSet =
false;
284 bool m_ipAddressTypeHasBeenSet =
false;
285 bool m_schemeHasBeenSet =
false;
286 bool m_securityGroupsHasBeenSet =
false;
287 bool m_stateHasBeenSet =
false;
288 bool m_typeHasBeenSet =
false;
289 bool m_vpcIdHasBeenSet =
false;
290 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