@@ -77,170 +77,170 @@ namespace Model
77
77
inline TestInvokeAuthorizerRequest& WithAuthorizerId (const char * value) { SetAuthorizerId (value); return *this ;}
78
78
79
79
80
- inline const Aws::Map<Aws:: String, Aws::String>& GetHeaders () const { return m_headers ; }
80
+ inline const Aws::String& GetPathWithQueryString () const { return m_pathWithQueryString ; }
81
81
82
82
83
- inline void SetHeaders (const Aws::Map<Aws:: String, Aws::String> & value) { m_headersHasBeenSet = true ; m_headers = value; }
83
+ inline void SetPathWithQueryString (const Aws::String& value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString = value; }
84
84
85
85
86
- inline void SetHeaders (Aws::Map<Aws:: String, Aws::String> && value) { m_headersHasBeenSet = true ; m_headers = value; }
86
+ inline void SetPathWithQueryString (Aws::String&& value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString = value; }
87
87
88
88
89
- inline TestInvokeAuthorizerRequest& WithHeaders (const Aws::Map<Aws::String, Aws::String>& value) { SetHeaders (value); return * this ; }
89
+ inline void SetPathWithQueryString (const char * value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString. assign (value); }
90
90
91
91
92
- inline TestInvokeAuthorizerRequest& WithHeaders (Aws::Map<Aws::String, Aws::String>&& value) { SetHeaders (value); return *this ;}
92
+ inline TestInvokeAuthorizerRequest& WithPathWithQueryString ( const Aws::String& value) { SetPathWithQueryString (value); return *this ;}
93
93
94
94
95
- inline TestInvokeAuthorizerRequest& AddHeaders ( const Aws::String& key, const Aws::String & value) { m_headersHasBeenSet = true ; m_headers[key] = value; return *this ; }
95
+ inline TestInvokeAuthorizerRequest& WithPathWithQueryString ( Aws::String&& value) { SetPathWithQueryString ( value) ; return *this ;}
96
96
97
97
98
- inline TestInvokeAuthorizerRequest& AddHeaders (Aws::String&& key, const Aws::String& value) { m_headersHasBeenSet = true ; m_headers[key] = value; return *this ; }
98
+ inline TestInvokeAuthorizerRequest& WithPathWithQueryString ( const char * value) { SetPathWithQueryString ( value) ; return *this ;}
99
99
100
100
101
- inline TestInvokeAuthorizerRequest& AddHeaders ( const Aws::String& key , Aws::String&& value) { m_headersHasBeenSet = true ; m_headers[key] = value; return * this ; }
101
+ inline const Aws::Map<Aws:: String, Aws::String>& GetStageVariables () const { return m_stageVariables ; }
102
102
103
103
104
- inline TestInvokeAuthorizerRequest& AddHeaders ( Aws::String&& key , Aws::String&& value) { m_headersHasBeenSet = true ; m_headers[key] = value; return * this ; }
104
+ inline void SetStageVariables ( const Aws::Map<Aws:: String, Aws::String>& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables = value; }
105
105
106
106
107
- inline TestInvokeAuthorizerRequest& AddHeaders ( const char * key , Aws::String&& value) { m_headersHasBeenSet = true ; m_headers[key] = value; return * this ; }
107
+ inline void SetStageVariables (Aws::Map<Aws::String , Aws::String> && value) { m_stageVariablesHasBeenSet = true ; m_stageVariables = value; }
108
108
109
109
110
- inline TestInvokeAuthorizerRequest& AddHeaders ( Aws::String&& key, const char * value) { m_headersHasBeenSet = true ; m_headers[key] = value; return *this ; }
110
+ inline TestInvokeAuthorizerRequest& WithStageVariables ( const Aws::Map<Aws:: String, Aws::String>& value) { SetStageVariables ( value) ; return *this ;}
111
111
112
112
113
- inline TestInvokeAuthorizerRequest& AddHeaders ( const char * key, const char * value) { m_headersHasBeenSet = true ; m_headers[key] = value; return *this ; }
113
+ inline TestInvokeAuthorizerRequest& WithStageVariables (Aws::Map<Aws::String, Aws::String>&& value) { SetStageVariables ( value) ; return *this ;}
114
114
115
115
116
- inline const Aws::String& GetPathWithQueryString () const { return m_pathWithQueryString ; }
116
+ inline TestInvokeAuthorizerRequest& AddStageVariables ( const Aws::String& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
117
117
118
118
119
- inline void SetPathWithQueryString ( const Aws::String& value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString = value; }
119
+ inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
120
120
121
121
122
- inline void SetPathWithQueryString ( Aws::String&& value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString = value; }
122
+ inline TestInvokeAuthorizerRequest& AddStageVariables ( const Aws::String& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
123
123
124
124
125
- inline void SetPathWithQueryString ( const char * value) { m_pathWithQueryStringHasBeenSet = true ; m_pathWithQueryString. assign ( value) ; }
125
+ inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
126
126
127
127
128
- inline TestInvokeAuthorizerRequest& WithPathWithQueryString (const Aws::String& value) { SetPathWithQueryString ( value) ; return *this ;}
128
+ inline TestInvokeAuthorizerRequest& AddStageVariables (const char * key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
129
129
130
130
131
- inline TestInvokeAuthorizerRequest& WithPathWithQueryString (Aws::String&& value) { SetPathWithQueryString ( value) ; return *this ;}
131
+ inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, const char * value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
132
132
133
133
134
- inline TestInvokeAuthorizerRequest& WithPathWithQueryString (const char * value) { SetPathWithQueryString ( value) ; return *this ;}
134
+ inline TestInvokeAuthorizerRequest& AddStageVariables (const char * key, const char * value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
135
135
136
136
137
- inline const Aws::String& GetBody () const { return m_body ; }
137
+ inline const Aws::Map<Aws:: String, Aws::String>& GetAdditionalContext () const { return m_additionalContext ; }
138
138
139
139
140
- inline void SetBody (const Aws::String& value) { m_bodyHasBeenSet = true ; m_body = value; }
140
+ inline void SetAdditionalContext (const Aws::Map<Aws:: String, Aws::String> & value) { m_additionalContextHasBeenSet = true ; m_additionalContext = value; }
141
141
142
142
143
- inline void SetBody (Aws::String&& value) { m_bodyHasBeenSet = true ; m_body = value; }
143
+ inline void SetAdditionalContext (Aws::Map<Aws:: String, Aws::String> && value) { m_additionalContextHasBeenSet = true ; m_additionalContext = value; }
144
144
145
145
146
- inline void SetBody (const char * value) { m_bodyHasBeenSet = true ; m_body. assign (value); }
146
+ inline TestInvokeAuthorizerRequest& WithAdditionalContext (const Aws::Map<Aws::String, Aws::String>& value) { SetAdditionalContext (value); return * this ; }
147
147
148
148
149
- inline TestInvokeAuthorizerRequest& WithBody ( const Aws::String& value) { SetBody (value); return *this ;}
149
+ inline TestInvokeAuthorizerRequest& WithAdditionalContext (Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalContext (value); return *this ;}
150
150
151
151
152
- inline TestInvokeAuthorizerRequest& WithBody ( Aws::String&& value) { SetBody ( value) ; return *this ;}
152
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( const Aws::String& key, const Aws::String & value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return *this ; }
153
153
154
154
155
- inline TestInvokeAuthorizerRequest& WithBody ( const char * value) { SetBody ( value) ; return *this ;}
155
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext (Aws::String&& key, const Aws::String& value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return *this ; }
156
156
157
157
158
- inline const Aws::Map<Aws:: String, Aws::String>& GetStageVariables () const { return m_stageVariables ; }
158
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( const Aws::String& key , Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return * this ; }
159
159
160
160
161
- inline void SetStageVariables ( const Aws::Map<Aws:: String, Aws::String>& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables = value; }
161
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( Aws::String&& key , Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return * this ; }
162
162
163
163
164
- inline void SetStageVariables (Aws::Map<Aws::String , Aws::String> && value) { m_stageVariablesHasBeenSet = true ; m_stageVariables = value; }
164
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( const char * key , Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return * this ; }
165
165
166
166
167
- inline TestInvokeAuthorizerRequest& WithStageVariables ( const Aws::Map<Aws:: String, Aws::String>& value) { SetStageVariables ( value) ; return *this ;}
167
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( Aws::String&& key, const char * value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return *this ; }
168
168
169
169
170
- inline TestInvokeAuthorizerRequest& WithStageVariables (Aws::Map<Aws::String, Aws::String>&& value) { SetStageVariables ( value) ; return *this ;}
170
+ inline TestInvokeAuthorizerRequest& AddAdditionalContext ( const char * key, const char * value) { m_additionalContextHasBeenSet = true ; m_additionalContext[key] = value; return *this ; }
171
171
172
172
173
- inline TestInvokeAuthorizerRequest& AddStageVariables ( const Aws::String& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
173
+ inline const Aws::String& GetRequestBody () const { return m_requestBody ; }
174
174
175
175
176
- inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
176
+ inline void SetRequestBody ( const Aws::String& value) { m_requestBodyHasBeenSet = true ; m_requestBody = value; }
177
177
178
178
179
- inline TestInvokeAuthorizerRequest& AddStageVariables ( const Aws::String& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
179
+ inline void SetRequestBody ( Aws::String&& value) { m_requestBodyHasBeenSet = true ; m_requestBody = value; }
180
180
181
181
182
- inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return * this ; }
182
+ inline void SetRequestBody ( const char * value) { m_requestBodyHasBeenSet = true ; m_requestBody. assign ( value) ; }
183
183
184
184
185
- inline TestInvokeAuthorizerRequest& AddStageVariables (const char * key, Aws::String&& value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
185
+ inline TestInvokeAuthorizerRequest& WithRequestBody (const Aws::String& value) { SetRequestBody ( value) ; return *this ;}
186
186
187
187
188
- inline TestInvokeAuthorizerRequest& AddStageVariables (Aws::String&& key, const char * value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
188
+ inline TestInvokeAuthorizerRequest& WithRequestBody (Aws::String&& value) { SetRequestBody ( value) ; return *this ;}
189
189
190
190
191
- inline TestInvokeAuthorizerRequest& AddStageVariables (const char * key, const char * value) { m_stageVariablesHasBeenSet = true ; m_stageVariables[key] = value; return *this ; }
191
+ inline TestInvokeAuthorizerRequest& WithRequestBody (const char * value) { SetRequestBody ( value) ; return *this ;}
192
192
193
193
194
- inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalContext () const { return m_additionalContext ; }
194
+ inline const Aws::Map<Aws::String, Aws::String>& GetRequestHeaders () const { return m_requestHeaders ; }
195
195
196
196
197
- inline void SetAdditionalContext (const Aws::Map<Aws::String, Aws::String>& value) { m_additionalContextHasBeenSet = true ; m_additionalContext = value; }
197
+ inline void SetRequestHeaders (const Aws::Map<Aws::String, Aws::String>& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders = value; }
198
198
199
199
200
- inline void SetAdditionalContext (Aws::Map<Aws::String, Aws::String>&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext = value; }
200
+ inline void SetRequestHeaders (Aws::Map<Aws::String, Aws::String>&& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders = value; }
201
201
202
202
203
- inline TestInvokeAuthorizerRequest& WithAdditionalContext (const Aws::Map<Aws::String, Aws::String>& value) { SetAdditionalContext (value); return *this ;}
203
+ inline TestInvokeAuthorizerRequest& WithRequestHeaders (const Aws::Map<Aws::String, Aws::String>& value) { SetRequestHeaders (value); return *this ;}
204
204
205
205
206
- inline TestInvokeAuthorizerRequest& WithAdditionalContext (Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalContext (value); return *this ;}
206
+ inline TestInvokeAuthorizerRequest& WithRequestHeaders (Aws::Map<Aws::String, Aws::String>&& value) { SetRequestHeaders (value); return *this ;}
207
207
208
208
209
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (const Aws::String& key, const Aws::String& value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
209
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (const Aws::String& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
210
210
211
211
212
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (Aws::String&& key, const Aws::String& value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
212
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (Aws::String&& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
213
213
214
214
215
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (const Aws::String& key, Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
215
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (const Aws::String& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
216
216
217
217
218
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (Aws::String&& key, Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
218
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (Aws::String&& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
219
219
220
220
221
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (const char * key, Aws::String&& value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
221
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (const char * key, Aws::String&& value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
222
222
223
223
224
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (Aws::String&& key, const char * value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
224
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (Aws::String&& key, const char * value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
225
225
226
226
227
- inline TestInvokeAuthorizerRequest& AddAdditionalContext (const char * key, const char * value) { m_additionalContextHasBeenSet = true ; m_additionalContext [key] = value; return *this ; }
227
+ inline TestInvokeAuthorizerRequest& AddRequestHeaders (const char * key, const char * value) { m_requestHeadersHasBeenSet = true ; m_requestHeaders [key] = value; return *this ; }
228
228
229
229
private:
230
230
Aws::String m_restApiId;
231
231
bool m_restApiIdHasBeenSet;
232
232
Aws::String m_authorizerId;
233
233
bool m_authorizerIdHasBeenSet;
234
- Aws::Map<Aws::String, Aws::String> m_headers;
235
- bool m_headersHasBeenSet;
236
234
Aws::String m_pathWithQueryString;
237
235
bool m_pathWithQueryStringHasBeenSet;
238
- Aws::String m_body;
239
- bool m_bodyHasBeenSet;
240
236
Aws::Map<Aws::String, Aws::String> m_stageVariables;
241
237
bool m_stageVariablesHasBeenSet;
242
238
Aws::Map<Aws::String, Aws::String> m_additionalContext;
243
239
bool m_additionalContextHasBeenSet;
240
+ Aws::String m_requestBody;
241
+ bool m_requestBodyHasBeenSet;
242
+ Aws::Map<Aws::String, Aws::String> m_requestHeaders;
243
+ bool m_requestHeadersHasBeenSet;
244
244
};
245
245
246
246
} // namespace Model
0 commit comments