/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of the service software options for a domain.See
* Also:
AWS
* API Reference
The service software update options for a domain.
*/ inline const SoftwareUpdateOptions& GetOptions() const{ return m_options; } /** *The service software update options for a domain.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The service software update options for a domain.
*/ inline void SetOptions(const SoftwareUpdateOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *The service software update options for a domain.
*/ inline void SetOptions(SoftwareUpdateOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *The service software update options for a domain.
*/ inline SoftwareUpdateOptionsStatus& WithOptions(const SoftwareUpdateOptions& value) { SetOptions(value); return *this;} /** *The service software update options for a domain.
*/ inline SoftwareUpdateOptionsStatus& WithOptions(SoftwareUpdateOptions&& value) { SetOptions(std::move(value)); return *this;} /** *The status of service software update options, including creation date and * last updated date.
*/ inline const OptionStatus& GetStatus() const{ return m_status; } /** *The status of service software update options, including creation date and * last updated date.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of service software update options, including creation date and * last updated date.
*/ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of service software update options, including creation date and * last updated date.
*/ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of service software update options, including creation date and * last updated date.
*/ inline SoftwareUpdateOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *The status of service software update options, including creation date and * last updated date.
*/ inline SoftwareUpdateOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: SoftwareUpdateOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws