AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPrincipalIdClaim(const Aws::String& value) { m_principalIdClaimHasBeenSet = true; m_principalIdClaim = value; }
57 inline void SetPrincipalIdClaim(Aws::String&& value) { m_principalIdClaimHasBeenSet = true; m_principalIdClaim = std::move(value); }
58 inline void SetPrincipalIdClaim(const char* value) { m_principalIdClaimHasBeenSet = true; m_principalIdClaim.assign(value); }
61 inline OpenIdConnectIdentityTokenConfiguration& WithPrincipalIdClaim(const char* value) { SetPrincipalIdClaim(value); return *this;}
63
65
70 inline const Aws::Vector<Aws::String>& GetClientIds() const{ return m_clientIds; }
71 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
72 inline void SetClientIds(const Aws::Vector<Aws::String>& value) { m_clientIdsHasBeenSet = true; m_clientIds = value; }
73 inline void SetClientIds(Aws::Vector<Aws::String>&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::move(value); }
76 inline OpenIdConnectIdentityTokenConfiguration& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
77 inline OpenIdConnectIdentityTokenConfiguration& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; }
78 inline OpenIdConnectIdentityTokenConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
80 private:
81
82 Aws::String m_principalIdClaim;
83 bool m_principalIdClaimHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_clientIds;
86 bool m_clientIdsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace VerifiedPermissions
91} // namespace Aws
OpenIdConnectIdentityTokenConfiguration & WithPrincipalIdClaim(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectIdentityTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectIdentityTokenConfiguration & AddClientIds(const Aws::String &value)
OpenIdConnectIdentityTokenConfiguration & WithClientIds(const Aws::Vector< Aws::String > &value)
OpenIdConnectIdentityTokenConfiguration & WithPrincipalIdClaim(const Aws::String &value)
OpenIdConnectIdentityTokenConfiguration & WithClientIds(Aws::Vector< Aws::String > &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
OpenIdConnectIdentityTokenConfiguration & WithPrincipalIdClaim(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue