AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedSecurityOptionsInput.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/MasterUserOptions.h>
9#include <aws/opensearch/model/SAMLOptionsInput.h>
10#include <aws/opensearch/model/JWTOptionsInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsInput();
40 AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsInput(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline bool GetEnabled() const{ return m_enabled; }
50 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
52 inline AdvancedSecurityOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
54
56
59 inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
60 inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
61 inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
64
66
69 inline const MasterUserOptions& GetMasterUserOptions() const{ return m_masterUserOptions; }
70 inline bool MasterUserOptionsHasBeenSet() const { return m_masterUserOptionsHasBeenSet; }
71 inline void SetMasterUserOptions(const MasterUserOptions& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = value; }
72 inline void SetMasterUserOptions(MasterUserOptions&& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = std::move(value); }
76
78
82 inline const SAMLOptionsInput& GetSAMLOptions() const{ return m_sAMLOptions; }
83 inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; }
84 inline void SetSAMLOptions(const SAMLOptionsInput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; }
85 inline void SetSAMLOptions(SAMLOptionsInput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); }
86 inline AdvancedSecurityOptionsInput& WithSAMLOptions(const SAMLOptionsInput& value) { SetSAMLOptions(value); return *this;}
87 inline AdvancedSecurityOptionsInput& WithSAMLOptions(SAMLOptionsInput&& value) { SetSAMLOptions(std::move(value)); return *this;}
89
91
95 inline const JWTOptionsInput& GetJWTOptions() const{ return m_jWTOptions; }
96 inline bool JWTOptionsHasBeenSet() const { return m_jWTOptionsHasBeenSet; }
97 inline void SetJWTOptions(const JWTOptionsInput& value) { m_jWTOptionsHasBeenSet = true; m_jWTOptions = value; }
98 inline void SetJWTOptions(JWTOptionsInput&& value) { m_jWTOptionsHasBeenSet = true; m_jWTOptions = std::move(value); }
99 inline AdvancedSecurityOptionsInput& WithJWTOptions(const JWTOptionsInput& value) { SetJWTOptions(value); return *this;}
100 inline AdvancedSecurityOptionsInput& WithJWTOptions(JWTOptionsInput&& value) { SetJWTOptions(std::move(value)); return *this;}
102
104
110 inline bool GetAnonymousAuthEnabled() const{ return m_anonymousAuthEnabled; }
111 inline bool AnonymousAuthEnabledHasBeenSet() const { return m_anonymousAuthEnabledHasBeenSet; }
112 inline void SetAnonymousAuthEnabled(bool value) { m_anonymousAuthEnabledHasBeenSet = true; m_anonymousAuthEnabled = value; }
115 private:
116
117 bool m_enabled;
118 bool m_enabledHasBeenSet = false;
119
120 bool m_internalUserDatabaseEnabled;
121 bool m_internalUserDatabaseEnabledHasBeenSet = false;
122
123 MasterUserOptions m_masterUserOptions;
124 bool m_masterUserOptionsHasBeenSet = false;
125
126 SAMLOptionsInput m_sAMLOptions;
127 bool m_sAMLOptionsHasBeenSet = false;
128
129 JWTOptionsInput m_jWTOptions;
130 bool m_jWTOptionsHasBeenSet = false;
131
132 bool m_anonymousAuthEnabled;
133 bool m_anonymousAuthEnabledHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace OpenSearchService
138} // namespace Aws
AdvancedSecurityOptionsInput & WithSAMLOptions(const SAMLOptionsInput &value)
AdvancedSecurityOptionsInput & WithInternalUserDatabaseEnabled(bool value)
AdvancedSecurityOptionsInput & WithMasterUserOptions(const MasterUserOptions &value)
AdvancedSecurityOptionsInput & WithJWTOptions(JWTOptionsInput &&value)
AdvancedSecurityOptionsInput & WithSAMLOptions(SAMLOptionsInput &&value)
AdvancedSecurityOptionsInput & WithJWTOptions(const JWTOptionsInput &value)
AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsInput(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AdvancedSecurityOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedSecurityOptionsInput & WithMasterUserOptions(MasterUserOptions &&value)
Aws::Utils::Json::JsonValue JsonValue