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/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/AutoTuneOptions.h>
9#include <aws/es/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 ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus();
37 AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AutoTuneOptions& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const AutoTuneOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(AutoTuneOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline AutoTuneOptionsStatus& WithOptions(const AutoTuneOptions& value) { SetOptions(value); return *this;}
51 inline AutoTuneOptionsStatus& WithOptions(AutoTuneOptions&& value) { SetOptions(std::move(value)); return *this;}
53
55
59 inline const AutoTuneStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const AutoTuneStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(AutoTuneStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline AutoTuneOptionsStatus& WithStatus(const AutoTuneStatus& value) { SetStatus(value); return *this;}
64 inline AutoTuneOptionsStatus& WithStatus(AutoTuneStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 AutoTuneOptions m_options;
69 bool m_optionsHasBeenSet = false;
70
71 AutoTuneStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ElasticsearchService
77} // namespace Aws
AutoTuneOptionsStatus & WithStatus(const AutoTuneStatus &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus()
AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API AutoTuneOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneOptionsStatus & WithOptions(AutoTuneOptions &&value)
AutoTuneOptionsStatus & WithStatus(AutoTuneStatus &&value)
AutoTuneOptionsStatus & WithOptions(const AutoTuneOptions &value)
Aws::Utils::Json::JsonValue JsonValue