/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the subnet associated with a cluster. This parameter refers to
* subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with
* MemoryDB.See Also:
AWS API
* Reference
The unique identifier for the subnet.
*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *The unique identifier for the subnet.
*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *The unique identifier for the subnet.
*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *The unique identifier for the subnet.
*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *The unique identifier for the subnet.
*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *The unique identifier for the subnet.
*/ inline Subnet& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *The unique identifier for the subnet.
*/ inline Subnet& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *The unique identifier for the subnet.
*/ inline Subnet& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *The Availability Zone where the subnet resides
*/ inline const AvailabilityZone& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone where the subnet resides
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone where the subnet resides
*/ inline void SetAvailabilityZone(const AvailabilityZone& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone where the subnet resides
*/ inline void SetAvailabilityZone(AvailabilityZone&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone where the subnet resides
*/ inline Subnet& WithAvailabilityZone(const AvailabilityZone& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone where the subnet resides
*/ inline Subnet& WithAvailabilityZone(AvailabilityZone&& value) { SetAvailabilityZone(std::move(value)); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; AvailabilityZone m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws