AWS SDK for C++  1.9.97
AWS SDK for C++
AutoTune.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const AutoTuneType& GetAutoTuneType() const{ return m_autoTuneType; }
46 
50  inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; }
51 
55  inline void SetAutoTuneType(const AutoTuneType& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; }
56 
60  inline void SetAutoTuneType(AutoTuneType&& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = std::move(value); }
61 
65  inline AutoTune& WithAutoTuneType(const AutoTuneType& value) { SetAutoTuneType(value); return *this;}
66 
70  inline AutoTune& WithAutoTuneType(AutoTuneType&& value) { SetAutoTuneType(std::move(value)); return *this;}
71 
72 
78  inline const AutoTuneDetails& GetAutoTuneDetails() const{ return m_autoTuneDetails; }
79 
85  inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; }
86 
92  inline void SetAutoTuneDetails(const AutoTuneDetails& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = value; }
93 
99  inline void SetAutoTuneDetails(AutoTuneDetails&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::move(value); }
100 
106  inline AutoTune& WithAutoTuneDetails(const AutoTuneDetails& value) { SetAutoTuneDetails(value); return *this;}
107 
113  inline AutoTune& WithAutoTuneDetails(AutoTuneDetails&& value) { SetAutoTuneDetails(std::move(value)); return *this;}
114 
115  private:
116 
117  AutoTuneType m_autoTuneType;
118  bool m_autoTuneTypeHasBeenSet;
119 
120  AutoTuneDetails m_autoTuneDetails;
121  bool m_autoTuneDetailsHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace ElasticsearchService
126 } // namespace Aws
Aws::ElasticsearchService::Model::AutoTune::SetAutoTuneDetails
void SetAutoTuneDetails(AutoTuneDetails &&value)
Definition: AutoTune.h:99
Aws::ElasticsearchService::Model::AutoTuneType
AutoTuneType
Definition: AutoTuneType.h:17
AutoTuneType.h
Aws::ElasticsearchService::Model::AutoTune::AutoTune
AutoTune(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AutoTune::AutoTune
AutoTune()
Aws::ElasticsearchService::Model::AutoTune
Definition: AutoTune.h:34
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::AutoTuneDetails
Definition: AutoTuneDetails.h:35
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::AutoTune::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::AutoTune::AutoTuneDetailsHasBeenSet
bool AutoTuneDetailsHasBeenSet() const
Definition: AutoTune.h:85
Aws::ElasticsearchService::Model::AutoTune::WithAutoTuneType
AutoTune & WithAutoTuneType(AutoTuneType &&value)
Definition: AutoTune.h:70
Aws::ElasticsearchService::Model::AutoTune::WithAutoTuneDetails
AutoTune & WithAutoTuneDetails(const AutoTuneDetails &value)
Definition: AutoTune.h:106
Aws::ElasticsearchService::Model::AutoTune::SetAutoTuneDetails
void SetAutoTuneDetails(const AutoTuneDetails &value)
Definition: AutoTune.h:92
Aws::ElasticsearchService::Model::AutoTune::AutoTuneTypeHasBeenSet
bool AutoTuneTypeHasBeenSet() const
Definition: AutoTune.h:50
Aws::ElasticsearchService::Model::AutoTune::WithAutoTuneType
AutoTune & WithAutoTuneType(const AutoTuneType &value)
Definition: AutoTune.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::AutoTune::GetAutoTuneType
const AutoTuneType & GetAutoTuneType() const
Definition: AutoTune.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::AutoTune::operator=
AutoTune & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AutoTune::GetAutoTuneDetails
const AutoTuneDetails & GetAutoTuneDetails() const
Definition: AutoTune.h:78
AutoTuneDetails.h
Aws::ElasticsearchService::Model::AutoTune::SetAutoTuneType
void SetAutoTuneType(AutoTuneType &&value)
Definition: AutoTune.h:60
Aws::ElasticsearchService::Model::AutoTune::WithAutoTuneDetails
AutoTune & WithAutoTuneDetails(AutoTuneDetails &&value)
Definition: AutoTune.h:113
Aws::ElasticsearchService::Model::AutoTune::SetAutoTuneType
void SetAutoTuneType(const AutoTuneType &value)
Definition: AutoTune.h:55