AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFunctionRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/Runtime.h>
11#include <aws/lambda/model/FunctionCode.h>
12#include <aws/lambda/model/VpcConfig.h>
13#include <aws/lambda/model/PackageType.h>
14#include <aws/lambda/model/DeadLetterConfig.h>
15#include <aws/lambda/model/Environment.h>
16#include <aws/lambda/model/TracingConfig.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/lambda/model/ImageConfig.h>
20#include <aws/lambda/model/EphemeralStorage.h>
21#include <aws/lambda/model/SnapStart.h>
22#include <aws/lambda/model/LoggingConfig.h>
23#include <aws/lambda/model/FileSystemConfig.h>
24#include <aws/lambda/model/Architecture.h>
25#include <utility>
26
27namespace Aws
28{
29namespace Lambda
30{
31namespace Model
32{
33
37 {
38 public:
39 AWS_LAMBDA_API CreateFunctionRequest();
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CreateFunction"; }
46
47 AWS_LAMBDA_API Aws::String SerializePayload() const override;
48
49
51
61 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
62 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
63 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
64 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
65 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
66 inline CreateFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
67 inline CreateFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
68 inline CreateFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
70
72
86 inline const Runtime& GetRuntime() const{ return m_runtime; }
87 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
88 inline void SetRuntime(const Runtime& value) { m_runtimeHasBeenSet = true; m_runtime = value; }
89 inline void SetRuntime(Runtime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); }
90 inline CreateFunctionRequest& WithRuntime(const Runtime& value) { SetRuntime(value); return *this;}
91 inline CreateFunctionRequest& WithRuntime(Runtime&& value) { SetRuntime(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetRole() const{ return m_role; }
99 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
100 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
101 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
102 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
103 inline CreateFunctionRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
104 inline CreateFunctionRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
105 inline CreateFunctionRequest& WithRole(const char* value) { SetRole(value); return *this;}
107
109
117 inline const Aws::String& GetHandler() const{ return m_handler; }
118 inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
119 inline void SetHandler(const Aws::String& value) { m_handlerHasBeenSet = true; m_handler = value; }
120 inline void SetHandler(Aws::String&& value) { m_handlerHasBeenSet = true; m_handler = std::move(value); }
121 inline void SetHandler(const char* value) { m_handlerHasBeenSet = true; m_handler.assign(value); }
122 inline CreateFunctionRequest& WithHandler(const Aws::String& value) { SetHandler(value); return *this;}
123 inline CreateFunctionRequest& WithHandler(Aws::String&& value) { SetHandler(std::move(value)); return *this;}
124 inline CreateFunctionRequest& WithHandler(const char* value) { SetHandler(value); return *this;}
126
128
131 inline const FunctionCode& GetCode() const{ return m_code; }
132 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
133 inline void SetCode(const FunctionCode& value) { m_codeHasBeenSet = true; m_code = value; }
134 inline void SetCode(FunctionCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
135 inline CreateFunctionRequest& WithCode(const FunctionCode& value) { SetCode(value); return *this;}
136 inline CreateFunctionRequest& WithCode(FunctionCode&& value) { SetCode(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetDescription() const{ return m_description; }
144 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
145 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
146 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
147 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 inline CreateFunctionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 inline CreateFunctionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
150 inline CreateFunctionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
152
154
161 inline int GetTimeout() const{ return m_timeout; }
162 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
163 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
164 inline CreateFunctionRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
166
168
175 inline int GetMemorySize() const{ return m_memorySize; }
176 inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
177 inline void SetMemorySize(int value) { m_memorySizeHasBeenSet = true; m_memorySize = value; }
178 inline CreateFunctionRequest& WithMemorySize(int value) { SetMemorySize(value); return *this;}
180
182
185 inline bool GetPublish() const{ return m_publish; }
186 inline bool PublishHasBeenSet() const { return m_publishHasBeenSet; }
187 inline void SetPublish(bool value) { m_publishHasBeenSet = true; m_publish = value; }
188 inline CreateFunctionRequest& WithPublish(bool value) { SetPublish(value); return *this;}
190
192
200 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
201 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
202 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
203 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
204 inline CreateFunctionRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
205 inline CreateFunctionRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
207
209
213 inline const PackageType& GetPackageType() const{ return m_packageType; }
214 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
215 inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
216 inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
217 inline CreateFunctionRequest& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
218 inline CreateFunctionRequest& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
220
222
229 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
230 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
231 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
232 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
234 inline CreateFunctionRequest& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
236
238
242 inline const Environment& GetEnvironment() const{ return m_environment; }
243 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
244 inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
245 inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
246 inline CreateFunctionRequest& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
247 inline CreateFunctionRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
249
251
264 inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
265 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
266 inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = value; }
267 inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::move(value); }
268 inline void SetKMSKeyArn(const char* value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn.assign(value); }
269 inline CreateFunctionRequest& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
270 inline CreateFunctionRequest& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
271 inline CreateFunctionRequest& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
273
275
280 inline const TracingConfig& GetTracingConfig() const{ return m_tracingConfig; }
281 inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
282 inline void SetTracingConfig(const TracingConfig& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = value; }
283 inline void SetTracingConfig(TracingConfig&& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = std::move(value); }
284 inline CreateFunctionRequest& WithTracingConfig(const TracingConfig& value) { SetTracingConfig(value); return *this;}
285 inline CreateFunctionRequest& WithTracingConfig(TracingConfig&& value) { SetTracingConfig(std::move(value)); return *this;}
287
289
294 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
295 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
296 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
297 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
298 inline CreateFunctionRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
299 inline CreateFunctionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
300 inline CreateFunctionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
301 inline CreateFunctionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
302 inline CreateFunctionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
303 inline CreateFunctionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
304 inline CreateFunctionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
305 inline CreateFunctionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
306 inline CreateFunctionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
308
310
316 inline const Aws::Vector<Aws::String>& GetLayers() const{ return m_layers; }
317 inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
318 inline void SetLayers(const Aws::Vector<Aws::String>& value) { m_layersHasBeenSet = true; m_layers = value; }
319 inline void SetLayers(Aws::Vector<Aws::String>&& value) { m_layersHasBeenSet = true; m_layers = std::move(value); }
320 inline CreateFunctionRequest& WithLayers(const Aws::Vector<Aws::String>& value) { SetLayers(value); return *this;}
321 inline CreateFunctionRequest& WithLayers(Aws::Vector<Aws::String>&& value) { SetLayers(std::move(value)); return *this;}
322 inline CreateFunctionRequest& AddLayers(const Aws::String& value) { m_layersHasBeenSet = true; m_layers.push_back(value); return *this; }
323 inline CreateFunctionRequest& AddLayers(Aws::String&& value) { m_layersHasBeenSet = true; m_layers.push_back(std::move(value)); return *this; }
324 inline CreateFunctionRequest& AddLayers(const char* value) { m_layersHasBeenSet = true; m_layers.push_back(value); return *this; }
326
328
331 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const{ return m_fileSystemConfigs; }
332 inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
333 inline void SetFileSystemConfigs(const Aws::Vector<FileSystemConfig>& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = value; }
334 inline void SetFileSystemConfigs(Aws::Vector<FileSystemConfig>&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = std::move(value); }
337 inline CreateFunctionRequest& AddFileSystemConfigs(const FileSystemConfig& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(value); return *this; }
338 inline CreateFunctionRequest& AddFileSystemConfigs(FileSystemConfig&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(std::move(value)); return *this; }
340
342
347 inline const ImageConfig& GetImageConfig() const{ return m_imageConfig; }
348 inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
349 inline void SetImageConfig(const ImageConfig& value) { m_imageConfigHasBeenSet = true; m_imageConfig = value; }
350 inline void SetImageConfig(ImageConfig&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::move(value); }
351 inline CreateFunctionRequest& WithImageConfig(const ImageConfig& value) { SetImageConfig(value); return *this;}
352 inline CreateFunctionRequest& WithImageConfig(ImageConfig&& value) { SetImageConfig(std::move(value)); return *this;}
354
356
361 inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
362 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
363 inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
364 inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
365 inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
367 inline CreateFunctionRequest& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
368 inline CreateFunctionRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
370
372
377 inline const Aws::Vector<Architecture>& GetArchitectures() const{ return m_architectures; }
378 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
379 inline void SetArchitectures(const Aws::Vector<Architecture>& value) { m_architecturesHasBeenSet = true; m_architectures = value; }
380 inline void SetArchitectures(Aws::Vector<Architecture>&& value) { m_architecturesHasBeenSet = true; m_architectures = std::move(value); }
382 inline CreateFunctionRequest& WithArchitectures(Aws::Vector<Architecture>&& value) { SetArchitectures(std::move(value)); return *this;}
383 inline CreateFunctionRequest& AddArchitectures(const Architecture& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
384 inline CreateFunctionRequest& AddArchitectures(Architecture&& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(std::move(value)); return *this; }
386
388
395 inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
396 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
397 inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
398 inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
400 inline CreateFunctionRequest& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
402
404
409 inline const SnapStart& GetSnapStart() const{ return m_snapStart; }
410 inline bool SnapStartHasBeenSet() const { return m_snapStartHasBeenSet; }
411 inline void SetSnapStart(const SnapStart& value) { m_snapStartHasBeenSet = true; m_snapStart = value; }
412 inline void SetSnapStart(SnapStart&& value) { m_snapStartHasBeenSet = true; m_snapStart = std::move(value); }
413 inline CreateFunctionRequest& WithSnapStart(const SnapStart& value) { SetSnapStart(value); return *this;}
414 inline CreateFunctionRequest& WithSnapStart(SnapStart&& value) { SetSnapStart(std::move(value)); return *this;}
416
418
421 inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
422 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
423 inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; }
424 inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); }
425 inline CreateFunctionRequest& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
426 inline CreateFunctionRequest& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
428 private:
429
430 Aws::String m_functionName;
431 bool m_functionNameHasBeenSet = false;
432
433 Runtime m_runtime;
434 bool m_runtimeHasBeenSet = false;
435
436 Aws::String m_role;
437 bool m_roleHasBeenSet = false;
438
439 Aws::String m_handler;
440 bool m_handlerHasBeenSet = false;
441
442 FunctionCode m_code;
443 bool m_codeHasBeenSet = false;
444
445 Aws::String m_description;
446 bool m_descriptionHasBeenSet = false;
447
448 int m_timeout;
449 bool m_timeoutHasBeenSet = false;
450
451 int m_memorySize;
452 bool m_memorySizeHasBeenSet = false;
453
454 bool m_publish;
455 bool m_publishHasBeenSet = false;
456
457 VpcConfig m_vpcConfig;
458 bool m_vpcConfigHasBeenSet = false;
459
460 PackageType m_packageType;
461 bool m_packageTypeHasBeenSet = false;
462
463 DeadLetterConfig m_deadLetterConfig;
464 bool m_deadLetterConfigHasBeenSet = false;
465
466 Environment m_environment;
467 bool m_environmentHasBeenSet = false;
468
469 Aws::String m_kMSKeyArn;
470 bool m_kMSKeyArnHasBeenSet = false;
471
472 TracingConfig m_tracingConfig;
473 bool m_tracingConfigHasBeenSet = false;
474
476 bool m_tagsHasBeenSet = false;
477
479 bool m_layersHasBeenSet = false;
480
481 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
482 bool m_fileSystemConfigsHasBeenSet = false;
483
484 ImageConfig m_imageConfig;
485 bool m_imageConfigHasBeenSet = false;
486
487 Aws::String m_codeSigningConfigArn;
488 bool m_codeSigningConfigArnHasBeenSet = false;
489
490 Aws::Vector<Architecture> m_architectures;
491 bool m_architecturesHasBeenSet = false;
492
493 EphemeralStorage m_ephemeralStorage;
494 bool m_ephemeralStorageHasBeenSet = false;
495
496 SnapStart m_snapStart;
497 bool m_snapStartHasBeenSet = false;
498
499 LoggingConfig m_loggingConfig;
500 bool m_loggingConfigHasBeenSet = false;
501 };
502
503} // namespace Model
504} // namespace Lambda
505} // namespace Aws
CreateFunctionRequest & WithCode(const FunctionCode &value)
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFunctionRequest & WithTracingConfig(TracingConfig &&value)
CreateFunctionRequest & WithPackageType(const PackageType &value)
CreateFunctionRequest & WithVpcConfig(const VpcConfig &value)
CreateFunctionRequest & WithDescription(const char *value)
CreateFunctionRequest & WithVpcConfig(VpcConfig &&value)
void SetCodeSigningConfigArn(const Aws::String &value)
const Aws::Vector< Architecture > & GetArchitectures() const
CreateFunctionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFunctionRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetEphemeralStorage(const EphemeralStorage &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFunctionRequest & WithEphemeralStorage(const EphemeralStorage &value)
CreateFunctionRequest & WithKMSKeyArn(const char *value)
CreateFunctionRequest & WithKMSKeyArn(Aws::String &&value)
CreateFunctionRequest & AddTags(Aws::String &&key, const char *value)
CreateFunctionRequest & WithDeadLetterConfig(DeadLetterConfig &&value)
CreateFunctionRequest & WithTimeout(int value)
CreateFunctionRequest & WithPublish(bool value)
CreateFunctionRequest & WithLoggingConfig(const LoggingConfig &value)
void SetEnvironment(const Environment &value)
CreateFunctionRequest & AddLayers(Aws::String &&value)
void SetFunctionName(const Aws::String &value)
CreateFunctionRequest & WithCodeSigningConfigArn(const Aws::String &value)
void SetTracingConfig(const TracingConfig &value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
CreateFunctionRequest & WithArchitectures(const Aws::Vector< Architecture > &value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
CreateFunctionRequest & WithDescription(const Aws::String &value)
CreateFunctionRequest & WithHandler(const char *value)
CreateFunctionRequest & WithLayers(const Aws::Vector< Aws::String > &value)
CreateFunctionRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
CreateFunctionRequest & WithMemorySize(int value)
const EphemeralStorage & GetEphemeralStorage() const
CreateFunctionRequest & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
CreateFunctionRequest & WithTracingConfig(const TracingConfig &value)
void SetDescription(const Aws::String &value)
CreateFunctionRequest & WithPackageType(PackageType &&value)
CreateFunctionRequest & WithDescription(Aws::String &&value)
CreateFunctionRequest & WithEnvironment(Environment &&value)
CreateFunctionRequest & WithRuntime(Runtime &&value)
CreateFunctionRequest & WithCodeSigningConfigArn(const char *value)
CreateFunctionRequest & WithKMSKeyArn(const Aws::String &value)
void SetArchitectures(Aws::Vector< Architecture > &&value)
CreateFunctionRequest & WithHandler(Aws::String &&value)
CreateFunctionRequest & WithSnapStart(const SnapStart &value)
CreateFunctionRequest & WithRole(Aws::String &&value)
CreateFunctionRequest & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
CreateFunctionRequest & WithEnvironment(const Environment &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
void SetPackageType(const PackageType &value)
CreateFunctionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFunctionRequest & WithSnapStart(SnapStart &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFunctionRequest & AddTags(const char *key, const char *value)
void SetLayers(const Aws::Vector< Aws::String > &value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetLoggingConfig(const LoggingConfig &value)
CreateFunctionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFunctionRequest & WithRole(const char *value)
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
const Aws::Vector< Aws::String > & GetLayers() const
CreateFunctionRequest & WithFunctionName(const Aws::String &value)
CreateFunctionRequest & WithCodeSigningConfigArn(Aws::String &&value)
CreateFunctionRequest & AddFileSystemConfigs(FileSystemConfig &&value)
CreateFunctionRequest & WithImageConfig(ImageConfig &&value)
const Aws::String & GetCodeSigningConfigArn() const
CreateFunctionRequest & WithRuntime(const Runtime &value)
CreateFunctionRequest & AddArchitectures(Architecture &&value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
CreateFunctionRequest & WithHandler(const Aws::String &value)
CreateFunctionRequest & AddFileSystemConfigs(const FileSystemConfig &value)
CreateFunctionRequest & WithDeadLetterConfig(const DeadLetterConfig &value)
CreateFunctionRequest & WithFunctionName(const char *value)
void SetImageConfig(const ImageConfig &value)
CreateFunctionRequest & WithCode(FunctionCode &&value)
CreateFunctionRequest & AddTags(const char *key, Aws::String &&value)
CreateFunctionRequest & AddArchitectures(const Architecture &value)
CreateFunctionRequest & WithRole(const Aws::String &value)
CreateFunctionRequest & WithLayers(Aws::Vector< Aws::String > &&value)
CreateFunctionRequest & AddLayers(const char *value)
CreateFunctionRequest & WithEphemeralStorage(EphemeralStorage &&value)
virtual const char * GetServiceRequestName() const override
void SetLayers(Aws::Vector< Aws::String > &&value)
CreateFunctionRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateFunctionRequest & AddLayers(const Aws::String &value)
CreateFunctionRequest & WithArchitectures(Aws::Vector< Architecture > &&value)
CreateFunctionRequest & WithImageConfig(const ImageConfig &value)
CreateFunctionRequest & WithLoggingConfig(LoggingConfig &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
CreateFunctionRequest & WithFunctionName(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