AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SnapshotOptions.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchService {
17namespace Model {
18
27 public:
28 AWS_OPENSEARCHSERVICE_API SnapshotOptions() = default;
29 AWS_OPENSEARCHSERVICE_API SnapshotOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVICE_API SnapshotOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline int GetAutomatedSnapshotStartHour() const { return m_automatedSnapshotStartHour; }
39 inline bool AutomatedSnapshotStartHourHasBeenSet() const { return m_automatedSnapshotStartHourHasBeenSet; }
40 inline void SetAutomatedSnapshotStartHour(int value) {
41 m_automatedSnapshotStartHourHasBeenSet = true;
42 m_automatedSnapshotStartHour = value;
43 }
46 return *this;
47 }
49 private:
50 int m_automatedSnapshotStartHour{0};
51 bool m_automatedSnapshotStartHourHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace OpenSearchService
56} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API SnapshotOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API SnapshotOptions()=default
SnapshotOptions & WithAutomatedSnapshotStartHour(int value)
AWS_OPENSEARCHSERVICE_API SnapshotOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue