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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/opensearch/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 OpenSearchService
24{
25namespace Model
26{
27
54 {
55 public:
56 AWS_OPENSEARCHSERVICE_API AdvancedOptionsStatus();
57 AWS_OPENSEARCHSERVICE_API AdvancedOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
58 AWS_OPENSEARCHSERVICE_API AdvancedOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
59 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
60
61
63
66 inline const Aws::Map<Aws::String, Aws::String>& GetOptions() const{ return m_options; }
67 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
68 inline void SetOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
69 inline void SetOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
71 inline AdvancedOptionsStatus& WithOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
72 inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
73 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
74 inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
75 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; }
76 inline AdvancedOptionsStatus& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
77 inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
78 inline AdvancedOptionsStatus& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
80
82
85 inline const OptionStatus& GetStatus() const{ return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 inline AdvancedOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
90 inline AdvancedOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
92 private:
93
95 bool m_optionsHasBeenSet = false;
96
97 OptionStatus m_status;
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace OpenSearchService
103} // namespace Aws
AWS_OPENSEARCHSERVICE_API AdvancedOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AdvancedOptionsStatus & WithOptions(Aws::Map< Aws::String, Aws::String > &&value)
AWS_OPENSEARCHSERVICE_API AdvancedOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AdvancedOptionsStatus & AddOptions(const char *key, Aws::String &&value)
void SetOptions(Aws::Map< Aws::String, Aws::String > &&value)
AdvancedOptionsStatus & AddOptions(const char *key, const char *value)
AdvancedOptionsStatus & AddOptions(Aws::String &&key, Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOptions(const Aws::Map< Aws::String, Aws::String > &value)
AdvancedOptionsStatus & WithStatus(OptionStatus &&value)
AdvancedOptionsStatus & AddOptions(const Aws::String &key, const Aws::String &value)
AdvancedOptionsStatus & AddOptions(const Aws::String &key, Aws::String &&value)
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
AdvancedOptionsStatus & AddOptions(Aws::String &&key, const char *value)
AdvancedOptionsStatus & WithStatus(const OptionStatus &value)
AdvancedOptionsStatus & WithOptions(const Aws::Map< Aws::String, Aws::String > &value)
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