AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AutoTune.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/AutoTuneType.h>
9#include <aws/es/model/AutoTuneDetails.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 AutoTune() = default;
37 AWS_ELASTICSEARCHSERVICE_API AutoTune(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API AutoTune& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline AutoTuneType GetAutoTuneType() const { return m_autoTuneType; }
47 inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; }
48 inline void SetAutoTuneType(AutoTuneType value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; }
49 inline AutoTune& WithAutoTuneType(AutoTuneType value) { SetAutoTuneType(value); return *this;}
51
53
58 inline const AutoTuneDetails& GetAutoTuneDetails() const { return m_autoTuneDetails; }
59 inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; }
60 template<typename AutoTuneDetailsT = AutoTuneDetails>
61 void SetAutoTuneDetails(AutoTuneDetailsT&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::forward<AutoTuneDetailsT>(value); }
62 template<typename AutoTuneDetailsT = AutoTuneDetails>
63 AutoTune& WithAutoTuneDetails(AutoTuneDetailsT&& value) { SetAutoTuneDetails(std::forward<AutoTuneDetailsT>(value)); return *this;}
65 private:
66
67 AutoTuneType m_autoTuneType{AutoTuneType::NOT_SET};
68 bool m_autoTuneTypeHasBeenSet = false;
69
70 AutoTuneDetails m_autoTuneDetails;
71 bool m_autoTuneDetailsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticsearchService
76} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API AutoTune()=default
AWS_ELASTICSEARCHSERVICE_API AutoTune & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API AutoTune(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAutoTuneType(AutoTuneType value)
Definition AutoTune.h:48
void SetAutoTuneDetails(AutoTuneDetailsT &&value)
Definition AutoTune.h:61
AutoTune & WithAutoTuneDetails(AutoTuneDetailsT &&value)
Definition AutoTune.h:63
const AutoTuneDetails & GetAutoTuneDetails() const
Definition AutoTune.h:58
AutoTune & WithAutoTuneType(AutoTuneType value)
Definition AutoTune.h:49
Aws::Utils::Json::JsonValue JsonValue