AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JWTOptionsInput.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API JWTOptionsInput();
36 AWS_OPENSEARCHSERVICE_API JWTOptionsInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API JWTOptionsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const{ return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline JWTOptionsInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
55 inline const Aws::String& GetSubjectKey() const{ return m_subjectKey; }
56 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
57 inline void SetSubjectKey(const Aws::String& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
58 inline void SetSubjectKey(Aws::String&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
59 inline void SetSubjectKey(const char* value) { m_subjectKeyHasBeenSet = true; m_subjectKey.assign(value); }
60 inline JWTOptionsInput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
61 inline JWTOptionsInput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
62 inline JWTOptionsInput& WithSubjectKey(const char* value) { SetSubjectKey(value); return *this;}
64
66
69 inline const Aws::String& GetRolesKey() const{ return m_rolesKey; }
70 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
71 inline void SetRolesKey(const Aws::String& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
72 inline void SetRolesKey(Aws::String&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
73 inline void SetRolesKey(const char* value) { m_rolesKeyHasBeenSet = true; m_rolesKey.assign(value); }
74 inline JWTOptionsInput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
75 inline JWTOptionsInput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
76 inline JWTOptionsInput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
78
80
84 inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
85 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
86 inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
87 inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
88 inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
89 inline JWTOptionsInput& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
90 inline JWTOptionsInput& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
91 inline JWTOptionsInput& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
93 private:
94
95 bool m_enabled;
96 bool m_enabledHasBeenSet = false;
97
98 Aws::String m_subjectKey;
99 bool m_subjectKeyHasBeenSet = false;
100
101 Aws::String m_rolesKey;
102 bool m_rolesKeyHasBeenSet = false;
103
104 Aws::String m_publicKey;
105 bool m_publicKeyHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace OpenSearchService
110} // namespace Aws
JWTOptionsInput & WithSubjectKey(const Aws::String &value)
JWTOptionsInput & WithSubjectKey(const char *value)
void SetSubjectKey(const Aws::String &value)
JWTOptionsInput & WithSubjectKey(Aws::String &&value)
JWTOptionsInput & WithRolesKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API JWTOptionsInput(Aws::Utils::Json::JsonView jsonValue)
JWTOptionsInput & WithPublicKey(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API JWTOptionsInput()
void SetRolesKey(const Aws::String &value)
void SetPublicKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
JWTOptionsInput & WithRolesKey(Aws::String &&value)
JWTOptionsInput & WithRolesKey(const char *value)
JWTOptionsInput & WithPublicKey(const char *value)
AWS_OPENSEARCHSERVICE_API JWTOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
JWTOptionsInput & WithPublicKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue