AWS SDK for C++  1.9.97
AWS SDK for C++
SAMLOptionsInput.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/es/model/SAMLIdp.h>
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 
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 SAMLOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
61 
62 
66  inline const SAMLIdp& GetIdp() const{ return m_idp; }
67 
71  inline bool IdpHasBeenSet() const { return m_idpHasBeenSet; }
72 
76  inline void SetIdp(const SAMLIdp& value) { m_idpHasBeenSet = true; m_idp = value; }
77 
81  inline void SetIdp(SAMLIdp&& value) { m_idpHasBeenSet = true; m_idp = std::move(value); }
82 
86  inline SAMLOptionsInput& WithIdp(const SAMLIdp& value) { SetIdp(value); return *this;}
87 
91  inline SAMLOptionsInput& WithIdp(SAMLIdp&& value) { SetIdp(std::move(value)); return *this;}
92 
93 
98  inline const Aws::String& GetMasterUserName() const{ return m_masterUserName; }
99 
104  inline bool MasterUserNameHasBeenSet() const { return m_masterUserNameHasBeenSet; }
105 
110  inline void SetMasterUserName(const Aws::String& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = value; }
111 
116  inline void SetMasterUserName(Aws::String&& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = std::move(value); }
117 
122  inline void SetMasterUserName(const char* value) { m_masterUserNameHasBeenSet = true; m_masterUserName.assign(value); }
123 
128  inline SAMLOptionsInput& WithMasterUserName(const Aws::String& value) { SetMasterUserName(value); return *this;}
129 
134  inline SAMLOptionsInput& WithMasterUserName(Aws::String&& value) { SetMasterUserName(std::move(value)); return *this;}
135 
140  inline SAMLOptionsInput& WithMasterUserName(const char* value) { SetMasterUserName(value); return *this;}
141 
142 
146  inline const Aws::String& GetMasterBackendRole() const{ return m_masterBackendRole; }
147 
151  inline bool MasterBackendRoleHasBeenSet() const { return m_masterBackendRoleHasBeenSet; }
152 
156  inline void SetMasterBackendRole(const Aws::String& value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole = value; }
157 
161  inline void SetMasterBackendRole(Aws::String&& value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole = std::move(value); }
162 
166  inline void SetMasterBackendRole(const char* value) { m_masterBackendRoleHasBeenSet = true; m_masterBackendRole.assign(value); }
167 
171  inline SAMLOptionsInput& WithMasterBackendRole(const Aws::String& value) { SetMasterBackendRole(value); return *this;}
172 
176  inline SAMLOptionsInput& WithMasterBackendRole(Aws::String&& value) { SetMasterBackendRole(std::move(value)); return *this;}
177 
181  inline SAMLOptionsInput& WithMasterBackendRole(const char* value) { SetMasterBackendRole(value); return *this;}
182 
183 
187  inline const Aws::String& GetSubjectKey() const{ return m_subjectKey; }
188 
192  inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
193 
197  inline void SetSubjectKey(const Aws::String& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
198 
202  inline void SetSubjectKey(Aws::String&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
203 
207  inline void SetSubjectKey(const char* value) { m_subjectKeyHasBeenSet = true; m_subjectKey.assign(value); }
208 
212  inline SAMLOptionsInput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
213 
217  inline SAMLOptionsInput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
218 
222  inline SAMLOptionsInput& WithSubjectKey(const char* value) { SetSubjectKey(value); return *this;}
223 
224 
228  inline const Aws::String& GetRolesKey() const{ return m_rolesKey; }
229 
233  inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
234 
238  inline void SetRolesKey(const Aws::String& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
239 
243  inline void SetRolesKey(Aws::String&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
244 
248  inline void SetRolesKey(const char* value) { m_rolesKeyHasBeenSet = true; m_rolesKey.assign(value); }
249 
253  inline SAMLOptionsInput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
254 
258  inline SAMLOptionsInput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
259 
263  inline SAMLOptionsInput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
264 
265 
270  inline int GetSessionTimeoutMinutes() const{ return m_sessionTimeoutMinutes; }
271 
276  inline bool SessionTimeoutMinutesHasBeenSet() const { return m_sessionTimeoutMinutesHasBeenSet; }
277 
282  inline void SetSessionTimeoutMinutes(int value) { m_sessionTimeoutMinutesHasBeenSet = true; m_sessionTimeoutMinutes = value; }
283 
288  inline SAMLOptionsInput& WithSessionTimeoutMinutes(int value) { SetSessionTimeoutMinutes(value); return *this;}
289 
290  private:
291 
292  bool m_enabled;
293  bool m_enabledHasBeenSet;
294 
295  SAMLIdp m_idp;
296  bool m_idpHasBeenSet;
297 
298  Aws::String m_masterUserName;
299  bool m_masterUserNameHasBeenSet;
300 
301  Aws::String m_masterBackendRole;
302  bool m_masterBackendRoleHasBeenSet;
303 
304  Aws::String m_subjectKey;
305  bool m_subjectKeyHasBeenSet;
306 
307  Aws::String m_rolesKey;
308  bool m_rolesKeyHasBeenSet;
309 
310  int m_sessionTimeoutMinutes;
311  bool m_sessionTimeoutMinutesHasBeenSet;
312  };
313 
314 } // namespace Model
315 } // namespace ElasticsearchService
316 } // namespace Aws
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithIdp
SAMLOptionsInput & WithIdp(SAMLIdp &&value)
Definition: SAMLOptionsInput.h:91
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterBackendRole
void SetMasterBackendRole(const char *value)
Definition: SAMLOptionsInput.h:166
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetIdp
void SetIdp(SAMLIdp &&value)
Definition: SAMLOptionsInput.h:81
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterBackendRole
SAMLOptionsInput & WithMasterBackendRole(const char *value)
Definition: SAMLOptionsInput.h:181
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterUserName
void SetMasterUserName(const Aws::String &value)
Definition: SAMLOptionsInput.h:110
Aws::ElasticsearchService::Model::SAMLOptionsInput::SAMLOptionsInput
SAMLOptionsInput(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterBackendRole
SAMLOptionsInput & WithMasterBackendRole(const Aws::String &value)
Definition: SAMLOptionsInput.h:171
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetRolesKey
const Aws::String & GetRolesKey() const
Definition: SAMLOptionsInput.h:228
Aws::ElasticsearchService::Model::SAMLOptionsInput
Definition: SAMLOptionsInput.h:34
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetSubjectKey
const Aws::String & GetSubjectKey() const
Definition: SAMLOptionsInput.h:187
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithRolesKey
SAMLOptionsInput & WithRolesKey(const char *value)
Definition: SAMLOptionsInput.h:263
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterUserName
SAMLOptionsInput & WithMasterUserName(Aws::String &&value)
Definition: SAMLOptionsInput.h:134
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetIdp
void SetIdp(const SAMLIdp &value)
Definition: SAMLOptionsInput.h:76
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterBackendRole
SAMLOptionsInput & WithMasterBackendRole(Aws::String &&value)
Definition: SAMLOptionsInput.h:176
Aws::ElasticsearchService::Model::SAMLOptionsInput::MasterUserNameHasBeenSet
bool MasterUserNameHasBeenSet() const
Definition: SAMLOptionsInput.h:104
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetSubjectKey
void SetSubjectKey(const char *value)
Definition: SAMLOptionsInput.h:207
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetSessionTimeoutMinutes
int GetSessionTimeoutMinutes() const
Definition: SAMLOptionsInput.h:270
SAMLIdp.h
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterUserName
void SetMasterUserName(Aws::String &&value)
Definition: SAMLOptionsInput.h:116
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterBackendRole
void SetMasterBackendRole(Aws::String &&value)
Definition: SAMLOptionsInput.h:161
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetIdp
const SAMLIdp & GetIdp() const
Definition: SAMLOptionsInput.h:66
Aws::ElasticsearchService::Model::SAMLIdp
Definition: SAMLIdp.h:32
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithRolesKey
SAMLOptionsInput & WithRolesKey(Aws::String &&value)
Definition: SAMLOptionsInput.h:258
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterBackendRole
void SetMasterBackendRole(const Aws::String &value)
Definition: SAMLOptionsInput.h:156
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithSubjectKey
SAMLOptionsInput & WithSubjectKey(const char *value)
Definition: SAMLOptionsInput.h:222
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetRolesKey
void SetRolesKey(const char *value)
Definition: SAMLOptionsInput.h:248
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetEnabled
bool GetEnabled() const
Definition: SAMLOptionsInput.h:45
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetRolesKey
void SetRolesKey(const Aws::String &value)
Definition: SAMLOptionsInput.h:238
Aws::ElasticsearchService::Model::SAMLOptionsInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ElasticsearchService::Model::SAMLOptionsInput::operator=
SAMLOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetSessionTimeoutMinutes
void SetSessionTimeoutMinutes(int value)
Definition: SAMLOptionsInput.h:282
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetMasterUserName
const Aws::String & GetMasterUserName() const
Definition: SAMLOptionsInput.h:98
Aws::ElasticsearchService::Model::SAMLOptionsInput::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: SAMLOptionsInput.h:50
Aws::ElasticsearchService::Model::SAMLOptionsInput::GetMasterBackendRole
const Aws::String & GetMasterBackendRole() const
Definition: SAMLOptionsInput.h:146
Aws::ElasticsearchService::Model::SAMLOptionsInput::SessionTimeoutMinutesHasBeenSet
bool SessionTimeoutMinutesHasBeenSet() const
Definition: SAMLOptionsInput.h:276
Aws::ElasticsearchService::Model::SAMLOptionsInput::SAMLOptionsInput
SAMLOptionsInput()
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetSubjectKey
void SetSubjectKey(const Aws::String &value)
Definition: SAMLOptionsInput.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetMasterUserName
void SetMasterUserName(const char *value)
Definition: SAMLOptionsInput.h:122
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetEnabled
void SetEnabled(bool value)
Definition: SAMLOptionsInput.h:55
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetRolesKey
void SetRolesKey(Aws::String &&value)
Definition: SAMLOptionsInput.h:243
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithRolesKey
SAMLOptionsInput & WithRolesKey(const Aws::String &value)
Definition: SAMLOptionsInput.h:253
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::SAMLOptionsInput::IdpHasBeenSet
bool IdpHasBeenSet() const
Definition: SAMLOptionsInput.h:71
Aws::ElasticsearchService::Model::SAMLOptionsInput::SubjectKeyHasBeenSet
bool SubjectKeyHasBeenSet() const
Definition: SAMLOptionsInput.h:192
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithSubjectKey
SAMLOptionsInput & WithSubjectKey(const Aws::String &value)
Definition: SAMLOptionsInput.h:212
Aws::ElasticsearchService::Model::SAMLOptionsInput::SetSubjectKey
void SetSubjectKey(Aws::String &&value)
Definition: SAMLOptionsInput.h:202
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterUserName
SAMLOptionsInput & WithMasterUserName(const char *value)
Definition: SAMLOptionsInput.h:140
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithSessionTimeoutMinutes
SAMLOptionsInput & WithSessionTimeoutMinutes(int value)
Definition: SAMLOptionsInput.h:288
Aws::ElasticsearchService::Model::SAMLOptionsInput::RolesKeyHasBeenSet
bool RolesKeyHasBeenSet() const
Definition: SAMLOptionsInput.h:233
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithMasterUserName
SAMLOptionsInput & WithMasterUserName(const Aws::String &value)
Definition: SAMLOptionsInput.h:128
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithIdp
SAMLOptionsInput & WithIdp(const SAMLIdp &value)
Definition: SAMLOptionsInput.h:86
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithEnabled
SAMLOptionsInput & WithEnabled(bool value)
Definition: SAMLOptionsInput.h:60
Aws::ElasticsearchService::Model::SAMLOptionsInput::WithSubjectKey
SAMLOptionsInput & WithSubjectKey(Aws::String &&value)
Definition: SAMLOptionsInput.h:217
Aws::ElasticsearchService::Model::SAMLOptionsInput::MasterBackendRoleHasBeenSet
bool MasterBackendRoleHasBeenSet() const
Definition: SAMLOptionsInput.h:151