AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAuthorizerResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/AuthorizerType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
37 {
38 public:
39 AWS_APIGATEWAY_API UpdateAuthorizerResult() = default;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 UpdateAuthorizerResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 UpdateAuthorizerResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
73 inline AuthorizerType GetType() const { return m_type; }
74 inline void SetType(AuthorizerType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline UpdateAuthorizerResult& WithType(AuthorizerType value) { SetType(value); return *this;}
77
79
86 inline const Aws::Vector<Aws::String>& GetProviderARNs() const { return m_providerARNs; }
87 template<typename ProviderARNsT = Aws::Vector<Aws::String>>
88 void SetProviderARNs(ProviderARNsT&& value) { m_providerARNsHasBeenSet = true; m_providerARNs = std::forward<ProviderARNsT>(value); }
89 template<typename ProviderARNsT = Aws::Vector<Aws::String>>
90 UpdateAuthorizerResult& WithProviderARNs(ProviderARNsT&& value) { SetProviderARNs(std::forward<ProviderARNsT>(value)); return *this;}
91 template<typename ProviderARNsT = Aws::String>
92 UpdateAuthorizerResult& AddProviderARNs(ProviderARNsT&& value) { m_providerARNsHasBeenSet = true; m_providerARNs.emplace_back(std::forward<ProviderARNsT>(value)); return *this; }
94
96
100 inline const Aws::String& GetAuthType() const { return m_authType; }
101 template<typename AuthTypeT = Aws::String>
102 void SetAuthType(AuthTypeT&& value) { m_authTypeHasBeenSet = true; m_authType = std::forward<AuthTypeT>(value); }
103 template<typename AuthTypeT = Aws::String>
104 UpdateAuthorizerResult& WithAuthType(AuthTypeT&& value) { SetAuthType(std::forward<AuthTypeT>(value)); return *this;}
106
108
121 inline const Aws::String& GetAuthorizerUri() const { return m_authorizerUri; }
122 template<typename AuthorizerUriT = Aws::String>
123 void SetAuthorizerUri(AuthorizerUriT&& value) { m_authorizerUriHasBeenSet = true; m_authorizerUri = std::forward<AuthorizerUriT>(value); }
124 template<typename AuthorizerUriT = Aws::String>
125 UpdateAuthorizerResult& WithAuthorizerUri(AuthorizerUriT&& value) { SetAuthorizerUri(std::forward<AuthorizerUriT>(value)); return *this;}
127
129
135 inline const Aws::String& GetAuthorizerCredentials() const { return m_authorizerCredentials; }
136 template<typename AuthorizerCredentialsT = Aws::String>
137 void SetAuthorizerCredentials(AuthorizerCredentialsT&& value) { m_authorizerCredentialsHasBeenSet = true; m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value); }
138 template<typename AuthorizerCredentialsT = Aws::String>
139 UpdateAuthorizerResult& WithAuthorizerCredentials(AuthorizerCredentialsT&& value) { SetAuthorizerCredentials(std::forward<AuthorizerCredentialsT>(value)); return *this;}
141
143
165 inline const Aws::String& GetIdentitySource() const { return m_identitySource; }
166 template<typename IdentitySourceT = Aws::String>
167 void SetIdentitySource(IdentitySourceT&& value) { m_identitySourceHasBeenSet = true; m_identitySource = std::forward<IdentitySourceT>(value); }
168 template<typename IdentitySourceT = Aws::String>
169 UpdateAuthorizerResult& WithIdentitySource(IdentitySourceT&& value) { SetIdentitySource(std::forward<IdentitySourceT>(value)); return *this;}
171
173
183 inline const Aws::String& GetIdentityValidationExpression() const { return m_identityValidationExpression; }
184 template<typename IdentityValidationExpressionT = Aws::String>
185 void SetIdentityValidationExpression(IdentityValidationExpressionT&& value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value); }
186 template<typename IdentityValidationExpressionT = Aws::String>
187 UpdateAuthorizerResult& WithIdentityValidationExpression(IdentityValidationExpressionT&& value) { SetIdentityValidationExpression(std::forward<IdentityValidationExpressionT>(value)); return *this;}
189
191
197 inline int GetAuthorizerResultTtlInSeconds() const { return m_authorizerResultTtlInSeconds; }
198 inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSecondsHasBeenSet = true; m_authorizerResultTtlInSeconds = value; }
201
203
204 inline const Aws::String& GetRequestId() const { return m_requestId; }
205 template<typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
207 template<typename RequestIdT = Aws::String>
208 UpdateAuthorizerResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
210 private:
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 Aws::String m_name;
216 bool m_nameHasBeenSet = false;
217
219 bool m_typeHasBeenSet = false;
220
221 Aws::Vector<Aws::String> m_providerARNs;
222 bool m_providerARNsHasBeenSet = false;
223
224 Aws::String m_authType;
225 bool m_authTypeHasBeenSet = false;
226
227 Aws::String m_authorizerUri;
228 bool m_authorizerUriHasBeenSet = false;
229
230 Aws::String m_authorizerCredentials;
231 bool m_authorizerCredentialsHasBeenSet = false;
232
233 Aws::String m_identitySource;
234 bool m_identitySourceHasBeenSet = false;
235
236 Aws::String m_identityValidationExpression;
237 bool m_identityValidationExpressionHasBeenSet = false;
238
239 int m_authorizerResultTtlInSeconds{0};
240 bool m_authorizerResultTtlInSecondsHasBeenSet = false;
241
242 Aws::String m_requestId;
243 bool m_requestIdHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace APIGateway
248} // namespace Aws
const Aws::Vector< Aws::String > & GetProviderARNs() const
UpdateAuthorizerResult & WithAuthorizerUri(AuthorizerUriT &&value)
UpdateAuthorizerResult & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
UpdateAuthorizerResult & WithProviderARNs(ProviderARNsT &&value)
void SetAuthorizerCredentials(AuthorizerCredentialsT &&value)
UpdateAuthorizerResult & WithType(AuthorizerType value)
UpdateAuthorizerResult & AddProviderARNs(ProviderARNsT &&value)
UpdateAuthorizerResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API UpdateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
UpdateAuthorizerResult & WithIdentitySource(IdentitySourceT &&value)
AWS_APIGATEWAY_API UpdateAuthorizerResult()=default
UpdateAuthorizerResult & WithAuthType(AuthTypeT &&value)
AWS_APIGATEWAY_API UpdateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAuthorizerResult & WithAuthorizerCredentials(AuthorizerCredentialsT &&value)
UpdateAuthorizerResult & WithId(IdT &&value)
UpdateAuthorizerResult & WithName(NameT &&value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue