AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SubjectKeyT = Aws::String>
58 void SetSubjectKey(SubjectKeyT&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::forward<SubjectKeyT>(value); }
59 template<typename SubjectKeyT = Aws::String>
60 JWTOptionsOutput& WithSubjectKey(SubjectKeyT&& value) { SetSubjectKey(std::forward<SubjectKeyT>(value)); return *this;}
62
64
67 inline const Aws::String& GetRolesKey() const { return m_rolesKey; }
68 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
69 template<typename RolesKeyT = Aws::String>
70 void SetRolesKey(RolesKeyT&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::forward<RolesKeyT>(value); }
71 template<typename RolesKeyT = Aws::String>
72 JWTOptionsOutput& WithRolesKey(RolesKeyT&& value) { SetRolesKey(std::forward<RolesKeyT>(value)); return *this;}
74
76
79 inline const Aws::String& GetPublicKey() const { return m_publicKey; }
80 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
81 template<typename PublicKeyT = Aws::String>
82 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::forward<PublicKeyT>(value); }
83 template<typename PublicKeyT = Aws::String>
84 JWTOptionsOutput& WithPublicKey(PublicKeyT&& value) { SetPublicKey(std::forward<PublicKeyT>(value)); return *this;}
86 private:
87
88 bool m_enabled{false};
89 bool m_enabledHasBeenSet = false;
90
91 Aws::String m_subjectKey;
92 bool m_subjectKeyHasBeenSet = false;
93
94 Aws::String m_rolesKey;
95 bool m_rolesKeyHasBeenSet = false;
96
97 Aws::String m_publicKey;
98 bool m_publicKeyHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace OpenSearchService
103} // namespace Aws
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput()=default
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
JWTOptionsOutput & WithRolesKey(RolesKeyT &&value)
JWTOptionsOutput & WithPublicKey(PublicKeyT &&value)
AWS_OPENSEARCHSERVICE_API JWTOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
JWTOptionsOutput & WithSubjectKey(SubjectKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue