AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VersionStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API VersionStatus();
37 AWS_OPENSEARCHSERVICE_API VersionStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API VersionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
51 inline VersionStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
52 inline VersionStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
53 inline VersionStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
55
57
60 inline const OptionStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline VersionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
65 inline VersionStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_options;
70 bool m_optionsHasBeenSet = false;
71
72 OptionStatus m_status;
73 bool m_statusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace OpenSearchService
78} // namespace Aws
AWS_OPENSEARCHSERVICE_API VersionStatus()
VersionStatus & WithOptions(const Aws::String &value)
VersionStatus & WithOptions(Aws::String &&value)
void SetStatus(const OptionStatus &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API VersionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
VersionStatus & WithOptions(const char *value)
void SetOptions(const Aws::String &value)
VersionStatus & WithStatus(const OptionStatus &value)
AWS_OPENSEARCHSERVICE_API VersionStatus(Aws::Utils::Json::JsonView jsonValue)
const OptionStatus & GetStatus() const
VersionStatus & WithStatus(OptionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue