/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ElasticsearchService
{
namespace Model
{
/**
* Specifies the time, in UTC format, when the service takes a daily automated
* snapshot of the specified Elasticsearch domain. Default value is 0
* hours.
See Also:
AWS
* API Reference
*/
class SnapshotOptions
{
public:
AWS_ELASTICSEARCHSERVICE_API SnapshotOptions();
AWS_ELASTICSEARCHSERVICE_API SnapshotOptions(Aws::Utils::Json::JsonView jsonValue);
AWS_ELASTICSEARCHSERVICE_API SnapshotOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Specifies the time, in UTC format, when the service takes a daily automated
* snapshot of the specified Elasticsearch domain. Default value is 0
* hours.
*/
inline int GetAutomatedSnapshotStartHour() const{ return m_automatedSnapshotStartHour; }
/**
* Specifies the time, in UTC format, when the service takes a daily automated
* snapshot of the specified Elasticsearch domain. Default value is 0
* hours.
*/
inline bool AutomatedSnapshotStartHourHasBeenSet() const { return m_automatedSnapshotStartHourHasBeenSet; }
/**
* Specifies the time, in UTC format, when the service takes a daily automated
* snapshot of the specified Elasticsearch domain. Default value is 0
* hours.
*/
inline void SetAutomatedSnapshotStartHour(int value) { m_automatedSnapshotStartHourHasBeenSet = true; m_automatedSnapshotStartHour = value; }
/**
* Specifies the time, in UTC format, when the service takes a daily automated
* snapshot of the specified Elasticsearch domain. Default value is 0
* hours.
*/
inline SnapshotOptions& WithAutomatedSnapshotStartHour(int value) { SetAutomatedSnapshotStartHour(value); return *this;}
private:
int m_automatedSnapshotStartHour;
bool m_automatedSnapshotStartHourHasBeenSet = false;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws