AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SnapshotOptionsStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/SnapshotOptions.h>
9#include <aws/es/model/OptionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus() = default;
36 AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const SnapshotOptions& GetOptions() const { return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 template<typename OptionsT = SnapshotOptions>
49 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
50 template<typename OptionsT = SnapshotOptions>
51 SnapshotOptionsStatus& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
53
55
58 inline const OptionStatus& GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 template<typename StatusT = OptionStatus>
61 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
62 template<typename StatusT = OptionStatus>
63 SnapshotOptionsStatus& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
65 private:
66
67 SnapshotOptions m_options;
68 bool m_optionsHasBeenSet = false;
69
70 OptionStatus m_status;
71 bool m_statusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticsearchService
76} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotOptionsStatus & WithStatus(StatusT &&value)
AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus()=default
SnapshotOptionsStatus & WithOptions(OptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API SnapshotOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue