AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenIdConnectTokenSelection.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/OpenIdConnectAccessTokenConfiguration.h>
9#include <aws/verifiedpermissions/model/OpenIdConnectIdentityTokenConfiguration.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 VerifiedPermissions
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection();
42 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection(Aws::Utils::Json::JsonView jsonValue);
43 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const OpenIdConnectAccessTokenConfiguration& GetAccessTokenOnly() const{ return m_accessTokenOnly; }
54 inline bool AccessTokenOnlyHasBeenSet() const { return m_accessTokenOnlyHasBeenSet; }
55 inline void SetAccessTokenOnly(const OpenIdConnectAccessTokenConfiguration& value) { m_accessTokenOnlyHasBeenSet = true; m_accessTokenOnly = value; }
56 inline void SetAccessTokenOnly(OpenIdConnectAccessTokenConfiguration&& value) { m_accessTokenOnlyHasBeenSet = true; m_accessTokenOnly = std::move(value); }
60
62
67 inline const OpenIdConnectIdentityTokenConfiguration& GetIdentityTokenOnly() const{ return m_identityTokenOnly; }
68 inline bool IdentityTokenOnlyHasBeenSet() const { return m_identityTokenOnlyHasBeenSet; }
69 inline void SetIdentityTokenOnly(const OpenIdConnectIdentityTokenConfiguration& value) { m_identityTokenOnlyHasBeenSet = true; m_identityTokenOnly = value; }
70 inline void SetIdentityTokenOnly(OpenIdConnectIdentityTokenConfiguration&& value) { m_identityTokenOnlyHasBeenSet = true; m_identityTokenOnly = std::move(value); }
74 private:
75
77 bool m_accessTokenOnlyHasBeenSet = false;
78
80 bool m_identityTokenOnlyHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace VerifiedPermissions
85} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectTokenSelection & WithIdentityTokenOnly(const OpenIdConnectIdentityTokenConfiguration &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentityTokenOnly(OpenIdConnectIdentityTokenConfiguration &&value)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectTokenSelection & WithIdentityTokenOnly(OpenIdConnectIdentityTokenConfiguration &&value)
const OpenIdConnectIdentityTokenConfiguration & GetIdentityTokenOnly() const
void SetAccessTokenOnly(const OpenIdConnectAccessTokenConfiguration &value)
OpenIdConnectTokenSelection & WithAccessTokenOnly(OpenIdConnectAccessTokenConfiguration &&value)
void SetIdentityTokenOnly(const OpenIdConnectIdentityTokenConfiguration &value)
OpenIdConnectTokenSelection & WithAccessTokenOnly(const OpenIdConnectAccessTokenConfiguration &value)
const OpenIdConnectAccessTokenConfiguration & GetAccessTokenOnly() const
void SetAccessTokenOnly(OpenIdConnectAccessTokenConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue