AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
OidcJwtConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
9#include <aws/sso-admin/model/JwksRetrievalOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSOAdmin {
21namespace Model {
22
31 public:
32 AWS_SSOADMIN_API OidcJwtConfiguration() = default;
35 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetIssuerUrl() const { return m_issuerUrl; }
44 inline bool IssuerUrlHasBeenSet() const { return m_issuerUrlHasBeenSet; }
45 template <typename IssuerUrlT = Aws::String>
46 void SetIssuerUrl(IssuerUrlT&& value) {
47 m_issuerUrlHasBeenSet = true;
48 m_issuerUrl = std::forward<IssuerUrlT>(value);
49 }
50 template <typename IssuerUrlT = Aws::String>
51 OidcJwtConfiguration& WithIssuerUrl(IssuerUrlT&& value) {
52 SetIssuerUrl(std::forward<IssuerUrlT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetClaimAttributePath() const { return m_claimAttributePath; }
65 inline bool ClaimAttributePathHasBeenSet() const { return m_claimAttributePathHasBeenSet; }
66 template <typename ClaimAttributePathT = Aws::String>
67 void SetClaimAttributePath(ClaimAttributePathT&& value) {
68 m_claimAttributePathHasBeenSet = true;
69 m_claimAttributePath = std::forward<ClaimAttributePathT>(value);
70 }
71 template <typename ClaimAttributePathT = Aws::String>
72 OidcJwtConfiguration& WithClaimAttributePath(ClaimAttributePathT&& value) {
73 SetClaimAttributePath(std::forward<ClaimAttributePathT>(value));
74 return *this;
75 }
77
79
85 inline const Aws::String& GetIdentityStoreAttributePath() const { return m_identityStoreAttributePath; }
86 inline bool IdentityStoreAttributePathHasBeenSet() const { return m_identityStoreAttributePathHasBeenSet; }
87 template <typename IdentityStoreAttributePathT = Aws::String>
88 void SetIdentityStoreAttributePath(IdentityStoreAttributePathT&& value) {
89 m_identityStoreAttributePathHasBeenSet = true;
90 m_identityStoreAttributePath = std::forward<IdentityStoreAttributePathT>(value);
91 }
92 template <typename IdentityStoreAttributePathT = Aws::String>
93 OidcJwtConfiguration& WithIdentityStoreAttributePath(IdentityStoreAttributePathT&& value) {
94 SetIdentityStoreAttributePath(std::forward<IdentityStoreAttributePathT>(value));
95 return *this;
96 }
98
100
104 inline JwksRetrievalOption GetJwksRetrievalOption() const { return m_jwksRetrievalOption; }
105 inline bool JwksRetrievalOptionHasBeenSet() const { return m_jwksRetrievalOptionHasBeenSet; }
107 m_jwksRetrievalOptionHasBeenSet = true;
108 m_jwksRetrievalOption = value;
109 }
115 private:
116 Aws::String m_issuerUrl;
117
118 Aws::String m_claimAttributePath;
119
120 Aws::String m_identityStoreAttributePath;
121
123 bool m_issuerUrlHasBeenSet = false;
124 bool m_claimAttributePathHasBeenSet = false;
125 bool m_identityStoreAttributePathHasBeenSet = false;
126 bool m_jwksRetrievalOptionHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace SSOAdmin
131} // namespace Aws
OidcJwtConfiguration & WithJwksRetrievalOption(JwksRetrievalOption value)
const Aws::String & GetClaimAttributePath() const
void SetIdentityStoreAttributePath(IdentityStoreAttributePathT &&value)
OidcJwtConfiguration & WithIssuerUrl(IssuerUrlT &&value)
AWS_SSOADMIN_API OidcJwtConfiguration()=default
void SetJwksRetrievalOption(JwksRetrievalOption value)
void SetClaimAttributePath(ClaimAttributePathT &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
OidcJwtConfiguration & WithClaimAttributePath(ClaimAttributePathT &&value)
OidcJwtConfiguration & WithIdentityStoreAttributePath(IdentityStoreAttributePathT &&value)
AWS_SSOADMIN_API OidcJwtConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SSOADMIN_API OidcJwtConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityStoreAttributePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue