/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Availability Zone. This is returned only as part of a
* GetRegions
request.See Also:
AWS
* API Reference
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The name of the Availability Zone. The format is us-east-2a
* (case-sensitive).
The state of the Availability Zone.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The state of the Availability Zone.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the Availability Zone.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the Availability Zone.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the Availability Zone.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The state of the Availability Zone.
*/ inline AvailabilityZone& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The state of the Availability Zone.
*/ inline AvailabilityZone& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The state of the Availability Zone.
*/ inline AvailabilityZone& WithState(const char* value) { SetState(value); return *this;} private: Aws::String m_zoneName; bool m_zoneNameHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws