AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NativeApplicationOidcOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EC2_API NativeApplicationOidcOptions() = default;
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetPublicSigningKeyEndpoint() const { return m_publicSigningKeyEndpoint; }
47 inline bool PublicSigningKeyEndpointHasBeenSet() const { return m_publicSigningKeyEndpointHasBeenSet; }
48 template<typename PublicSigningKeyEndpointT = Aws::String>
49 void SetPublicSigningKeyEndpoint(PublicSigningKeyEndpointT&& value) { m_publicSigningKeyEndpointHasBeenSet = true; m_publicSigningKeyEndpoint = std::forward<PublicSigningKeyEndpointT>(value); }
50 template<typename PublicSigningKeyEndpointT = Aws::String>
51 NativeApplicationOidcOptions& WithPublicSigningKeyEndpoint(PublicSigningKeyEndpointT&& value) { SetPublicSigningKeyEndpoint(std::forward<PublicSigningKeyEndpointT>(value)); return *this;}
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) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
62 template<typename IssuerT = Aws::String>
63 NativeApplicationOidcOptions& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
65
67
70 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
71 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
72 template<typename AuthorizationEndpointT = Aws::String>
73 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value); }
74 template<typename AuthorizationEndpointT = Aws::String>
75 NativeApplicationOidcOptions& WithAuthorizationEndpoint(AuthorizationEndpointT&& value) { SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
83 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
84 template<typename TokenEndpointT = Aws::String>
85 void SetTokenEndpoint(TokenEndpointT&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::forward<TokenEndpointT>(value); }
86 template<typename TokenEndpointT = Aws::String>
87 NativeApplicationOidcOptions& WithTokenEndpoint(TokenEndpointT&& value) { SetTokenEndpoint(std::forward<TokenEndpointT>(value)); return *this;}
89
91
94 inline const Aws::String& GetUserInfoEndpoint() const { return m_userInfoEndpoint; }
95 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
96 template<typename UserInfoEndpointT = Aws::String>
97 void SetUserInfoEndpoint(UserInfoEndpointT&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value); }
98 template<typename UserInfoEndpointT = Aws::String>
99 NativeApplicationOidcOptions& WithUserInfoEndpoint(UserInfoEndpointT&& value) { SetUserInfoEndpoint(std::forward<UserInfoEndpointT>(value)); return *this;}
101
103
106 inline const Aws::String& GetClientId() const { return m_clientId; }
107 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
108 template<typename ClientIdT = Aws::String>
109 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
110 template<typename ClientIdT = Aws::String>
111 NativeApplicationOidcOptions& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
113
115
118 inline const Aws::String& GetScope() const { return m_scope; }
119 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
120 template<typename ScopeT = Aws::String>
121 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
122 template<typename ScopeT = Aws::String>
123 NativeApplicationOidcOptions& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
125 private:
126
127 Aws::String m_publicSigningKeyEndpoint;
128 bool m_publicSigningKeyEndpointHasBeenSet = false;
129
130 Aws::String m_issuer;
131 bool m_issuerHasBeenSet = false;
132
133 Aws::String m_authorizationEndpoint;
134 bool m_authorizationEndpointHasBeenSet = false;
135
136 Aws::String m_tokenEndpoint;
137 bool m_tokenEndpointHasBeenSet = false;
138
139 Aws::String m_userInfoEndpoint;
140 bool m_userInfoEndpointHasBeenSet = false;
141
142 Aws::String m_clientId;
143 bool m_clientIdHasBeenSet = false;
144
145 Aws::String m_scope;
146 bool m_scopeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace EC2
151} // 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