AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenIdConnectTokenSelectionDetail.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/OpenIdConnectAccessTokenConfigurationDetail.h>
9#include <aws/verifiedpermissions/model/OpenIdConnectIdentityTokenConfigurationDetail.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 OpenIdConnectTokenSelectionDetail();
42 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelectionDetail(Aws::Utils::Json::JsonView jsonValue);
44 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const OpenIdConnectAccessTokenConfigurationDetail& GetAccessTokenOnly() const{ return m_accessTokenOnly; }
54 inline bool AccessTokenOnlyHasBeenSet() const { return m_accessTokenOnlyHasBeenSet; }
55 inline void SetAccessTokenOnly(const OpenIdConnectAccessTokenConfigurationDetail& value) { m_accessTokenOnlyHasBeenSet = true; m_accessTokenOnly = value; }
56 inline void SetAccessTokenOnly(OpenIdConnectAccessTokenConfigurationDetail&& value) { m_accessTokenOnlyHasBeenSet = true; m_accessTokenOnly = std::move(value); }
60
62
67 inline const OpenIdConnectIdentityTokenConfigurationDetail& GetIdentityTokenOnly() const{ return m_identityTokenOnly; }
68 inline bool IdentityTokenOnlyHasBeenSet() const { return m_identityTokenOnlyHasBeenSet; }
69 inline void SetIdentityTokenOnly(const OpenIdConnectIdentityTokenConfigurationDetail& value) { m_identityTokenOnlyHasBeenSet = true; m_identityTokenOnly = value; }
70 inline void SetIdentityTokenOnly(OpenIdConnectIdentityTokenConfigurationDetail&& 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 OpenIdConnectTokenSelectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelectionDetail(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectTokenSelectionDetail & WithAccessTokenOnly(OpenIdConnectAccessTokenConfigurationDetail &&value)
void SetIdentityTokenOnly(OpenIdConnectIdentityTokenConfigurationDetail &&value)
void SetAccessTokenOnly(OpenIdConnectAccessTokenConfigurationDetail &&value)
const OpenIdConnectAccessTokenConfigurationDetail & GetAccessTokenOnly() const
void SetIdentityTokenOnly(const OpenIdConnectIdentityTokenConfigurationDetail &value)
OpenIdConnectTokenSelectionDetail & WithIdentityTokenOnly(OpenIdConnectIdentityTokenConfigurationDetail &&value)
const OpenIdConnectIdentityTokenConfigurationDetail & GetIdentityTokenOnly() const
OpenIdConnectTokenSelectionDetail & WithIdentityTokenOnly(const OpenIdConnectIdentityTokenConfigurationDetail &value)
void SetAccessTokenOnly(const OpenIdConnectAccessTokenConfigurationDetail &value)
OpenIdConnectTokenSelectionDetail & WithAccessTokenOnly(const OpenIdConnectAccessTokenConfigurationDetail &value)
Aws::Utils::Json::JsonValue JsonValue