/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Availability Zone.See Also:
AWS
* API Reference
The name of the Availability Zone.
*/ inline const Aws::String& GetZoneName() const{ return m_zoneName; } /** *The name of the Availability Zone.
*/ inline bool ZoneNameHasBeenSet() const { return m_zoneNameHasBeenSet; } /** *The name of the Availability Zone.
*/ inline void SetZoneName(const Aws::String& value) { m_zoneNameHasBeenSet = true; m_zoneName = value; } /** *The name of the Availability Zone.
*/ inline void SetZoneName(Aws::String&& value) { m_zoneNameHasBeenSet = true; m_zoneName = std::move(value); } /** *The name of the Availability Zone.
*/ inline void SetZoneName(const char* value) { m_zoneNameHasBeenSet = true; m_zoneName.assign(value); } /** *The name of the Availability Zone.
*/ inline AvailabilityZone& WithZoneName(const Aws::String& value) { SetZoneName(value); return *this;} /** *The name of the Availability Zone.
*/ inline AvailabilityZone& WithZoneName(Aws::String&& value) { SetZoneName(std::move(value)); return *this;} /** *The name of the Availability Zone.
*/ inline AvailabilityZone& WithZoneName(const char* value) { SetZoneName(value); return *this;} /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline AvailabilityZone& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline AvailabilityZone& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *The ID of the subnet. You can specify one subnet per Availability Zone.
*/ inline AvailabilityZone& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} private: Aws::String m_zoneName; bool m_zoneNameHasBeenSet = false; Aws::String m_subnetId; bool m_subnetIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws