AWS SDK for C++  1.9.107
AWS SDK for C++
ElasticsearchVersionStatus.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 Aws::String& GetOptions() const{ return m_options; }
47 
52  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
53 
58  inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
59 
64  inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
65 
70  inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
71 
76  inline ElasticsearchVersionStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
77 
82  inline ElasticsearchVersionStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
83 
88  inline ElasticsearchVersionStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
89 
90 
95  inline const OptionStatus& GetStatus() const{ return m_status; }
96 
101  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 
107  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
108 
113  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
114 
119  inline ElasticsearchVersionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
120 
125  inline ElasticsearchVersionStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
126 
127  private:
128 
129  Aws::String m_options;
130  bool m_optionsHasBeenSet;
131 
132  OptionStatus m_status;
133  bool m_statusHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace ElasticsearchService
138 } // namespace Aws
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: ElasticsearchVersionStatus.h:107
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::WithStatus
ElasticsearchVersionStatus & WithStatus(OptionStatus &&value)
Definition: ElasticsearchVersionStatus.h:125
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::operator=
ElasticsearchVersionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OptionStatus.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::ElasticsearchVersionStatus
ElasticsearchVersionStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::SetOptions
void SetOptions(const Aws::String &value)
Definition: ElasticsearchVersionStatus.h:58
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: ElasticsearchVersionStatus.h:95
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::GetOptions
const Aws::String & GetOptions() const
Definition: ElasticsearchVersionStatus.h:46
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::WithOptions
ElasticsearchVersionStatus & WithOptions(const char *value)
Definition: ElasticsearchVersionStatus.h:88
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::WithStatus
ElasticsearchVersionStatus & WithStatus(const OptionStatus &value)
Definition: ElasticsearchVersionStatus.h:119
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::SetOptions
void SetOptions(const char *value)
Definition: ElasticsearchVersionStatus.h:70
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ElasticsearchVersionStatus.h:101
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::SetOptions
void SetOptions(Aws::String &&value)
Definition: ElasticsearchVersionStatus.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: ElasticsearchVersionStatus.h:52
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::WithOptions
ElasticsearchVersionStatus & WithOptions(Aws::String &&value)
Definition: ElasticsearchVersionStatus.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::ElasticsearchVersionStatus
ElasticsearchVersionStatus()
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: ElasticsearchVersionStatus.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus
Definition: ElasticsearchVersionStatus.h:34
Aws::ElasticsearchService::Model::ElasticsearchVersionStatus::WithOptions
ElasticsearchVersionStatus & WithOptions(const Aws::String &value)
Definition: ElasticsearchVersionStatus.h:76