/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a UpdateAvailabilityOptions
request. Contains the
* status of the domain's availability options. See Also:
AWS
* API Reference
The newly-configured availability options. Indicates whether Multi-AZ is * enabled for the domain.
*/ inline const AvailabilityOptionsStatus& GetAvailabilityOptions() const{ return m_availabilityOptions; } /** *The newly-configured availability options. Indicates whether Multi-AZ is * enabled for the domain.
*/ inline void SetAvailabilityOptions(const AvailabilityOptionsStatus& value) { m_availabilityOptions = value; } /** *The newly-configured availability options. Indicates whether Multi-AZ is * enabled for the domain.
*/ inline void SetAvailabilityOptions(AvailabilityOptionsStatus&& value) { m_availabilityOptions = std::move(value); } /** *The newly-configured availability options. Indicates whether Multi-AZ is * enabled for the domain.
*/ inline UpdateAvailabilityOptionsResult& WithAvailabilityOptions(const AvailabilityOptionsStatus& value) { SetAvailabilityOptions(value); return *this;} /** *The newly-configured availability options. Indicates whether Multi-AZ is * enabled for the domain.
*/ inline UpdateAvailabilityOptionsResult& 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 UpdateAvailabilityOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline UpdateAvailabilityOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: AvailabilityOptionsStatus m_availabilityOptions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws