AWS SDK for C++  1.9.97
AWS SDK for C++
AdvancedSecurityOptionsInput.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
47  inline bool GetEnabled() const{ return m_enabled; }
48 
52  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
53 
57  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
58 
62  inline AdvancedSecurityOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
63 
64 
68  inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
69 
73  inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
74 
78  inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
79 
83  inline AdvancedSecurityOptionsInput& WithInternalUserDatabaseEnabled(bool value) { SetInternalUserDatabaseEnabled(value); return *this;}
84 
85 
89  inline const MasterUserOptions& GetMasterUserOptions() const{ return m_masterUserOptions; }
90 
94  inline bool MasterUserOptionsHasBeenSet() const { return m_masterUserOptionsHasBeenSet; }
95 
99  inline void SetMasterUserOptions(const MasterUserOptions& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = value; }
100 
104  inline void SetMasterUserOptions(MasterUserOptions&& value) { m_masterUserOptionsHasBeenSet = true; m_masterUserOptions = std::move(value); }
105 
109  inline AdvancedSecurityOptionsInput& WithMasterUserOptions(const MasterUserOptions& value) { SetMasterUserOptions(value); return *this;}
110 
114  inline AdvancedSecurityOptionsInput& WithMasterUserOptions(MasterUserOptions&& value) { SetMasterUserOptions(std::move(value)); return *this;}
115 
116 
120  inline const SAMLOptionsInput& GetSAMLOptions() const{ return m_sAMLOptions; }
121 
125  inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; }
126 
130  inline void SetSAMLOptions(const SAMLOptionsInput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; }
131 
135  inline void SetSAMLOptions(SAMLOptionsInput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); }
136 
140  inline AdvancedSecurityOptionsInput& WithSAMLOptions(const SAMLOptionsInput& value) { SetSAMLOptions(value); return *this;}
141 
145  inline AdvancedSecurityOptionsInput& WithSAMLOptions(SAMLOptionsInput&& value) { SetSAMLOptions(std::move(value)); return *this;}
146 
147  private:
148 
149  bool m_enabled;
150  bool m_enabledHasBeenSet;
151 
152  bool m_internalUserDatabaseEnabled;
153  bool m_internalUserDatabaseEnabledHasBeenSet;
154 
155  MasterUserOptions m_masterUserOptions;
156  bool m_masterUserOptionsHasBeenSet;
157 
158  SAMLOptionsInput m_sAMLOptions;
159  bool m_sAMLOptionsHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace ElasticsearchService
164 } // namespace Aws
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithSAMLOptions
AdvancedSecurityOptionsInput & WithSAMLOptions(const SAMLOptionsInput &value)
Definition: AdvancedSecurityOptionsInput.h:140
Aws::ElasticsearchService::Model::MasterUserOptions
Definition: MasterUserOptions.h:33
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetMasterUserOptions
void SetMasterUserOptions(const MasterUserOptions &value)
Definition: AdvancedSecurityOptionsInput.h:99
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::MasterUserOptionsHasBeenSet
bool MasterUserOptionsHasBeenSet() const
Definition: AdvancedSecurityOptionsInput.h:94
Aws::ElasticsearchService::Model::SAMLOptionsInput
Definition: SAMLOptionsInput.h:34
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::GetSAMLOptions
const SAMLOptionsInput & GetSAMLOptions() const
Definition: AdvancedSecurityOptionsInput.h:120
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SAMLOptionsHasBeenSet
bool SAMLOptionsHasBeenSet() const
Definition: AdvancedSecurityOptionsInput.h:125
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithInternalUserDatabaseEnabled
AdvancedSecurityOptionsInput & WithInternalUserDatabaseEnabled(bool value)
Definition: AdvancedSecurityOptionsInput.h:83
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::AdvancedSecurityOptionsInput
AdvancedSecurityOptionsInput()
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetSAMLOptions
void SetSAMLOptions(const SAMLOptionsInput &value)
Definition: AdvancedSecurityOptionsInput.h:130
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::GetMasterUserOptions
const MasterUserOptions & GetMasterUserOptions() const
Definition: AdvancedSecurityOptionsInput.h:89
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::InternalUserDatabaseEnabledHasBeenSet
bool InternalUserDatabaseEnabledHasBeenSet() const
Definition: AdvancedSecurityOptionsInput.h:73
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithMasterUserOptions
AdvancedSecurityOptionsInput & WithMasterUserOptions(MasterUserOptions &&value)
Definition: AdvancedSecurityOptionsInput.h:114
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithMasterUserOptions
AdvancedSecurityOptionsInput & WithMasterUserOptions(const MasterUserOptions &value)
Definition: AdvancedSecurityOptionsInput.h:109
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::GetEnabled
bool GetEnabled() const
Definition: AdvancedSecurityOptionsInput.h:47
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput
Definition: AdvancedSecurityOptionsInput.h:36
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithSAMLOptions
AdvancedSecurityOptionsInput & WithSAMLOptions(SAMLOptionsInput &&value)
Definition: AdvancedSecurityOptionsInput.h:145
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: AdvancedSecurityOptionsInput.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::GetInternalUserDatabaseEnabled
bool GetInternalUserDatabaseEnabled() const
Definition: AdvancedSecurityOptionsInput.h:68
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::WithEnabled
AdvancedSecurityOptionsInput & WithEnabled(bool value)
Definition: AdvancedSecurityOptionsInput.h:62
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetInternalUserDatabaseEnabled
void SetInternalUserDatabaseEnabled(bool value)
Definition: AdvancedSecurityOptionsInput.h:78
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::operator=
AdvancedSecurityOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
MasterUserOptions.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::AdvancedSecurityOptionsInput
AdvancedSecurityOptionsInput(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetMasterUserOptions
void SetMasterUserOptions(MasterUserOptions &&value)
Definition: AdvancedSecurityOptionsInput.h:104
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetEnabled
void SetEnabled(bool value)
Definition: AdvancedSecurityOptionsInput.h:57
SAMLOptionsInput.h
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsInput::SetSAMLOptions
void SetSAMLOptions(SAMLOptionsInput &&value)
Definition: AdvancedSecurityOptionsInput.h:135