AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OffPeakWindowOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OffPeakWindowOptions.h>
9#include <aws/opensearch/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 OpenSearchService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus() = default;
38 AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const OffPeakWindowOptions& GetOptions() const { return m_options; }
48 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
49 template<typename OptionsT = OffPeakWindowOptions>
50 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
51 template<typename OptionsT = OffPeakWindowOptions>
52 OffPeakWindowOptionsStatus& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
54
56
59 inline const OptionStatus& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template<typename StatusT = OptionStatus>
62 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
63 template<typename StatusT = OptionStatus>
64 OffPeakWindowOptionsStatus& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
66 private:
67
68 OffPeakWindowOptions m_options;
69 bool m_optionsHasBeenSet = false;
70
71 OptionStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus()=default
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OffPeakWindowOptionsStatus & WithStatus(StatusT &&value)
OffPeakWindowOptionsStatus & WithOptions(OptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue