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/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/MasterUserOptions.h>
9#include <aws/es/model/SAMLOptionsInput.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
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptionsInput();
39 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptionsInput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptionsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline bool GetEnabled() const{ return m_enabled; }
49 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
50 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
51 inline AdvancedSecurityOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
53
55
58 inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
59 inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
60 inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
63
65
68 inline const MasterUserOptions& GetMasterUserOptions() const{ return m_masterUserOptions; }
69 inline bool MasterUserOptionsHasBeenSet() const { return m_masterUserOptionsHasBeenSet; }
70 inline void SetMasterUserOptions(const MasterUserOptions& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = value; }
71 inline void SetMasterUserOptions(MasterUserOptions&& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = std::move(value); }
75
77
80 inline const SAMLOptionsInput& GetSAMLOptions() const{ return m_sAMLOptions; }
81 inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; }
82 inline void SetSAMLOptions(const SAMLOptionsInput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; }
83 inline void SetSAMLOptions(SAMLOptionsInput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); }
84 inline AdvancedSecurityOptionsInput& WithSAMLOptions(const SAMLOptionsInput& value) { SetSAMLOptions(value); return *this;}
85 inline AdvancedSecurityOptionsInput& WithSAMLOptions(SAMLOptionsInput&& value) { SetSAMLOptions(std::move(value)); return *this;}
87
89
93 inline bool GetAnonymousAuthEnabled() const{ return m_anonymousAuthEnabled; }
94 inline bool AnonymousAuthEnabledHasBeenSet() const { return m_anonymousAuthEnabledHasBeenSet; }
95 inline void SetAnonymousAuthEnabled(bool value) { m_anonymousAuthEnabledHasBeenSet = true; m_anonymousAuthEnabled = value; }
98 private:
99
100 bool m_enabled;
101 bool m_enabledHasBeenSet = false;
102
103 bool m_internalUserDatabaseEnabled;
104 bool m_internalUserDatabaseEnabledHasBeenSet = false;
105
106 MasterUserOptions m_masterUserOptions;
107 bool m_masterUserOptionsHasBeenSet = false;
108
109 SAMLOptionsInput m_sAMLOptions;
110 bool m_sAMLOptionsHasBeenSet = false;
111
112 bool m_anonymousAuthEnabled;
113 bool m_anonymousAuthEnabledHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ElasticsearchService
118} // namespace Aws
AdvancedSecurityOptionsInput & WithSAMLOptions(const SAMLOptionsInput &value)
AdvancedSecurityOptionsInput & WithMasterUserOptions(MasterUserOptions &&value)
AdvancedSecurityOptionsInput & WithSAMLOptions(SAMLOptionsInput &&value)
AdvancedSecurityOptionsInput & WithMasterUserOptions(const MasterUserOptions &value)
AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptionsInput(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue