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

Contains cross-zone load balancing settings for the load * balancer.

See Also:

AWS * API Reference

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

Indicates whether cross-zone load balancing is enabled for the load * balancer.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Indicates whether cross-zone load balancing is enabled for the load * balancer.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Indicates whether cross-zone load balancing is enabled for the load * balancer.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Indicates whether cross-zone load balancing is enabled for the load * balancer.

*/ inline AwsElbLoadBalancerCrossZoneLoadBalancing& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws