AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NativeApplicationOidcOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28 public:
29 AWS_EC2_API NativeApplicationOidcOptions() = default;
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const Aws::String& GetPublicSigningKeyEndpoint() const { return m_publicSigningKeyEndpoint; }
41 inline bool PublicSigningKeyEndpointHasBeenSet() const { return m_publicSigningKeyEndpointHasBeenSet; }
42 template <typename PublicSigningKeyEndpointT = Aws::String>
43 void SetPublicSigningKeyEndpoint(PublicSigningKeyEndpointT&& value) {
44 m_publicSigningKeyEndpointHasBeenSet = true;
45 m_publicSigningKeyEndpoint = std::forward<PublicSigningKeyEndpointT>(value);
46 }
47 template <typename PublicSigningKeyEndpointT = Aws::String>
48 NativeApplicationOidcOptions& WithPublicSigningKeyEndpoint(PublicSigningKeyEndpointT&& value) {
49 SetPublicSigningKeyEndpoint(std::forward<PublicSigningKeyEndpointT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIssuer() const { return m_issuer; }
59 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
60 template <typename IssuerT = Aws::String>
61 void SetIssuer(IssuerT&& value) {
62 m_issuerHasBeenSet = true;
63 m_issuer = std::forward<IssuerT>(value);
64 }
65 template <typename IssuerT = Aws::String>
67 SetIssuer(std::forward<IssuerT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
77 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
78 template <typename AuthorizationEndpointT = Aws::String>
79 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) {
80 m_authorizationEndpointHasBeenSet = true;
81 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
82 }
83 template <typename AuthorizationEndpointT = Aws::String>
85 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
95 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
96 template <typename TokenEndpointT = Aws::String>
97 void SetTokenEndpoint(TokenEndpointT&& value) {
98 m_tokenEndpointHasBeenSet = true;
99 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
100 }
101 template <typename TokenEndpointT = Aws::String>
103 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetUserInfoEndpoint() const { return m_userInfoEndpoint; }
113 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
114 template <typename UserInfoEndpointT = Aws::String>
115 void SetUserInfoEndpoint(UserInfoEndpointT&& value) {
116 m_userInfoEndpointHasBeenSet = true;
117 m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value);
118 }
119 template <typename UserInfoEndpointT = Aws::String>
121 SetUserInfoEndpoint(std::forward<UserInfoEndpointT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetClientId() const { return m_clientId; }
131 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
132 template <typename ClientIdT = Aws::String>
133 void SetClientId(ClientIdT&& value) {
134 m_clientIdHasBeenSet = true;
135 m_clientId = std::forward<ClientIdT>(value);
136 }
137 template <typename ClientIdT = Aws::String>
139 SetClientId(std::forward<ClientIdT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetScope() const { return m_scope; }
149 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
150 template <typename ScopeT = Aws::String>
151 void SetScope(ScopeT&& value) {
152 m_scopeHasBeenSet = true;
153 m_scope = std::forward<ScopeT>(value);
154 }
155 template <typename ScopeT = Aws::String>
157 SetScope(std::forward<ScopeT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_publicSigningKeyEndpoint;
163
164 Aws::String m_issuer;
165
166 Aws::String m_authorizationEndpoint;
167
168 Aws::String m_tokenEndpoint;
169
170 Aws::String m_userInfoEndpoint;
171
172 Aws::String m_clientId;
173
174 Aws::String m_scope;
175 bool m_publicSigningKeyEndpointHasBeenSet = false;
176 bool m_issuerHasBeenSet = false;
177 bool m_authorizationEndpointHasBeenSet = false;
178 bool m_tokenEndpointHasBeenSet = false;
179 bool m_userInfoEndpointHasBeenSet = false;
180 bool m_clientIdHasBeenSet = false;
181 bool m_scopeHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace EC2
186} // namespace Aws
NativeApplicationOidcOptions & WithUserInfoEndpoint(UserInfoEndpointT &&value)
AWS_EC2_API NativeApplicationOidcOptions()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPublicSigningKeyEndpoint(PublicSigningKeyEndpointT &&value)
NativeApplicationOidcOptions & WithIssuer(IssuerT &&value)
NativeApplicationOidcOptions & WithClientId(ClientIdT &&value)
AWS_EC2_API NativeApplicationOidcOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
NativeApplicationOidcOptions & WithPublicSigningKeyEndpoint(PublicSigningKeyEndpointT &&value)
NativeApplicationOidcOptions & WithTokenEndpoint(TokenEndpointT &&value)
void SetAuthorizationEndpoint(AuthorizationEndpointT &&value)
NativeApplicationOidcOptions & WithScope(ScopeT &&value)
AWS_EC2_API NativeApplicationOidcOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NativeApplicationOidcOptions & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream