AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessPoliciesStatus.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 AccessPoliciesStatus();
37 AWS_OPENSEARCHSERVICE_API AccessPoliciesStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API AccessPoliciesStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetOptions() const{ return m_options; }
50 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
51 inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
52 inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
53 inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
54 inline AccessPoliciesStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
55 inline AccessPoliciesStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
56 inline AccessPoliciesStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
58
60
63 inline const OptionStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline AccessPoliciesStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
68 inline AccessPoliciesStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_options;
73 bool m_optionsHasBeenSet = false;
74
75 OptionStatus m_status;
76 bool m_statusHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace OpenSearchService
81} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AccessPoliciesStatus & WithOptions(const char *value)
AccessPoliciesStatus & WithStatus(const OptionStatus &value)
AccessPoliciesStatus & WithOptions(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API AccessPoliciesStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessPoliciesStatus & WithOptions(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API AccessPoliciesStatus(Aws::Utils::Json::JsonView jsonValue)
AccessPoliciesStatus & WithStatus(OptionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue