/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the parameters required to enable cold storage for an
* OpenSearch Service domain. For more information, see Cold
* storage for Amazon OpenSearch Service.See Also:
AWS
* API Reference
Whether to enable or disable cold storage on the domain.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Whether to enable or disable cold storage on the domain.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Whether to enable or disable cold storage on the domain.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Whether to enable or disable cold storage on the domain.
*/ inline ColdStorageOptions& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws