AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoTuneOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AutoTuneOptions.h>
9#include <aws/opensearch/model/AutoTuneStatus.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
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API AutoTuneOptionsStatus();
36 AWS_OPENSEARCHSERVICE_API AutoTuneOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API AutoTuneOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AutoTuneOptions& GetOptions() const{ return m_options; }
46 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
47 inline void SetOptions(const AutoTuneOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
48 inline void SetOptions(AutoTuneOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
49 inline AutoTuneOptionsStatus& WithOptions(const AutoTuneOptions& value) { SetOptions(value); return *this;}
50 inline AutoTuneOptionsStatus& WithOptions(AutoTuneOptions&& value) { SetOptions(std::move(value)); return *this;}
52
54
57 inline const AutoTuneStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const AutoTuneStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(AutoTuneStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline AutoTuneOptionsStatus& WithStatus(const AutoTuneStatus& value) { SetStatus(value); return *this;}
62 inline AutoTuneOptionsStatus& WithStatus(AutoTuneStatus&& value) { SetStatus(std::move(value)); return *this;}
64 private:
65
66 AutoTuneOptions m_options;
67 bool m_optionsHasBeenSet = false;
68
69 AutoTuneStatus m_status;
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace OpenSearchService
75} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneOptionsStatus & WithOptions(const AutoTuneOptions &value)
AutoTuneOptionsStatus & WithStatus(const AutoTuneStatus &value)
AutoTuneOptionsStatus & WithStatus(AutoTuneStatus &&value)
AutoTuneOptionsStatus & WithOptions(AutoTuneOptions &&value)
Aws::Utils::Json::JsonValue JsonValue