AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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