AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetOidcInfoRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/WickrRequest.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Wickr {
18namespace Model {
19
23 public:
24 AWS_WICKR_API GetOidcInfoRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetOidcInfo"; }
31
32 AWS_WICKR_API Aws::String SerializePayload() const override;
33
34 AWS_WICKR_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetNetworkId() const { return m_networkId; }
41 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
42 template <typename NetworkIdT = Aws::String>
43 void SetNetworkId(NetworkIdT&& value) {
44 m_networkIdHasBeenSet = true;
45 m_networkId = std::forward<NetworkIdT>(value);
46 }
47 template <typename NetworkIdT = Aws::String>
48 GetOidcInfoRequest& WithNetworkId(NetworkIdT&& value) {
49 SetNetworkId(std::forward<NetworkIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetClientId() const { return m_clientId; }
59 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
60 template <typename ClientIdT = Aws::String>
61 void SetClientId(ClientIdT&& value) {
62 m_clientIdHasBeenSet = true;
63 m_clientId = std::forward<ClientIdT>(value);
64 }
65 template <typename ClientIdT = Aws::String>
66 GetOidcInfoRequest& WithClientId(ClientIdT&& value) {
67 SetClientId(std::forward<ClientIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetCode() const { return m_code; }
77 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
78 template <typename CodeT = Aws::String>
79 void SetCode(CodeT&& value) {
80 m_codeHasBeenSet = true;
81 m_code = std::forward<CodeT>(value);
82 }
83 template <typename CodeT = Aws::String>
84 GetOidcInfoRequest& WithCode(CodeT&& value) {
85 SetCode(std::forward<CodeT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetGrantType() const { return m_grantType; }
95 inline bool GrantTypeHasBeenSet() const { return m_grantTypeHasBeenSet; }
96 template <typename GrantTypeT = Aws::String>
97 void SetGrantType(GrantTypeT&& value) {
98 m_grantTypeHasBeenSet = true;
99 m_grantType = std::forward<GrantTypeT>(value);
100 }
101 template <typename GrantTypeT = Aws::String>
102 GetOidcInfoRequest& WithGrantType(GrantTypeT&& value) {
103 SetGrantType(std::forward<GrantTypeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
113 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
114 template <typename RedirectUriT = Aws::String>
115 void SetRedirectUri(RedirectUriT&& value) {
116 m_redirectUriHasBeenSet = true;
117 m_redirectUri = std::forward<RedirectUriT>(value);
118 }
119 template <typename RedirectUriT = Aws::String>
120 GetOidcInfoRequest& WithRedirectUri(RedirectUriT&& value) {
121 SetRedirectUri(std::forward<RedirectUriT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetUrl() const { return m_url; }
131 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
132 template <typename UrlT = Aws::String>
133 void SetUrl(UrlT&& value) {
134 m_urlHasBeenSet = true;
135 m_url = std::forward<UrlT>(value);
136 }
137 template <typename UrlT = Aws::String>
139 SetUrl(std::forward<UrlT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
149 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
150 template <typename ClientSecretT = Aws::String>
151 void SetClientSecret(ClientSecretT&& value) {
152 m_clientSecretHasBeenSet = true;
153 m_clientSecret = std::forward<ClientSecretT>(value);
154 }
155 template <typename ClientSecretT = Aws::String>
156 GetOidcInfoRequest& WithClientSecret(ClientSecretT&& value) {
157 SetClientSecret(std::forward<ClientSecretT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::String& GetCodeVerifier() const { return m_codeVerifier; }
168 inline bool CodeVerifierHasBeenSet() const { return m_codeVerifierHasBeenSet; }
169 template <typename CodeVerifierT = Aws::String>
170 void SetCodeVerifier(CodeVerifierT&& value) {
171 m_codeVerifierHasBeenSet = true;
172 m_codeVerifier = std::forward<CodeVerifierT>(value);
173 }
174 template <typename CodeVerifierT = Aws::String>
175 GetOidcInfoRequest& WithCodeVerifier(CodeVerifierT&& value) {
176 SetCodeVerifier(std::forward<CodeVerifierT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::String& GetCertificate() const { return m_certificate; }
187 inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
188 template <typename CertificateT = Aws::String>
189 void SetCertificate(CertificateT&& value) {
190 m_certificateHasBeenSet = true;
191 m_certificate = std::forward<CertificateT>(value);
192 }
193 template <typename CertificateT = Aws::String>
194 GetOidcInfoRequest& WithCertificate(CertificateT&& value) {
195 SetCertificate(std::forward<CertificateT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_networkId;
201
202 Aws::String m_clientId;
203
204 Aws::String m_code;
205
206 Aws::String m_grantType;
207
208 Aws::String m_redirectUri;
209
210 Aws::String m_url;
211
212 Aws::String m_clientSecret;
213
214 Aws::String m_codeVerifier;
215
216 Aws::String m_certificate;
217 bool m_networkIdHasBeenSet = false;
218 bool m_clientIdHasBeenSet = false;
219 bool m_codeHasBeenSet = false;
220 bool m_grantTypeHasBeenSet = false;
221 bool m_redirectUriHasBeenSet = false;
222 bool m_urlHasBeenSet = false;
223 bool m_clientSecretHasBeenSet = false;
224 bool m_codeVerifierHasBeenSet = false;
225 bool m_certificateHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace Wickr
230} // namespace Aws
const Aws::String & GetNetworkId() const
GetOidcInfoRequest & WithClientSecret(ClientSecretT &&value)
void SetRedirectUri(RedirectUriT &&value)
const Aws::String & GetCertificate() const
void SetCertificate(CertificateT &&value)
GetOidcInfoRequest & WithRedirectUri(RedirectUriT &&value)
GetOidcInfoRequest & WithCertificate(CertificateT &&value)
const Aws::String & GetCodeVerifier() const
const Aws::String & GetCode() const
const Aws::String & GetClientId() const
GetOidcInfoRequest & WithCodeVerifier(CodeVerifierT &&value)
GetOidcInfoRequest & WithNetworkId(NetworkIdT &&value)
void SetClientSecret(ClientSecretT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRedirectUri() const
AWS_WICKR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCodeVerifier(CodeVerifierT &&value)
GetOidcInfoRequest & WithUrl(UrlT &&value)
AWS_WICKR_API GetOidcInfoRequest()=default
GetOidcInfoRequest & WithCode(CodeT &&value)
const Aws::String & GetClientSecret() const
GetOidcInfoRequest & WithGrantType(GrantTypeT &&value)
GetOidcInfoRequest & WithClientId(ClientIdT &&value)
AWS_WICKR_API Aws::String SerializePayload() const override
const Aws::String & GetGrantType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String