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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AutoTuneType.h>
9#include <aws/opensearch/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 OpenSearchService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API AutoTune();
38 AWS_OPENSEARCHSERVICE_API AutoTune(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API AutoTune& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AutoTuneType& GetAutoTuneType() const{ return m_autoTuneType; }
48 inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; }
49 inline void SetAutoTuneType(const AutoTuneType& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; }
50 inline void SetAutoTuneType(AutoTuneType&& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = std::move(value); }
51 inline AutoTune& WithAutoTuneType(const AutoTuneType& value) { SetAutoTuneType(value); return *this;}
52 inline AutoTune& WithAutoTuneType(AutoTuneType&& value) { SetAutoTuneType(std::move(value)); return *this;}
54
56
59 inline const AutoTuneDetails& GetAutoTuneDetails() const{ return m_autoTuneDetails; }
60 inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; }
61 inline void SetAutoTuneDetails(const AutoTuneDetails& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = value; }
62 inline void SetAutoTuneDetails(AutoTuneDetails&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::move(value); }
63 inline AutoTune& WithAutoTuneDetails(const AutoTuneDetails& value) { SetAutoTuneDetails(value); return *this;}
64 inline AutoTune& WithAutoTuneDetails(AutoTuneDetails&& value) { SetAutoTuneDetails(std::move(value)); return *this;}
66 private:
67
68 AutoTuneType m_autoTuneType;
69 bool m_autoTuneTypeHasBeenSet = false;
70
71 AutoTuneDetails m_autoTuneDetails;
72 bool m_autoTuneDetailsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
void SetAutoTuneType(AutoTuneType &&value)
Definition AutoTune.h:50
AutoTune & WithAutoTuneType(AutoTuneType &&value)
Definition AutoTune.h:52
void SetAutoTuneDetails(const AutoTuneDetails &value)
Definition AutoTune.h:61
void SetAutoTuneDetails(AutoTuneDetails &&value)
Definition AutoTune.h:62
AWS_OPENSEARCHSERVICE_API AutoTune & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API AutoTune()
const AutoTuneType & GetAutoTuneType() const
Definition AutoTune.h:47
AutoTune & WithAutoTuneType(const AutoTuneType &value)
Definition AutoTune.h:51
AutoTune & WithAutoTuneDetails(AutoTuneDetails &&value)
Definition AutoTune.h:64
void SetAutoTuneType(const AutoTuneType &value)
Definition AutoTune.h:49
const AutoTuneDetails & GetAutoTuneDetails() const
Definition AutoTune.h:59
AWS_OPENSEARCHSERVICE_API AutoTune(Aws::Utils::Json::JsonView jsonValue)
AutoTune & WithAutoTuneDetails(const AutoTuneDetails &value)
Definition AutoTune.h:63
Aws::Utils::Json::JsonValue JsonValue