AWS SDK for C++  1.9.97
AWS SDK for C++
AdvancedOptionsStatus.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
27 
45  {
46  public:
51 
52 
57  inline const Aws::Map<Aws::String, Aws::String>& GetOptions() const{ return m_options; }
58 
63  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
64 
69  inline void SetOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
70 
75  inline void SetOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
76 
81  inline AdvancedOptionsStatus& WithOptions(const Aws::Map<Aws::String, Aws::String>& value) { SetOptions(value); return *this;}
82 
87  inline AdvancedOptionsStatus& WithOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
88 
93  inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
94 
99  inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
100 
105  inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
106 
111  inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; }
112 
117  inline AdvancedOptionsStatus& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
118 
123  inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
124 
129  inline AdvancedOptionsStatus& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
130 
131 
136  inline const OptionStatus& GetStatus() const{ return m_status; }
137 
142  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
143 
148  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 
154  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
155 
160  inline AdvancedOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
161 
166  inline AdvancedOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
167 
168  private:
169 
171  bool m_optionsHasBeenSet;
172 
173  OptionStatus m_status;
174  bool m_statusHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace ElasticsearchService
179 } // namespace Aws
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: AdvancedOptionsStatus.h:154
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::GetOptions
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
Definition: AdvancedOptionsStatus.h:57
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const Aws::String &value)
Definition: AdvancedOptionsStatus.h:99
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::WithOptions
AdvancedOptionsStatus & WithOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AdvancedOptionsStatus.h:81
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(const Aws::String &key, Aws::String &&value)
Definition: AdvancedOptionsStatus.h:105
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::WithStatus
AdvancedOptionsStatus & WithStatus(const OptionStatus &value)
Definition: AdvancedOptionsStatus.h:160
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AdvancedOptionsStatus
AdvancedOptionsStatus()
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: AdvancedOptionsStatus.h:148
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const char *value)
Definition: AdvancedOptionsStatus.h:123
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(Aws::String &&key, Aws::String &&value)
Definition: AdvancedOptionsStatus.h:111
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AdvancedOptionsStatus.h:142
OptionStatus.h
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(const char *key, Aws::String &&value)
Definition: AdvancedOptionsStatus.h:117
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::SetOptions
void SetOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AdvancedOptionsStatus.h:75
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::WithStatus
AdvancedOptionsStatus & WithStatus(OptionStatus &&value)
Definition: AdvancedOptionsStatus.h:166
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(const Aws::String &key, const Aws::String &value)
Definition: AdvancedOptionsStatus.h:93
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AddOptions
AdvancedOptionsStatus & AddOptions(const char *key, const char *value)
Definition: AdvancedOptionsStatus.h:129
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::AdvancedOptionsStatus
AdvancedOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::operator=
AdvancedOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::WithOptions
AdvancedOptionsStatus & WithOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AdvancedOptionsStatus.h:87
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: AdvancedOptionsStatus.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: AdvancedOptionsStatus.h:136
Aws::ElasticsearchService::Model::AdvancedOptionsStatus::SetOptions
void SetOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AdvancedOptionsStatus.h:69
AWSMap.h
Aws::ElasticsearchService::Model::AdvancedOptionsStatus
Definition: AdvancedOptionsStatus.h:45
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19