AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AutoTuneType& GetAutoTuneType() const{ return m_autoTuneType; }
47 inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; }
48 inline void SetAutoTuneType(const AutoTuneType& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; }
49 inline void SetAutoTuneType(AutoTuneType&& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = std::move(value); }
50 inline AutoTune& WithAutoTuneType(const AutoTuneType& value) { SetAutoTuneType(value); return *this;}
51 inline AutoTune& WithAutoTuneType(AutoTuneType&& value) { SetAutoTuneType(std::move(value)); return *this;}
53
55
60 inline const AutoTuneDetails& GetAutoTuneDetails() const{ return m_autoTuneDetails; }
61 inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; }
62 inline void SetAutoTuneDetails(const AutoTuneDetails& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = value; }
63 inline void SetAutoTuneDetails(AutoTuneDetails&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::move(value); }
64 inline AutoTune& WithAutoTuneDetails(const AutoTuneDetails& value) { SetAutoTuneDetails(value); return *this;}
65 inline AutoTune& WithAutoTuneDetails(AutoTuneDetails&& value) { SetAutoTuneDetails(std::move(value)); return *this;}
67 private:
68
69 AutoTuneType m_autoTuneType;
70 bool m_autoTuneTypeHasBeenSet = false;
71
72 AutoTuneDetails m_autoTuneDetails;
73 bool m_autoTuneDetailsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ElasticsearchService
78} // namespace Aws
AutoTune & WithAutoTuneType(AutoTuneType &&value)
Definition AutoTune.h:51
AutoTune & WithAutoTuneType(const AutoTuneType &value)
Definition AutoTune.h:50
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 SetAutoTuneDetails(const AutoTuneDetails &value)
Definition AutoTune.h:62
void SetAutoTuneType(const AutoTuneType &value)
Definition AutoTune.h:48
void SetAutoTuneType(AutoTuneType &&value)
Definition AutoTune.h:49
AWS_ELASTICSEARCHSERVICE_API AutoTune()
void SetAutoTuneDetails(AutoTuneDetails &&value)
Definition AutoTune.h:63
AutoTune & WithAutoTuneDetails(const AutoTuneDetails &value)
Definition AutoTune.h:64
const AutoTuneType & GetAutoTuneType() const
Definition AutoTune.h:46
const AutoTuneDetails & GetAutoTuneDetails() const
Definition AutoTune.h:60
AutoTune & WithAutoTuneDetails(AutoTuneDetails &&value)
Definition AutoTune.h:65
Aws::Utils::Json::JsonValue JsonValue