AWS SDK for C++  1.9.97
AWS SDK for C++
AdvancedSecurityOptions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ElasticsearchService
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline bool GetEnabled() const{ return m_enabled; }
46 
50  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 
55  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
56 
60  inline AdvancedSecurityOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
61 
62 
66  inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
67 
71  inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
72 
76  inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
77 
81  inline AdvancedSecurityOptions& WithInternalUserDatabaseEnabled(bool value) { SetInternalUserDatabaseEnabled(value); return *this;}
82 
83 
87  inline const SAMLOptionsOutput& GetSAMLOptions() const{ return m_sAMLOptions; }
88 
92  inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; }
93 
97  inline void SetSAMLOptions(const SAMLOptionsOutput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; }
98 
102  inline void SetSAMLOptions(SAMLOptionsOutput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); }
103 
107  inline AdvancedSecurityOptions& WithSAMLOptions(const SAMLOptionsOutput& value) { SetSAMLOptions(value); return *this;}
108 
112  inline AdvancedSecurityOptions& WithSAMLOptions(SAMLOptionsOutput&& value) { SetSAMLOptions(std::move(value)); return *this;}
113 
114  private:
115 
116  bool m_enabled;
117  bool m_enabledHasBeenSet;
118 
119  bool m_internalUserDatabaseEnabled;
120  bool m_internalUserDatabaseEnabledHasBeenSet;
121 
122  SAMLOptionsOutput m_sAMLOptions;
123  bool m_sAMLOptionsHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace ElasticsearchService
128 } // namespace Aws
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::WithEnabled
AdvancedSecurityOptions & WithEnabled(bool value)
Definition: AdvancedSecurityOptions.h:60
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::SAMLOptionsHasBeenSet
bool SAMLOptionsHasBeenSet() const
Definition: AdvancedSecurityOptions.h:92
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::SetEnabled
void SetEnabled(bool value)
Definition: AdvancedSecurityOptions.h:55
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::SetSAMLOptions
void SetSAMLOptions(const SAMLOptionsOutput &value)
Definition: AdvancedSecurityOptions.h:97
SAMLOptionsOutput.h
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::SetInternalUserDatabaseEnabled
void SetInternalUserDatabaseEnabled(bool value)
Definition: AdvancedSecurityOptions.h:76
Aws::ElasticsearchService::Model::AdvancedSecurityOptions
Definition: AdvancedSecurityOptions.h:34
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::SAMLOptionsOutput
Definition: SAMLOptionsOutput.h:34
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::AdvancedSecurityOptions
AdvancedSecurityOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::InternalUserDatabaseEnabledHasBeenSet
bool InternalUserDatabaseEnabledHasBeenSet() const
Definition: AdvancedSecurityOptions.h:71
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::GetInternalUserDatabaseEnabled
bool GetInternalUserDatabaseEnabled() const
Definition: AdvancedSecurityOptions.h:66
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::GetEnabled
bool GetEnabled() const
Definition: AdvancedSecurityOptions.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::WithSAMLOptions
AdvancedSecurityOptions & WithSAMLOptions(SAMLOptionsOutput &&value)
Definition: AdvancedSecurityOptions.h:112
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::WithInternalUserDatabaseEnabled
AdvancedSecurityOptions & WithInternalUserDatabaseEnabled(bool value)
Definition: AdvancedSecurityOptions.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: AdvancedSecurityOptions.h:50
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::AdvancedSecurityOptions
AdvancedSecurityOptions()
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::GetSAMLOptions
const SAMLOptionsOutput & GetSAMLOptions() const
Definition: AdvancedSecurityOptions.h:87
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::WithSAMLOptions
AdvancedSecurityOptions & WithSAMLOptions(const SAMLOptionsOutput &value)
Definition: AdvancedSecurityOptions.h:107
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::SetSAMLOptions
void SetSAMLOptions(SAMLOptionsOutput &&value)
Definition: AdvancedSecurityOptions.h:102
Aws::ElasticsearchService::Model::AdvancedSecurityOptions::operator=
AdvancedSecurityOptions & operator=(Aws::Utils::Json::JsonView jsonValue)