AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchVersionStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/OptionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API ElasticsearchVersionStatus();
37 AWS_ELASTICSEARCHSERVICE_API ElasticsearchVersionStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API ElasticsearchVersionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetOptions() const{ return m_options; }
48 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
49 inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
50 inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
51 inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
52 inline ElasticsearchVersionStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
53 inline ElasticsearchVersionStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
54 inline ElasticsearchVersionStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
56
58
62 inline const OptionStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline ElasticsearchVersionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
67 inline ElasticsearchVersionStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_options;
72 bool m_optionsHasBeenSet = false;
73
74 OptionStatus m_status;
75 bool m_statusHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElasticsearchService
80} // namespace Aws
ElasticsearchVersionStatus & WithOptions(const Aws::String &value)
ElasticsearchVersionStatus & WithOptions(Aws::String &&value)
ElasticsearchVersionStatus & WithOptions(const char *value)
ElasticsearchVersionStatus & WithStatus(const OptionStatus &value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchVersionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchVersionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchVersionStatus & WithStatus(OptionStatus &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue