AWS SDK for C++  1.9.104
AWS SDK for C++
ElasticsearchClusterConfigStatus.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 
46  inline const ElasticsearchClusterConfig& GetOptions() const{ return m_options; }
47 
52  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
53 
58  inline void SetOptions(const ElasticsearchClusterConfig& value) { m_optionsHasBeenSet = true; m_options = value; }
59 
64  inline void SetOptions(ElasticsearchClusterConfig&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
65 
70  inline ElasticsearchClusterConfigStatus& WithOptions(const ElasticsearchClusterConfig& value) { SetOptions(value); return *this;}
71 
76  inline ElasticsearchClusterConfigStatus& WithOptions(ElasticsearchClusterConfig&& value) { SetOptions(std::move(value)); return *this;}
77 
78 
83  inline const OptionStatus& GetStatus() const{ return m_status; }
84 
89  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 
95  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 
101  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 
107  inline ElasticsearchClusterConfigStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
108 
113  inline ElasticsearchClusterConfigStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
114 
115  private:
116 
117  ElasticsearchClusterConfig m_options;
118  bool m_optionsHasBeenSet;
119 
120  OptionStatus m_status;
121  bool m_statusHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace ElasticsearchService
126 } // namespace Aws
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::GetOptions
const ElasticsearchClusterConfig & GetOptions() const
Definition: ElasticsearchClusterConfigStatus.h:46
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::WithOptions
ElasticsearchClusterConfigStatus & WithOptions(const ElasticsearchClusterConfig &value)
Definition: ElasticsearchClusterConfigStatus.h:70
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::operator=
ElasticsearchClusterConfigStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ElasticsearchClusterConfig
Definition: ElasticsearchClusterConfig.h:36
OptionStatus.h
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::SetOptions
void SetOptions(const ElasticsearchClusterConfig &value)
Definition: ElasticsearchClusterConfigStatus.h:58
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: ElasticsearchClusterConfigStatus.h:83
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus
Definition: ElasticsearchClusterConfigStatus.h:34
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: ElasticsearchClusterConfigStatus.h:101
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::SetOptions
void SetOptions(ElasticsearchClusterConfig &&value)
Definition: ElasticsearchClusterConfigStatus.h:64
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::WithStatus
ElasticsearchClusterConfigStatus & WithStatus(const OptionStatus &value)
Definition: ElasticsearchClusterConfigStatus.h:107
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::ElasticsearchClusterConfigStatus
ElasticsearchClusterConfigStatus()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::WithStatus
ElasticsearchClusterConfigStatus & WithStatus(OptionStatus &&value)
Definition: ElasticsearchClusterConfigStatus.h:113
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: ElasticsearchClusterConfigStatus.h:52
ElasticsearchClusterConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::WithOptions
ElasticsearchClusterConfigStatus & WithOptions(ElasticsearchClusterConfig &&value)
Definition: ElasticsearchClusterConfigStatus.h:76
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: ElasticsearchClusterConfigStatus.h:95
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::ElasticsearchClusterConfigStatus
ElasticsearchClusterConfigStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ElasticsearchClusterConfigStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ElasticsearchClusterConfigStatus.h:89