AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenIdConnectAccessTokenConfiguration.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 OpenIdConnectAccessTokenConfiguration();
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 OpenIdConnectAccessTokenConfiguration& WithPrincipalIdClaim(const char* value) { SetPrincipalIdClaim(value); return *this;}
63
65
70 inline const Aws::Vector<Aws::String>& GetAudiences() const{ return m_audiences; }
71 inline bool AudiencesHasBeenSet() const { return m_audiencesHasBeenSet; }
72 inline void SetAudiences(const Aws::Vector<Aws::String>& value) { m_audiencesHasBeenSet = true; m_audiences = value; }
73 inline void SetAudiences(Aws::Vector<Aws::String>&& value) { m_audiencesHasBeenSet = true; m_audiences = std::move(value); }
76 inline OpenIdConnectAccessTokenConfiguration& AddAudiences(const Aws::String& value) { m_audiencesHasBeenSet = true; m_audiences.push_back(value); return *this; }
77 inline OpenIdConnectAccessTokenConfiguration& AddAudiences(Aws::String&& value) { m_audiencesHasBeenSet = true; m_audiences.push_back(std::move(value)); return *this; }
78 inline OpenIdConnectAccessTokenConfiguration& AddAudiences(const char* value) { m_audiencesHasBeenSet = true; m_audiences.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_audiences;
86 bool m_audiencesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace VerifiedPermissions
91} // namespace Aws
OpenIdConnectAccessTokenConfiguration & WithPrincipalIdClaim(const char *value)
OpenIdConnectAccessTokenConfiguration & AddAudiences(const Aws::String &value)
OpenIdConnectAccessTokenConfiguration & WithAudiences(const Aws::Vector< Aws::String > &value)
OpenIdConnectAccessTokenConfiguration & AddAudiences(Aws::String &&value)
OpenIdConnectAccessTokenConfiguration & WithPrincipalIdClaim(Aws::String &&value)
OpenIdConnectAccessTokenConfiguration & WithAudiences(Aws::Vector< Aws::String > &&value)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectAccessTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
OpenIdConnectAccessTokenConfiguration & WithPrincipalIdClaim(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectAccessTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue