AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOptions(const OffPeakWindowOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
50 inline void SetOptions(OffPeakWindowOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
51 inline OffPeakWindowOptionsStatus& WithOptions(const OffPeakWindowOptions& value) { SetOptions(value); return *this;}
52 inline OffPeakWindowOptionsStatus& WithOptions(OffPeakWindowOptions&& value) { SetOptions(std::move(value)); return *this;}
54
56
59 inline const OptionStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline OffPeakWindowOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
64 inline OffPeakWindowOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(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
OffPeakWindowOptionsStatus & WithStatus(const OptionStatus &value)
OffPeakWindowOptionsStatus & WithOptions(const OffPeakWindowOptions &value)
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OffPeakWindowOptionsStatus & WithStatus(OptionStatus &&value)
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OffPeakWindowOptionsStatus & WithOptions(OffPeakWindowOptions &&value)
Aws::Utils::Json::JsonValue JsonValue