/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a DescribeAvailabilityOptions
request. Indicates
* whether or not the Multi-AZ option is enabled for the domain specified in the
* request. See Also:
AWS
* API Reference
The availability options configured for the domain. Indicates whether * Multi-AZ is enabled for the domain.
*/ inline const AvailabilityOptionsStatus& GetAvailabilityOptions() const{ return m_availabilityOptions; } /** *The availability options configured for the domain. Indicates whether * Multi-AZ is enabled for the domain.
*/ inline void SetAvailabilityOptions(const AvailabilityOptionsStatus& value) { m_availabilityOptions = value; } /** *The availability options configured for the domain. Indicates whether * Multi-AZ is enabled for the domain.
*/ inline void SetAvailabilityOptions(AvailabilityOptionsStatus&& value) { m_availabilityOptions = std::move(value); } /** *The availability options configured for the domain. Indicates whether * Multi-AZ is enabled for the domain.
*/ inline DescribeAvailabilityOptionsResult& WithAvailabilityOptions(const AvailabilityOptionsStatus& value) { SetAvailabilityOptions(value); return *this;} /** *The availability options configured for the domain. Indicates whether * Multi-AZ is enabled for the domain.
*/ inline DescribeAvailabilityOptionsResult& WithAvailabilityOptions(AvailabilityOptionsStatus&& value) { SetAvailabilityOptions(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeAvailabilityOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeAvailabilityOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: AvailabilityOptionsStatus m_availabilityOptions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws