AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedSecurityOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/SAMLOptionsOutput.h>
9#include <aws/core/utils/DateTime.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
35 {
36 public:
37 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions();
38 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline bool GetEnabled() const{ return m_enabled; }
48 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
49 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
50 inline AdvancedSecurityOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
52
54
57 inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
58 inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
59 inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
62
64
67 inline const SAMLOptionsOutput& GetSAMLOptions() const{ return m_sAMLOptions; }
68 inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; }
69 inline void SetSAMLOptions(const SAMLOptionsOutput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; }
70 inline void SetSAMLOptions(SAMLOptionsOutput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); }
71 inline AdvancedSecurityOptions& WithSAMLOptions(const SAMLOptionsOutput& value) { SetSAMLOptions(value); return *this;}
72 inline AdvancedSecurityOptions& WithSAMLOptions(SAMLOptionsOutput&& value) { SetSAMLOptions(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetAnonymousAuthDisableDate() const{ return m_anonymousAuthDisableDate; }
80 inline bool AnonymousAuthDisableDateHasBeenSet() const { return m_anonymousAuthDisableDateHasBeenSet; }
81 inline void SetAnonymousAuthDisableDate(const Aws::Utils::DateTime& value) { m_anonymousAuthDisableDateHasBeenSet = true; m_anonymousAuthDisableDate = value; }
82 inline void SetAnonymousAuthDisableDate(Aws::Utils::DateTime&& value) { m_anonymousAuthDisableDateHasBeenSet = true; m_anonymousAuthDisableDate = std::move(value); }
86
88
92 inline bool GetAnonymousAuthEnabled() const{ return m_anonymousAuthEnabled; }
93 inline bool AnonymousAuthEnabledHasBeenSet() const { return m_anonymousAuthEnabledHasBeenSet; }
94 inline void SetAnonymousAuthEnabled(bool value) { m_anonymousAuthEnabledHasBeenSet = true; m_anonymousAuthEnabled = value; }
97 private:
98
99 bool m_enabled;
100 bool m_enabledHasBeenSet = false;
101
102 bool m_internalUserDatabaseEnabled;
103 bool m_internalUserDatabaseEnabledHasBeenSet = false;
104
105 SAMLOptionsOutput m_sAMLOptions;
106 bool m_sAMLOptionsHasBeenSet = false;
107
108 Aws::Utils::DateTime m_anonymousAuthDisableDate;
109 bool m_anonymousAuthDisableDateHasBeenSet = false;
110
111 bool m_anonymousAuthEnabled;
112 bool m_anonymousAuthEnabledHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ElasticsearchService
117} // namespace Aws
void SetAnonymousAuthDisableDate(const Aws::Utils::DateTime &value)
AdvancedSecurityOptions & WithAnonymousAuthDisableDate(const Aws::Utils::DateTime &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedSecurityOptions & WithSAMLOptions(const SAMLOptionsOutput &value)
AdvancedSecurityOptions & WithSAMLOptions(SAMLOptionsOutput &&value)
AdvancedSecurityOptions & WithInternalUserDatabaseEnabled(bool value)
AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AdvancedSecurityOptions & WithAnonymousAuthDisableDate(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue