AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
OpenIdConnectConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
9#include <aws/verifiedpermissions/model/OpenIdConnectGroupConfiguration.h>
10#include <aws/verifiedpermissions/model/OpenIdConnectTokenSelection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VerifiedPermissions {
22namespace Model {
23
37 public:
38 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration() = default;
39 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
49 inline const Aws::String& GetIssuer() const { return m_issuer; }
50 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
51 template <typename IssuerT = Aws::String>
52 void SetIssuer(IssuerT&& value) {
53 m_issuerHasBeenSet = true;
54 m_issuer = std::forward<IssuerT>(value);
55 }
56 template <typename IssuerT = Aws::String>
58 SetIssuer(std::forward<IssuerT>(value));
59 return *this;
60 }
62
64
70 inline const Aws::String& GetEntityIdPrefix() const { return m_entityIdPrefix; }
71 inline bool EntityIdPrefixHasBeenSet() const { return m_entityIdPrefixHasBeenSet; }
72 template <typename EntityIdPrefixT = Aws::String>
73 void SetEntityIdPrefix(EntityIdPrefixT&& value) {
74 m_entityIdPrefixHasBeenSet = true;
75 m_entityIdPrefix = std::forward<EntityIdPrefixT>(value);
76 }
77 template <typename EntityIdPrefixT = Aws::String>
79 SetEntityIdPrefix(std::forward<EntityIdPrefixT>(value));
80 return *this;
81 }
83
85
91 inline const OpenIdConnectGroupConfiguration& GetGroupConfiguration() const { return m_groupConfiguration; }
92 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
93 template <typename GroupConfigurationT = OpenIdConnectGroupConfiguration>
94 void SetGroupConfiguration(GroupConfigurationT&& value) {
95 m_groupConfigurationHasBeenSet = true;
96 m_groupConfiguration = std::forward<GroupConfigurationT>(value);
97 }
98 template <typename GroupConfigurationT = OpenIdConnectGroupConfiguration>
99 OpenIdConnectConfiguration& WithGroupConfiguration(GroupConfigurationT&& value) {
100 SetGroupConfiguration(std::forward<GroupConfigurationT>(value));
101 return *this;
102 }
104
106
111 inline const OpenIdConnectTokenSelection& GetTokenSelection() const { return m_tokenSelection; }
112 inline bool TokenSelectionHasBeenSet() const { return m_tokenSelectionHasBeenSet; }
113 template <typename TokenSelectionT = OpenIdConnectTokenSelection>
114 void SetTokenSelection(TokenSelectionT&& value) {
115 m_tokenSelectionHasBeenSet = true;
116 m_tokenSelection = std::forward<TokenSelectionT>(value);
117 }
118 template <typename TokenSelectionT = OpenIdConnectTokenSelection>
120 SetTokenSelection(std::forward<TokenSelectionT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_issuer;
126
127 Aws::String m_entityIdPrefix;
128
129 OpenIdConnectGroupConfiguration m_groupConfiguration;
130
131 OpenIdConnectTokenSelection m_tokenSelection;
132 bool m_issuerHasBeenSet = false;
133 bool m_entityIdPrefixHasBeenSet = false;
134 bool m_groupConfigurationHasBeenSet = false;
135 bool m_tokenSelectionHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace VerifiedPermissions
140} // namespace Aws
OpenIdConnectConfiguration & WithGroupConfiguration(GroupConfigurationT &&value)
const OpenIdConnectGroupConfiguration & GetGroupConfiguration() const
OpenIdConnectConfiguration & WithEntityIdPrefix(EntityIdPrefixT &&value)
OpenIdConnectConfiguration & WithTokenSelection(TokenSelectionT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration()=default
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue