/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of off-peak
* window options for a domain.See Also:
AWS
* API Reference
The domain's off-peak window configuration.
*/ inline const OffPeakWindowOptions& GetOptions() const{ return m_options; } /** *The domain's off-peak window configuration.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The domain's off-peak window configuration.
*/ inline void SetOptions(const OffPeakWindowOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *The domain's off-peak window configuration.
*/ inline void SetOptions(OffPeakWindowOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *The domain's off-peak window configuration.
*/ inline OffPeakWindowOptionsStatus& WithOptions(const OffPeakWindowOptions& value) { SetOptions(value); return *this;} /** *The domain's off-peak window configuration.
*/ inline OffPeakWindowOptionsStatus& WithOptions(OffPeakWindowOptions&& value) { SetOptions(std::move(value)); return *this;} /** *The current status of off-peak window options.
*/ inline const OptionStatus& GetStatus() const{ return m_status; } /** *The current status of off-peak window options.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of off-peak window options.
*/ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of off-peak window options.
*/ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of off-peak window options.
*/ inline OffPeakWindowOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *The current status of off-peak window options.
*/ inline OffPeakWindowOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: OffPeakWindowOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws