AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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