AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedSecurityOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AdvancedSecurityOptions.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 AdvancedSecurityOptionsStatus();
37 AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AdvancedSecurityOptions& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const AdvancedSecurityOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(AdvancedSecurityOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline AdvancedSecurityOptionsStatus& WithOptions(const AdvancedSecurityOptions& value) { SetOptions(value); return *this;}
51 inline AdvancedSecurityOptionsStatus& WithOptions(AdvancedSecurityOptions&& value) { SetOptions(std::move(value)); return *this;}
53
55
58 inline const OptionStatus& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 inline AdvancedSecurityOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
63 inline AdvancedSecurityOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
65 private:
66
68 bool m_optionsHasBeenSet = false;
69
70 OptionStatus m_status;
71 bool m_statusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace OpenSearchService
76} // namespace Aws
AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AdvancedSecurityOptionsStatus & WithOptions(const AdvancedSecurityOptions &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedSecurityOptionsStatus & WithOptions(AdvancedSecurityOptions &&value)
AdvancedSecurityOptionsStatus & WithStatus(const OptionStatus &value)
AdvancedSecurityOptionsStatus & WithStatus(OptionStatus &&value)
AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue