/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for information about a daily automated snapshot for an OpenSearch
* Service domain.See Also:
AWS
* API Reference
The daily snapshot options specified for the domain.
*/ inline const SnapshotOptions& GetOptions() const{ return m_options; } /** *The daily snapshot options specified for the domain.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The daily snapshot options specified for the domain.
*/ inline void SetOptions(const SnapshotOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *The daily snapshot options specified for the domain.
*/ inline void SetOptions(SnapshotOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *The daily snapshot options specified for the domain.
*/ inline SnapshotOptionsStatus& WithOptions(const SnapshotOptions& value) { SetOptions(value); return *this;} /** *The daily snapshot options specified for the domain.
*/ inline SnapshotOptionsStatus& WithOptions(SnapshotOptions&& value) { SetOptions(std::move(value)); return *this;} /** *The status of a daily automated snapshot.
*/ inline const OptionStatus& GetStatus() const{ return m_status; } /** *The status of a daily automated snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of a daily automated snapshot.
*/ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of a daily automated snapshot.
*/ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of a daily automated snapshot.
*/ inline SnapshotOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *The status of a daily automated snapshot.
*/ inline SnapshotOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: SnapshotOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws