AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAuthorizerResult.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 CreateAuthorizerResult();
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline void SetId(const Aws::String& value) { m_id = value; }
50 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
51 inline void SetId(const char* value) { m_id.assign(value); }
52 inline CreateAuthorizerResult& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline CreateAuthorizerResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline CreateAuthorizerResult& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline void SetName(const Aws::String& value) { m_name = value; }
63 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
64 inline void SetName(const char* value) { m_name.assign(value); }
65 inline CreateAuthorizerResult& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline CreateAuthorizerResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline CreateAuthorizerResult& WithName(const char* value) { SetName(value); return *this;}
69
71
77 inline const AuthorizerType& GetType() const{ return m_type; }
78 inline void SetType(const AuthorizerType& value) { m_type = value; }
79 inline void SetType(AuthorizerType&& value) { m_type = std::move(value); }
80 inline CreateAuthorizerResult& WithType(const AuthorizerType& value) { SetType(value); return *this;}
81 inline CreateAuthorizerResult& WithType(AuthorizerType&& value) { SetType(std::move(value)); return *this;}
83
85
92 inline const Aws::Vector<Aws::String>& GetProviderARNs() const{ return m_providerARNs; }
93 inline void SetProviderARNs(const Aws::Vector<Aws::String>& value) { m_providerARNs = value; }
94 inline void SetProviderARNs(Aws::Vector<Aws::String>&& value) { m_providerARNs = std::move(value); }
96 inline CreateAuthorizerResult& WithProviderARNs(Aws::Vector<Aws::String>&& value) { SetProviderARNs(std::move(value)); return *this;}
97 inline CreateAuthorizerResult& AddProviderARNs(const Aws::String& value) { m_providerARNs.push_back(value); return *this; }
98 inline CreateAuthorizerResult& AddProviderARNs(Aws::String&& value) { m_providerARNs.push_back(std::move(value)); return *this; }
99 inline CreateAuthorizerResult& AddProviderARNs(const char* value) { m_providerARNs.push_back(value); return *this; }
101
103
107 inline const Aws::String& GetAuthType() const{ return m_authType; }
108 inline void SetAuthType(const Aws::String& value) { m_authType = value; }
109 inline void SetAuthType(Aws::String&& value) { m_authType = std::move(value); }
110 inline void SetAuthType(const char* value) { m_authType.assign(value); }
111 inline CreateAuthorizerResult& WithAuthType(const Aws::String& value) { SetAuthType(value); return *this;}
112 inline CreateAuthorizerResult& WithAuthType(Aws::String&& value) { SetAuthType(std::move(value)); return *this;}
113 inline CreateAuthorizerResult& WithAuthType(const char* value) { SetAuthType(value); return *this;}
115
117
130 inline const Aws::String& GetAuthorizerUri() const{ return m_authorizerUri; }
131 inline void SetAuthorizerUri(const Aws::String& value) { m_authorizerUri = value; }
132 inline void SetAuthorizerUri(Aws::String&& value) { m_authorizerUri = std::move(value); }
133 inline void SetAuthorizerUri(const char* value) { m_authorizerUri.assign(value); }
134 inline CreateAuthorizerResult& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
135 inline CreateAuthorizerResult& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
136 inline CreateAuthorizerResult& WithAuthorizerUri(const char* value) { SetAuthorizerUri(value); return *this;}
138
140
146 inline const Aws::String& GetAuthorizerCredentials() const{ return m_authorizerCredentials; }
147 inline void SetAuthorizerCredentials(const Aws::String& value) { m_authorizerCredentials = value; }
148 inline void SetAuthorizerCredentials(Aws::String&& value) { m_authorizerCredentials = std::move(value); }
149 inline void SetAuthorizerCredentials(const char* value) { m_authorizerCredentials.assign(value); }
152 inline CreateAuthorizerResult& WithAuthorizerCredentials(const char* value) { SetAuthorizerCredentials(value); return *this;}
154
156
178 inline const Aws::String& GetIdentitySource() const{ return m_identitySource; }
179 inline void SetIdentitySource(const Aws::String& value) { m_identitySource = value; }
180 inline void SetIdentitySource(Aws::String&& value) { m_identitySource = std::move(value); }
181 inline void SetIdentitySource(const char* value) { m_identitySource.assign(value); }
182 inline CreateAuthorizerResult& WithIdentitySource(const Aws::String& value) { SetIdentitySource(value); return *this;}
183 inline CreateAuthorizerResult& WithIdentitySource(Aws::String&& value) { SetIdentitySource(std::move(value)); return *this;}
184 inline CreateAuthorizerResult& WithIdentitySource(const char* value) { SetIdentitySource(value); return *this;}
186
188
198 inline const Aws::String& GetIdentityValidationExpression() const{ return m_identityValidationExpression; }
199 inline void SetIdentityValidationExpression(const Aws::String& value) { m_identityValidationExpression = value; }
200 inline void SetIdentityValidationExpression(Aws::String&& value) { m_identityValidationExpression = std::move(value); }
201 inline void SetIdentityValidationExpression(const char* value) { m_identityValidationExpression.assign(value); }
206
208
214 inline int GetAuthorizerResultTtlInSeconds() const{ return m_authorizerResultTtlInSeconds; }
215 inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSeconds = value; }
218
220
221 inline const Aws::String& GetRequestId() const{ return m_requestId; }
222 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
223 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
224 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
225 inline CreateAuthorizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
226 inline CreateAuthorizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
227 inline CreateAuthorizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
229 private:
230
231 Aws::String m_id;
232
233 Aws::String m_name;
234
235 AuthorizerType m_type;
236
237 Aws::Vector<Aws::String> m_providerARNs;
238
239 Aws::String m_authType;
240
241 Aws::String m_authorizerUri;
242
243 Aws::String m_authorizerCredentials;
244
245 Aws::String m_identitySource;
246
247 Aws::String m_identityValidationExpression;
248
249 int m_authorizerResultTtlInSeconds;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace APIGateway
256} // namespace Aws
CreateAuthorizerResult & WithAuthType(const char *value)
void SetProviderARNs(const Aws::Vector< Aws::String > &value)
CreateAuthorizerResult & AddProviderARNs(const Aws::String &value)
CreateAuthorizerResult & WithType(AuthorizerType &&value)
CreateAuthorizerResult & WithIdentityValidationExpression(const Aws::String &value)
CreateAuthorizerResult & WithProviderARNs(const Aws::Vector< Aws::String > &value)
AWS_APIGATEWAY_API CreateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAuthorizerResult & WithRequestId(const char *value)
CreateAuthorizerResult & WithAuthorizerUri(const Aws::String &value)
CreateAuthorizerResult & WithId(const char *value)
CreateAuthorizerResult & WithAuthorizerCredentials(const Aws::String &value)
CreateAuthorizerResult & WithName(const Aws::String &value)
CreateAuthorizerResult & WithAuthType(const Aws::String &value)
void SetIdentityValidationExpression(const Aws::String &value)
CreateAuthorizerResult & WithId(const Aws::String &value)
CreateAuthorizerResult & WithAuthorizerCredentials(Aws::String &&value)
CreateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
CreateAuthorizerResult & WithIdentitySource(Aws::String &&value)
CreateAuthorizerResult & WithAuthorizerUri(const char *value)
CreateAuthorizerResult & WithIdentitySource(const Aws::String &value)
CreateAuthorizerResult & WithRequestId(const Aws::String &value)
CreateAuthorizerResult & WithProviderARNs(Aws::Vector< Aws::String > &&value)
CreateAuthorizerResult & AddProviderARNs(const char *value)
CreateAuthorizerResult & WithRequestId(Aws::String &&value)
CreateAuthorizerResult & WithType(const AuthorizerType &value)
CreateAuthorizerResult & WithName(const char *value)
CreateAuthorizerResult & WithIdentitySource(const char *value)
CreateAuthorizerResult & WithIdentityValidationExpression(Aws::String &&value)
CreateAuthorizerResult & WithId(Aws::String &&value)
void SetProviderARNs(Aws::Vector< Aws::String > &&value)
CreateAuthorizerResult & WithIdentityValidationExpression(const char *value)
CreateAuthorizerResult & WithAuthorizerUri(Aws::String &&value)
CreateAuthorizerResult & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetProviderARNs() const
CreateAuthorizerResult & AddProviderARNs(Aws::String &&value)
CreateAuthorizerResult & WithAuthType(Aws::String &&value)
AWS_APIGATEWAY_API CreateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAuthorizerResult & WithAuthorizerCredentials(const char *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