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/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 AccessPoliciesStatus();
37 AWS_ELASTICSEARCHSERVICE_API AccessPoliciesStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API AccessPoliciesStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_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
64 inline const OptionStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline AccessPoliciesStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
69 inline AccessPoliciesStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_options;
74 bool m_optionsHasBeenSet = false;
75
76 OptionStatus m_status;
77 bool m_statusHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ElasticsearchService
82} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API AccessPoliciesStatus()
AccessPoliciesStatus & WithOptions(Aws::String &&value)
AccessPoliciesStatus & WithOptions(const Aws::String &value)
AccessPoliciesStatus & WithOptions(const char *value)
AWS_ELASTICSEARCHSERVICE_API AccessPoliciesStatus(Aws::Utils::Json::JsonView jsonValue)
AccessPoliciesStatus & WithStatus(OptionStatus &&value)
AccessPoliciesStatus & WithStatus(const OptionStatus &value)
AWS_ELASTICSEARCHSERVICE_API AccessPoliciesStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue