AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OpenIdConnectIdentityTokenConfiguration.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
41 {
42 public:
43 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration() = default;
46 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetPrincipalIdClaim() const { return m_principalIdClaim; }
55 inline bool PrincipalIdClaimHasBeenSet() const { return m_principalIdClaimHasBeenSet; }
56 template<typename PrincipalIdClaimT = Aws::String>
57 void SetPrincipalIdClaim(PrincipalIdClaimT&& value) { m_principalIdClaimHasBeenSet = true; m_principalIdClaim = std::forward<PrincipalIdClaimT>(value); }
58 template<typename PrincipalIdClaimT = Aws::String>
59 OpenIdConnectIdentityTokenConfiguration& WithPrincipalIdClaim(PrincipalIdClaimT&& value) { SetPrincipalIdClaim(std::forward<PrincipalIdClaimT>(value)); return *this;}
61
63
68 inline const Aws::Vector<Aws::String>& GetClientIds() const { return m_clientIds; }
69 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
70 template<typename ClientIdsT = Aws::Vector<Aws::String>>
71 void SetClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::forward<ClientIdsT>(value); }
72 template<typename ClientIdsT = Aws::Vector<Aws::String>>
73 OpenIdConnectIdentityTokenConfiguration& WithClientIds(ClientIdsT&& value) { SetClientIds(std::forward<ClientIdsT>(value)); return *this;}
74 template<typename ClientIdsT = Aws::String>
75 OpenIdConnectIdentityTokenConfiguration& AddClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds.emplace_back(std::forward<ClientIdsT>(value)); return *this; }
77 private:
78
79 Aws::String m_principalIdClaim;
80 bool m_principalIdClaimHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_clientIds;
83 bool m_clientIdsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace VerifiedPermissions
88} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration()=default
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectIdentityTokenConfiguration & WithPrincipalIdClaim(PrincipalIdClaimT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue