AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdpT = SAMLIdp>
59 void SetIdp(IdpT&& value) { m_idpHasBeenSet = true; m_idp = std::forward<IdpT>(value); }
60 template<typename IdpT = SAMLIdp>
61 SAMLOptionsOutput& WithIdp(IdpT&& value) { SetIdp(std::forward<IdpT>(value)); return *this;}
63
65
68 inline const Aws::String& GetSubjectKey() const { return m_subjectKey; }
69 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
70 template<typename SubjectKeyT = Aws::String>
71 void SetSubjectKey(SubjectKeyT&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::forward<SubjectKeyT>(value); }
72 template<typename SubjectKeyT = Aws::String>
73 SAMLOptionsOutput& WithSubjectKey(SubjectKeyT&& value) { SetSubjectKey(std::forward<SubjectKeyT>(value)); return *this;}
75
77
80 inline const Aws::String& GetRolesKey() const { return m_rolesKey; }
81 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
82 template<typename RolesKeyT = Aws::String>
83 void SetRolesKey(RolesKeyT&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::forward<RolesKeyT>(value); }
84 template<typename RolesKeyT = Aws::String>
85 SAMLOptionsOutput& WithRolesKey(RolesKeyT&& value) { SetRolesKey(std::forward<RolesKeyT>(value)); return *this;}
87
89
92 inline int GetSessionTimeoutMinutes() const { return m_sessionTimeoutMinutes; }
93 inline bool SessionTimeoutMinutesHasBeenSet() const { return m_sessionTimeoutMinutesHasBeenSet; }
94 inline void SetSessionTimeoutMinutes(int value) { m_sessionTimeoutMinutesHasBeenSet = true; m_sessionTimeoutMinutes = value; }
95 inline SAMLOptionsOutput& WithSessionTimeoutMinutes(int value) { SetSessionTimeoutMinutes(value); return *this;}
97 private:
98
99 bool m_enabled{false};
100 bool m_enabledHasBeenSet = false;
101
102 SAMLIdp m_idp;
103 bool m_idpHasBeenSet = false;
104
105 Aws::String m_subjectKey;
106 bool m_subjectKeyHasBeenSet = false;
107
108 Aws::String m_rolesKey;
109 bool m_rolesKeyHasBeenSet = false;
110
111 int m_sessionTimeoutMinutes{0};
112 bool m_sessionTimeoutMinutesHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace OpenSearchService
117} // namespace Aws
SAMLOptionsOutput & WithSessionTimeoutMinutes(int value)
AWS_OPENSEARCHSERVICE_API SAMLOptionsOutput()=default
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 & WithRolesKey(RolesKeyT &&value)
SAMLOptionsOutput & WithSubjectKey(SubjectKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue