AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
DpopJwk.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/JwkEllipticCurve.h>
9#include <aws/bedrock-agentcore/model/JwkKeyType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentCore {
22namespace Model {
23
31class DpopJwk {
32 public:
33 AWS_BEDROCKAGENTCORE_API DpopJwk() = default;
34 AWS_BEDROCKAGENTCORE_API DpopJwk(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API DpopJwk& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline JwkKeyType GetKty() const { return m_kty; }
43 inline bool KtyHasBeenSet() const { return m_ktyHasBeenSet; }
44 inline void SetKty(JwkKeyType value) {
45 m_ktyHasBeenSet = true;
46 m_kty = value;
47 }
48 inline DpopJwk& WithKty(JwkKeyType value) {
49 SetKty(value);
50 return *this;
51 }
53
55
58 inline JwkEllipticCurve GetCrv() const { return m_crv; }
59 inline bool CrvHasBeenSet() const { return m_crvHasBeenSet; }
60 inline void SetCrv(JwkEllipticCurve value) {
61 m_crvHasBeenSet = true;
62 m_crv = value;
63 }
65 SetCrv(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetX() const { return m_x; }
75 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
76 template <typename XT = Aws::String>
77 void SetX(XT&& value) {
78 m_xHasBeenSet = true;
79 m_x = std::forward<XT>(value);
80 }
81 template <typename XT = Aws::String>
82 DpopJwk& WithX(XT&& value) {
83 SetX(std::forward<XT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetY() const { return m_y; }
93 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
94 template <typename YT = Aws::String>
95 void SetY(YT&& value) {
96 m_yHasBeenSet = true;
97 m_y = std::forward<YT>(value);
98 }
99 template <typename YT = Aws::String>
100 DpopJwk& WithY(YT&& value) {
101 SetY(std::forward<YT>(value));
102 return *this;
103 }
105 private:
107
109
110 Aws::String m_x;
111
112 Aws::String m_y;
113 bool m_ktyHasBeenSet = false;
114 bool m_crvHasBeenSet = false;
115 bool m_xHasBeenSet = false;
116 bool m_yHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace BedrockAgentCore
121} // namespace Aws
void SetKty(JwkKeyType value)
Definition DpopJwk.h:44
const Aws::String & GetX() const
Definition DpopJwk.h:74
AWS_BEDROCKAGENTCORE_API DpopJwk(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API DpopJwk()=default
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
DpopJwk & WithCrv(JwkEllipticCurve value)
Definition DpopJwk.h:64
DpopJwk & WithY(YT &&value)
Definition DpopJwk.h:100
AWS_BEDROCKAGENTCORE_API DpopJwk & operator=(Aws::Utils::Json::JsonView jsonValue)
DpopJwk & WithX(XT &&value)
Definition DpopJwk.h:82
void SetCrv(JwkEllipticCurve value)
Definition DpopJwk.h:60
const Aws::String & GetY() const
Definition DpopJwk.h:92
JwkEllipticCurve GetCrv() const
Definition DpopJwk.h:58
DpopJwk & WithKty(JwkKeyType value)
Definition DpopJwk.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue