AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedOptionsStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/es/model/OptionStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ElasticsearchService
24{
25namespace Model
26{
27
45 {
46 public:
47 AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus();
48 AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
49 AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline const Aws::Map<Aws::String, Aws::String>& GetOptions() const{ return m_options; }
59 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
60 inline void SetOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
61 inline void SetOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
63 inline AdvancedOptionsStatus& WithOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
64 inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
65 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
66 inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
67 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; }
68 inline AdvancedOptionsStatus& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
69 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
70 inline AdvancedOptionsStatus& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
72
74
78 inline const OptionStatus& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline AdvancedOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
83 inline AdvancedOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
85 private:
86
88 bool m_optionsHasBeenSet = false;
89
90 OptionStatus m_status;
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ElasticsearchService
96} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus()
AdvancedOptionsStatus & WithOptions(Aws::Map< Aws::String, Aws::String > &&value)
AdvancedOptionsStatus & AddOptions(const char *key, Aws::String &&value)
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AdvancedOptionsStatus & WithStatus(OptionStatus &&value)
AdvancedOptionsStatus & AddOptions(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const char *value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedOptionsStatus & AddOptions(const char *key, const char *value)
void SetOptions(Aws::Map< Aws::String, Aws::String > &&value)
AdvancedOptionsStatus & WithOptions(const Aws::Map< Aws::String, Aws::String > &value)
AdvancedOptionsStatus & AddOptions(const Aws::String &key, Aws::String &&value)
AdvancedOptionsStatus & WithStatus(const OptionStatus &value)
void SetOptions(const Aws::Map< Aws::String, Aws::String > &value)
AdvancedOptionsStatus & AddOptions(Aws::String &&key, Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API AdvancedOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue