AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestInvokeAuthorizerRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace APIGateway
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_APIGATEWAY_API TestInvokeAuthorizerRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "TestInvokeAuthorizer"; }
37
38 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
46 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
48 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
49 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
50 inline TestInvokeAuthorizerRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
51 inline TestInvokeAuthorizerRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
52 inline TestInvokeAuthorizerRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
54
56
59 inline const Aws::String& GetAuthorizerId() const{ return m_authorizerId; }
60 inline bool AuthorizerIdHasBeenSet() const { return m_authorizerIdHasBeenSet; }
61 inline void SetAuthorizerId(const Aws::String& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = value; }
62 inline void SetAuthorizerId(Aws::String&& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = std::move(value); }
63 inline void SetAuthorizerId(const char* value) { m_authorizerIdHasBeenSet = true; m_authorizerId.assign(value); }
64 inline TestInvokeAuthorizerRequest& WithAuthorizerId(const Aws::String& value) { SetAuthorizerId(value); return *this;}
65 inline TestInvokeAuthorizerRequest& WithAuthorizerId(Aws::String&& value) { SetAuthorizerId(std::move(value)); return *this;}
66 inline TestInvokeAuthorizerRequest& WithAuthorizerId(const char* value) { SetAuthorizerId(value); return *this;}
68
70
75 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetMultiValueHeaders() const{ return m_multiValueHeaders; }
76 inline bool MultiValueHeadersHasBeenSet() const { return m_multiValueHeadersHasBeenSet; }
77 inline void SetMultiValueHeaders(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders = value; }
78 inline void SetMultiValueHeaders(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders = std::move(value); }
81 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(key, value); return *this; }
82 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(std::move(key), value); return *this; }
83 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(key, std::move(value)); return *this; }
84 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(std::move(key), std::move(value)); return *this; }
85 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(const char* key, Aws::Vector<Aws::String>&& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(key, std::move(value)); return *this; }
86 inline TestInvokeAuthorizerRequest& AddMultiValueHeaders(const char* key, const Aws::Vector<Aws::String>& value) { m_multiValueHeadersHasBeenSet = true; m_multiValueHeaders.emplace(key, value); return *this; }
88
90
94 inline const Aws::String& GetPathWithQueryString() const{ return m_pathWithQueryString; }
95 inline bool PathWithQueryStringHasBeenSet() const { return m_pathWithQueryStringHasBeenSet; }
96 inline void SetPathWithQueryString(const Aws::String& value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString = value; }
97 inline void SetPathWithQueryString(Aws::String&& value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString = std::move(value); }
98 inline void SetPathWithQueryString(const char* value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString.assign(value); }
101 inline TestInvokeAuthorizerRequest& WithPathWithQueryString(const char* value) { SetPathWithQueryString(value); return *this;}
103
105
109 inline const Aws::Map<Aws::String, Aws::String>& GetStageVariables() const{ return m_stageVariables; }
110 inline bool StageVariablesHasBeenSet() const { return m_stageVariablesHasBeenSet; }
111 inline void SetStageVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_stageVariablesHasBeenSet = true; m_stageVariables = value; }
112 inline void SetStageVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables = std::move(value); }
115 inline TestInvokeAuthorizerRequest& AddStageVariables(const Aws::String& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(key, value); return *this; }
116 inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(std::move(key), value); return *this; }
117 inline TestInvokeAuthorizerRequest& AddStageVariables(const Aws::String& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(key, std::move(value)); return *this; }
118 inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(std::move(key), std::move(value)); return *this; }
119 inline TestInvokeAuthorizerRequest& AddStageVariables(const char* key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(key, std::move(value)); return *this; }
120 inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, const char* value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(std::move(key), value); return *this; }
121 inline TestInvokeAuthorizerRequest& AddStageVariables(const char* key, const char* value) { m_stageVariablesHasBeenSet = true; m_stageVariables.emplace(key, value); return *this; }
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalContext() const{ return m_additionalContext; }
129 inline bool AdditionalContextHasBeenSet() const { return m_additionalContextHasBeenSet; }
130 inline void SetAdditionalContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalContextHasBeenSet = true; m_additionalContext = value; }
131 inline void SetAdditionalContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalContextHasBeenSet = true; m_additionalContext = std::move(value); }
134 inline TestInvokeAuthorizerRequest& AddAdditionalContext(const Aws::String& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, value); return *this; }
135 inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), value); return *this; }
136 inline TestInvokeAuthorizerRequest& AddAdditionalContext(const Aws::String& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, std::move(value)); return *this; }
137 inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), std::move(value)); return *this; }
138 inline TestInvokeAuthorizerRequest& AddAdditionalContext(const char* key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, std::move(value)); return *this; }
139 inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), value); return *this; }
140 inline TestInvokeAuthorizerRequest& AddAdditionalContext(const char* key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, value); return *this; }
142
144
147 inline const Aws::String& GetRequestBody() const{ return m_requestBody; }
148 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
149 inline void SetRequestBody(const Aws::String& value) { m_requestBodyHasBeenSet = true; m_requestBody = value; }
150 inline void SetRequestBody(Aws::String&& value) { m_requestBodyHasBeenSet = true; m_requestBody = std::move(value); }
151 inline void SetRequestBody(const char* value) { m_requestBodyHasBeenSet = true; m_requestBody.assign(value); }
152 inline TestInvokeAuthorizerRequest& WithRequestBody(const Aws::String& value) { SetRequestBody(value); return *this;}
153 inline TestInvokeAuthorizerRequest& WithRequestBody(Aws::String&& value) { SetRequestBody(std::move(value)); return *this;}
154 inline TestInvokeAuthorizerRequest& WithRequestBody(const char* value) { SetRequestBody(value); return *this;}
156
158
163 inline const Aws::Map<Aws::String, Aws::String>& GetRequestHeaders() const{ return m_requestHeaders; }
164 inline bool RequestHeadersHasBeenSet() const { return m_requestHeadersHasBeenSet; }
165 inline void SetRequestHeaders(const Aws::Map<Aws::String, Aws::String>& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders = value; }
166 inline void SetRequestHeaders(Aws::Map<Aws::String, Aws::String>&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders = std::move(value); }
169 inline TestInvokeAuthorizerRequest& AddRequestHeaders(const Aws::String& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(key, value); return *this; }
170 inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(std::move(key), value); return *this; }
171 inline TestInvokeAuthorizerRequest& AddRequestHeaders(const Aws::String& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(key, std::move(value)); return *this; }
172 inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(std::move(key), std::move(value)); return *this; }
173 inline TestInvokeAuthorizerRequest& AddRequestHeaders(const char* key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(key, std::move(value)); return *this; }
174 inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, const char* value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(std::move(key), value); return *this; }
175 inline TestInvokeAuthorizerRequest& AddRequestHeaders(const char* key, const char* value) { m_requestHeadersHasBeenSet = true; m_requestHeaders.emplace(key, value); return *this; }
177 private:
178
179 Aws::String m_restApiId;
180 bool m_restApiIdHasBeenSet = false;
181
182 Aws::String m_authorizerId;
183 bool m_authorizerIdHasBeenSet = false;
184
186 bool m_multiValueHeadersHasBeenSet = false;
187
188 Aws::String m_pathWithQueryString;
189 bool m_pathWithQueryStringHasBeenSet = false;
190
191 Aws::Map<Aws::String, Aws::String> m_stageVariables;
192 bool m_stageVariablesHasBeenSet = false;
193
194 Aws::Map<Aws::String, Aws::String> m_additionalContext;
195 bool m_additionalContextHasBeenSet = false;
196
197 Aws::String m_requestBody;
198 bool m_requestBodyHasBeenSet = false;
199
200 Aws::Map<Aws::String, Aws::String> m_requestHeaders;
201 bool m_requestHeadersHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace APIGateway
206} // namespace Aws
void SetMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
TestInvokeAuthorizerRequest & AddStageVariables(const Aws::String &key, const Aws::String &value)
TestInvokeAuthorizerRequest & WithRequestBody(const Aws::String &value)
TestInvokeAuthorizerRequest & AddAdditionalContext(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalContext() const
TestInvokeAuthorizerRequest & WithAuthorizerId(const char *value)
TestInvokeAuthorizerRequest & AddStageVariables(const char *key, const char *value)
TestInvokeAuthorizerRequest & AddStageVariables(const Aws::String &key, Aws::String &&value)
TestInvokeAuthorizerRequest & WithMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
TestInvokeAuthorizerRequest & WithPathWithQueryString(Aws::String &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(Aws::String &&key, Aws::Vector< Aws::String > &&value)
TestInvokeAuthorizerRequest & WithRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeAuthorizerRequest & WithAdditionalContext(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(const Aws::String &key, const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetMultiValueHeaders() const
TestInvokeAuthorizerRequest & AddStageVariables(Aws::String &&key, const Aws::String &value)
void SetAdditionalContext(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeAuthorizerRequest & WithRequestBody(const char *value)
TestInvokeAuthorizerRequest & AddAdditionalContext(Aws::String &&key, const char *value)
TestInvokeAuthorizerRequest & AddRequestHeaders(const Aws::String &key, const Aws::String &value)
TestInvokeAuthorizerRequest & WithAdditionalContext(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeAuthorizerRequest & WithRestApiId(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
TestInvokeAuthorizerRequest & AddAdditionalContext(const Aws::String &key, const Aws::String &value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(const char *key, Aws::Vector< Aws::String > &&value)
TestInvokeAuthorizerRequest & WithAuthorizerId(const Aws::String &value)
TestInvokeAuthorizerRequest & WithRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeAuthorizerRequest & AddRequestHeaders(const char *key, Aws::String &&value)
TestInvokeAuthorizerRequest & WithRestApiId(Aws::String &&value)
TestInvokeAuthorizerRequest & AddRequestHeaders(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetRequestHeaders() const
TestInvokeAuthorizerRequest & WithRestApiId(const char *value)
void SetRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
void SetMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(Aws::String &&key, const Aws::Vector< Aws::String > &value)
TestInvokeAuthorizerRequest & WithMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
TestInvokeAuthorizerRequest & AddRequestHeaders(Aws::String &&key, Aws::String &&value)
TestInvokeAuthorizerRequest & WithStageVariables(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeAuthorizerRequest & AddRequestHeaders(Aws::String &&key, const Aws::String &value)
void SetStageVariables(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeAuthorizerRequest & WithStageVariables(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariables() const
TestInvokeAuthorizerRequest & AddAdditionalContext(const Aws::String &key, Aws::String &&value)
TestInvokeAuthorizerRequest & AddRequestHeaders(const Aws::String &key, Aws::String &&value)
TestInvokeAuthorizerRequest & WithRequestBody(Aws::String &&value)
TestInvokeAuthorizerRequest & WithPathWithQueryString(const Aws::String &value)
TestInvokeAuthorizerRequest & AddAdditionalContext(Aws::String &&key, Aws::String &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(const char *key, const Aws::Vector< Aws::String > &value)
TestInvokeAuthorizerRequest & AddAdditionalContext(const char *key, const char *value)
void SetStageVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetAdditionalContext(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeAuthorizerRequest & AddRequestHeaders(Aws::String &&key, const char *value)
TestInvokeAuthorizerRequest & AddStageVariables(const char *key, Aws::String &&value)
TestInvokeAuthorizerRequest & WithAuthorizerId(Aws::String &&value)
TestInvokeAuthorizerRequest & AddStageVariables(Aws::String &&key, const char *value)
TestInvokeAuthorizerRequest & WithPathWithQueryString(const char *value)
TestInvokeAuthorizerRequest & AddAdditionalContext(Aws::String &&key, const Aws::String &value)
TestInvokeAuthorizerRequest & AddStageVariables(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector