AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SAMLOptionsInput.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/SAMLIdp.h>
9#include <aws/core/utils/memory/stl/AWSString.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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API SAMLOptionsInput();
37 AWS_OPENSEARCHSERVICE_API SAMLOptionsInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API SAMLOptionsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnabled() const{ return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline SAMLOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
56 inline const SAMLIdp& GetIdp() const{ return m_idp; }
57 inline bool IdpHasBeenSet() const { return m_idpHasBeenSet; }
58 inline void SetIdp(const SAMLIdp& value) { m_idpHasBeenSet = true; m_idp = value; }
59 inline void SetIdp(SAMLIdp&& value) { m_idpHasBeenSet = true; m_idp = std::move(value); }
60 inline SAMLOptionsInput& WithIdp(const SAMLIdp& value) { SetIdp(value); return *this;}
61 inline SAMLOptionsInput& WithIdp(SAMLIdp&& value) { SetIdp(std::move(value)); return *this;}
63
65
69 inline const Aws::String& GetMasterUserName() const{ return m_masterUserName; }
70 inline bool MasterUserNameHasBeenSet() const { return m_masterUserNameHasBeenSet; }
71 inline void SetMasterUserName(const Aws::String& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = value; }
72 inline void SetMasterUserName(Aws::String&& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = std::move(value); }
73 inline void SetMasterUserName(const char* value) { m_masterUserNameHasBeenSet = true; m_masterUserName.assign(value); }
74 inline SAMLOptionsInput& WithMasterUserName(const Aws::String& value) { SetMasterUserName(value); return *this;}
75 inline SAMLOptionsInput& WithMasterUserName(Aws::String&& value) { SetMasterUserName(std::move(value)); return *this;}
76 inline SAMLOptionsInput& WithMasterUserName(const char* value) { SetMasterUserName(value); return *this;}
78
80
83 inline const Aws::String& GetMasterBackendRole() const{ return m_masterBackendRole; }
84 inline bool MasterBackendRoleHasBeenSet() const { return m_masterBackendRoleHasBeenSet; }
85 inline void SetMasterBackendRole(const Aws::String& value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole = value; }
86 inline void SetMasterBackendRole(Aws::String&& value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole = std::move(value); }
87 inline void SetMasterBackendRole(const char* value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole.assign(value); }
88 inline SAMLOptionsInput& WithMasterBackendRole(const Aws::String& value) { SetMasterBackendRole(value); return *this;}
89 inline SAMLOptionsInput& WithMasterBackendRole(Aws::String&& value) { SetMasterBackendRole(std::move(value)); return *this;}
90 inline SAMLOptionsInput& WithMasterBackendRole(const char* value) { SetMasterBackendRole(value); return *this;}
92
94
98 inline const Aws::String& GetSubjectKey() const{ return m_subjectKey; }
99 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
100 inline void SetSubjectKey(const Aws::String& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
101 inline void SetSubjectKey(Aws::String&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
102 inline void SetSubjectKey(const char* value) { m_subjectKeyHasBeenSet = true; m_subjectKey.assign(value); }
103 inline SAMLOptionsInput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
104 inline SAMLOptionsInput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
105 inline SAMLOptionsInput& WithSubjectKey(const char* value) { SetSubjectKey(value); return *this;}
107
109
113 inline const Aws::String& GetRolesKey() const{ return m_rolesKey; }
114 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
115 inline void SetRolesKey(const Aws::String& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
116 inline void SetRolesKey(Aws::String&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
117 inline void SetRolesKey(const char* value) { m_rolesKeyHasBeenSet = true; m_rolesKey.assign(value); }
118 inline SAMLOptionsInput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
119 inline SAMLOptionsInput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
120 inline SAMLOptionsInput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
122
124
128 inline int GetSessionTimeoutMinutes() const{ return m_sessionTimeoutMinutes; }
129 inline bool SessionTimeoutMinutesHasBeenSet() const { return m_sessionTimeoutMinutesHasBeenSet; }
130 inline void SetSessionTimeoutMinutes(int value) { m_sessionTimeoutMinutesHasBeenSet = true; m_sessionTimeoutMinutes = value; }
131 inline SAMLOptionsInput& WithSessionTimeoutMinutes(int value) { SetSessionTimeoutMinutes(value); return *this;}
133 private:
134
135 bool m_enabled;
136 bool m_enabledHasBeenSet = false;
137
138 SAMLIdp m_idp;
139 bool m_idpHasBeenSet = false;
140
141 Aws::String m_masterUserName;
142 bool m_masterUserNameHasBeenSet = false;
143
144 Aws::String m_masterBackendRole;
145 bool m_masterBackendRoleHasBeenSet = false;
146
147 Aws::String m_subjectKey;
148 bool m_subjectKeyHasBeenSet = false;
149
150 Aws::String m_rolesKey;
151 bool m_rolesKeyHasBeenSet = false;
152
153 int m_sessionTimeoutMinutes;
154 bool m_sessionTimeoutMinutesHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace OpenSearchService
159} // namespace Aws
AWS_OPENSEARCHSERVICE_API SAMLOptionsInput()
SAMLOptionsInput & WithIdp(SAMLIdp &&value)
SAMLOptionsInput & WithMasterBackendRole(Aws::String &&value)
SAMLOptionsInput & WithRolesKey(Aws::String &&value)
SAMLOptionsInput & WithMasterUserName(const Aws::String &value)
SAMLOptionsInput & WithRolesKey(const Aws::String &value)
SAMLOptionsInput & WithMasterUserName(Aws::String &&value)
SAMLOptionsInput & WithSubjectKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API SAMLOptionsInput(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SAMLOptionsInput & WithRolesKey(const char *value)
SAMLOptionsInput & WithSubjectKey(Aws::String &&value)
void SetMasterBackendRole(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API SAMLOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
SAMLOptionsInput & WithMasterBackendRole(const Aws::String &value)
void SetMasterUserName(const Aws::String &value)
SAMLOptionsInput & WithMasterUserName(const char *value)
SAMLOptionsInput & WithSubjectKey(const char *value)
SAMLOptionsInput & WithSessionTimeoutMinutes(int value)
SAMLOptionsInput & WithMasterBackendRole(const char *value)
SAMLOptionsInput & WithIdp(const SAMLIdp &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue