AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SAMLOptionsOutput.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 SAMLOptionsOutput();
37 AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput& 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 SAMLOptionsOutput& 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 SAMLOptionsOutput& WithIdp(const SAMLIdp& value) { SetIdp(value); return *this;}
61 inline SAMLOptionsOutput& WithIdp(SAMLIdp&& value) { SetIdp(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetSubjectKey() const{ return m_subjectKey; }
69 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
70 inline void SetSubjectKey(const Aws::String& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
71 inline void SetSubjectKey(Aws::String&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
72 inline void SetSubjectKey(const char* value) { m_subjectKeyHasBeenSet = true; m_subjectKey.assign(value); }
73 inline SAMLOptionsOutput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
74 inline SAMLOptionsOutput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
75 inline SAMLOptionsOutput& WithSubjectKey(const char* value) { SetSubjectKey(value); return *this;}
77
79
82 inline const Aws::String& GetRolesKey() const{ return m_rolesKey; }
83 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
84 inline void SetRolesKey(const Aws::String& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
85 inline void SetRolesKey(Aws::String&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
86 inline void SetRolesKey(const char* value) { m_rolesKeyHasBeenSet = true; m_rolesKey.assign(value); }
87 inline SAMLOptionsOutput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
88 inline SAMLOptionsOutput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
89 inline SAMLOptionsOutput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
91
93
96 inline int GetSessionTimeoutMinutes() const{ return m_sessionTimeoutMinutes; }
97 inline bool SessionTimeoutMinutesHasBeenSet() const { return m_sessionTimeoutMinutesHasBeenSet; }
98 inline void SetSessionTimeoutMinutes(int value) { m_sessionTimeoutMinutesHasBeenSet = true; m_sessionTimeoutMinutes = value; }
99 inline SAMLOptionsOutput& WithSessionTimeoutMinutes(int value) { SetSessionTimeoutMinutes(value); return *this;}
101 private:
102
103 bool m_enabled;
104 bool m_enabledHasBeenSet = false;
105
106 SAMLIdp m_idp;
107 bool m_idpHasBeenSet = false;
108
109 Aws::String m_subjectKey;
110 bool m_subjectKeyHasBeenSet = false;
111
112 Aws::String m_rolesKey;
113 bool m_rolesKeyHasBeenSet = false;
114
115 int m_sessionTimeoutMinutes;
116 bool m_sessionTimeoutMinutesHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace OpenSearchService
121} // namespace Aws
SAMLOptionsOutput & WithSubjectKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput()
SAMLOptionsOutput & WithIdp(SAMLIdp &&value)
SAMLOptionsOutput & WithRolesKey(const Aws::String &value)
SAMLOptionsOutput & WithRolesKey(Aws::String &&value)
SAMLOptionsOutput & WithSessionTimeoutMinutes(int value)
AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SAMLOptionsOutput & WithIdp(const SAMLIdp &value)
SAMLOptionsOutput & WithSubjectKey(Aws::String &&value)
SAMLOptionsOutput & WithRolesKey(const char *value)
SAMLOptionsOutput & WithSubjectKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue