AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JWTOptionsOutput.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 JWTOptionsOutput();
36 AWS_OPENSEARCHSERVICE_API JWTOptionsOutput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API JWTOptionsOutput& 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 JWTOptionsOutput& 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 JWTOptionsOutput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
61 inline JWTOptionsOutput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
62 inline JWTOptionsOutput& 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 JWTOptionsOutput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
75 inline JWTOptionsOutput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
76 inline JWTOptionsOutput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
78
80
83 inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
84 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
85 inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
86 inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
87 inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
88 inline JWTOptionsOutput& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
89 inline JWTOptionsOutput& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
90 inline JWTOptionsOutput& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
92 private:
93
94 bool m_enabled;
95 bool m_enabledHasBeenSet = false;
96
97 Aws::String m_subjectKey;
98 bool m_subjectKeyHasBeenSet = false;
99
100 Aws::String m_rolesKey;
101 bool m_rolesKeyHasBeenSet = false;
102
103 Aws::String m_publicKey;
104 bool m_publicKeyHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace OpenSearchService
109} // namespace Aws
JWTOptionsOutput & WithPublicKey(const char *value)
JWTOptionsOutput & WithSubjectKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
JWTOptionsOutput & WithRolesKey(Aws::String &&value)
JWTOptionsOutput & WithSubjectKey(Aws::String &&value)
JWTOptionsOutput & WithPublicKey(const Aws::String &value)
JWTOptionsOutput & WithSubjectKey(const char *value)
JWTOptionsOutput & WithRolesKey(const char *value)
JWTOptionsOutput & WithRolesKey(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput()
JWTOptionsOutput & WithPublicKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue