AWS SDK for C++

AWS SDK for C++ Version 1.11.834

Loading...
Searching...
No Matches
CreateFunctionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/LambdaRequest.h>
11#include <aws/lambda/Lambda_EXPORTS.h>
12#include <aws/lambda/model/Architecture.h>
13#include <aws/lambda/model/CapacityProviderConfig.h>
14#include <aws/lambda/model/DeadLetterConfig.h>
15#include <aws/lambda/model/DurableConfig.h>
16#include <aws/lambda/model/Environment.h>
17#include <aws/lambda/model/EphemeralStorage.h>
18#include <aws/lambda/model/FileSystemConfig.h>
19#include <aws/lambda/model/FunctionCode.h>
20#include <aws/lambda/model/FunctionVersionLatestPublished.h>
21#include <aws/lambda/model/ImageConfig.h>
22#include <aws/lambda/model/LoggingConfig.h>
23#include <aws/lambda/model/PackageType.h>
24#include <aws/lambda/model/Runtime.h>
25#include <aws/lambda/model/SnapStart.h>
26#include <aws/lambda/model/TenancyConfig.h>
27#include <aws/lambda/model/TracingConfig.h>
28#include <aws/lambda/model/VpcConfig.h>
29
30#include <utility>
31
32namespace Aws {
33namespace Lambda {
34namespace Model {
35
39 public:
40 AWS_LAMBDA_API CreateFunctionRequest() = default;
41
42 // Service request name is the Operation name which will send this request out,
43 // each operation should has unique request name, so that we can get operation's name from this request.
44 // Note: this is not true for response, multiple operations may have the same response name,
45 // so we can not get operation's name from response.
46 inline virtual const char* GetServiceRequestName() const override { return "CreateFunction"; }
47
48 AWS_LAMBDA_API Aws::String SerializePayload() const override;
49
51
61 inline const Aws::String& GetFunctionName() const { return m_functionName; }
62 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
63 template <typename FunctionNameT = Aws::String>
64 void SetFunctionName(FunctionNameT&& value) {
65 m_functionNameHasBeenSet = true;
66 m_functionName = std::forward<FunctionNameT>(value);
67 }
68 template <typename FunctionNameT = Aws::String>
69 CreateFunctionRequest& WithFunctionName(FunctionNameT&& value) {
70 SetFunctionName(std::forward<FunctionNameT>(value));
71 return *this;
72 }
74
76
90 inline Runtime GetRuntime() const { return m_runtime; }
91 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
92 inline void SetRuntime(Runtime value) {
93 m_runtimeHasBeenSet = true;
94 m_runtime = value;
95 }
97 SetRuntime(value);
98 return *this;
99 }
101
103
106 inline const Aws::String& GetRole() const { return m_role; }
107 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
108 template <typename RoleT = Aws::String>
109 void SetRole(RoleT&& value) {
110 m_roleHasBeenSet = true;
111 m_role = std::forward<RoleT>(value);
112 }
113 template <typename RoleT = Aws::String>
115 SetRole(std::forward<RoleT>(value));
116 return *this;
117 }
119
121
129 inline const Aws::String& GetHandler() const { return m_handler; }
130 inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
131 template <typename HandlerT = Aws::String>
132 void SetHandler(HandlerT&& value) {
133 m_handlerHasBeenSet = true;
134 m_handler = std::forward<HandlerT>(value);
135 }
136 template <typename HandlerT = Aws::String>
138 SetHandler(std::forward<HandlerT>(value));
139 return *this;
140 }
142
144
147 inline const FunctionCode& GetCode() const { return m_code; }
148 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
149 template <typename CodeT = FunctionCode>
150 void SetCode(CodeT&& value) {
151 m_codeHasBeenSet = true;
152 m_code = std::forward<CodeT>(value);
153 }
154 template <typename CodeT = FunctionCode>
156 SetCode(std::forward<CodeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetDescription() const { return m_description; }
166 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
167 template <typename DescriptionT = Aws::String>
168 void SetDescription(DescriptionT&& value) {
169 m_descriptionHasBeenSet = true;
170 m_description = std::forward<DescriptionT>(value);
171 }
172 template <typename DescriptionT = Aws::String>
173 CreateFunctionRequest& WithDescription(DescriptionT&& value) {
174 SetDescription(std::forward<DescriptionT>(value));
175 return *this;
176 }
178
180
187 inline int GetTimeout() const { return m_timeout; }
188 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
189 inline void SetTimeout(int value) {
190 m_timeoutHasBeenSet = true;
191 m_timeout = value;
192 }
194 SetTimeout(value);
195 return *this;
196 }
198
200
207 inline int GetMemorySize() const { return m_memorySize; }
208 inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
209 inline void SetMemorySize(int value) {
210 m_memorySizeHasBeenSet = true;
211 m_memorySize = value;
212 }
214 SetMemorySize(value);
215 return *this;
216 }
218
220
223 inline bool GetPublish() const { return m_publish; }
224 inline bool PublishHasBeenSet() const { return m_publishHasBeenSet; }
225 inline void SetPublish(bool value) {
226 m_publishHasBeenSet = true;
227 m_publish = value;
228 }
229 inline CreateFunctionRequest& WithPublish(bool value) {
230 SetPublish(value);
231 return *this;
232 }
234
236
239 inline FunctionVersionLatestPublished GetPublishTo() const { return m_publishTo; }
240 inline bool PublishToHasBeenSet() const { return m_publishToHasBeenSet; }
242 m_publishToHasBeenSet = true;
243 m_publishTo = value;
244 }
246 SetPublishTo(value);
247 return *this;
248 }
250
252
260 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
261 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
262 template <typename VpcConfigT = VpcConfig>
263 void SetVpcConfig(VpcConfigT&& value) {
264 m_vpcConfigHasBeenSet = true;
265 m_vpcConfig = std::forward<VpcConfigT>(value);
266 }
267 template <typename VpcConfigT = VpcConfig>
269 SetVpcConfig(std::forward<VpcConfigT>(value));
270 return *this;
271 }
273
275
279 inline PackageType GetPackageType() const { return m_packageType; }
280 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
281 inline void SetPackageType(PackageType value) {
282 m_packageTypeHasBeenSet = true;
283 m_packageType = value;
284 }
286 SetPackageType(value);
287 return *this;
288 }
290
292
299 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
300 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
301 template <typename DeadLetterConfigT = DeadLetterConfig>
302 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
303 m_deadLetterConfigHasBeenSet = true;
304 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
305 }
306 template <typename DeadLetterConfigT = DeadLetterConfig>
307 CreateFunctionRequest& WithDeadLetterConfig(DeadLetterConfigT&& value) {
308 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
309 return *this;
310 }
312
314
318 inline const Environment& GetEnvironment() const { return m_environment; }
319 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
320 template <typename EnvironmentT = Environment>
321 void SetEnvironment(EnvironmentT&& value) {
322 m_environmentHasBeenSet = true;
323 m_environment = std::forward<EnvironmentT>(value);
324 }
325 template <typename EnvironmentT = Environment>
326 CreateFunctionRequest& WithEnvironment(EnvironmentT&& value) {
327 SetEnvironment(std::forward<EnvironmentT>(value));
328 return *this;
329 }
331
333
356 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
357 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
358 template <typename KMSKeyArnT = Aws::String>
359 void SetKMSKeyArn(KMSKeyArnT&& value) {
360 m_kMSKeyArnHasBeenSet = true;
361 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
362 }
363 template <typename KMSKeyArnT = Aws::String>
365 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
366 return *this;
367 }
369
371
376 inline const TracingConfig& GetTracingConfig() const { return m_tracingConfig; }
377 inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
378 template <typename TracingConfigT = TracingConfig>
379 void SetTracingConfig(TracingConfigT&& value) {
380 m_tracingConfigHasBeenSet = true;
381 m_tracingConfig = std::forward<TracingConfigT>(value);
382 }
383 template <typename TracingConfigT = TracingConfig>
384 CreateFunctionRequest& WithTracingConfig(TracingConfigT&& value) {
385 SetTracingConfig(std::forward<TracingConfigT>(value));
386 return *this;
387 }
389
391
396 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
397 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
398 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
399 void SetTags(TagsT&& value) {
400 m_tagsHasBeenSet = true;
401 m_tags = std::forward<TagsT>(value);
402 }
403 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
405 SetTags(std::forward<TagsT>(value));
406 return *this;
407 }
408 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
409 CreateFunctionRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
410 m_tagsHasBeenSet = true;
411 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
412 return *this;
413 }
415
417
423 inline const Aws::Vector<Aws::String>& GetLayers() const { return m_layers; }
424 inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
425 template <typename LayersT = Aws::Vector<Aws::String>>
426 void SetLayers(LayersT&& value) {
427 m_layersHasBeenSet = true;
428 m_layers = std::forward<LayersT>(value);
429 }
430 template <typename LayersT = Aws::Vector<Aws::String>>
432 SetLayers(std::forward<LayersT>(value));
433 return *this;
434 }
435 template <typename LayersT = Aws::String>
437 m_layersHasBeenSet = true;
438 m_layers.emplace_back(std::forward<LayersT>(value));
439 return *this;
440 }
442
444
448 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
449 inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
450 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
451 void SetFileSystemConfigs(FileSystemConfigsT&& value) {
452 m_fileSystemConfigsHasBeenSet = true;
453 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
454 }
455 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
456 CreateFunctionRequest& WithFileSystemConfigs(FileSystemConfigsT&& value) {
457 SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value));
458 return *this;
459 }
460 template <typename FileSystemConfigsT = FileSystemConfig>
461 CreateFunctionRequest& AddFileSystemConfigs(FileSystemConfigsT&& value) {
462 m_fileSystemConfigsHasBeenSet = true;
463 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
464 return *this;
465 }
467
469
474 inline const Aws::String& GetCodeSigningConfigArn() const { return m_codeSigningConfigArn; }
475 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
476 template <typename CodeSigningConfigArnT = Aws::String>
477 void SetCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
478 m_codeSigningConfigArnHasBeenSet = true;
479 m_codeSigningConfigArn = std::forward<CodeSigningConfigArnT>(value);
480 }
481 template <typename CodeSigningConfigArnT = Aws::String>
482 CreateFunctionRequest& WithCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
483 SetCodeSigningConfigArn(std::forward<CodeSigningConfigArnT>(value));
484 return *this;
485 }
487
489
494 inline const ImageConfig& GetImageConfig() const { return m_imageConfig; }
495 inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
496 template <typename ImageConfigT = ImageConfig>
497 void SetImageConfig(ImageConfigT&& value) {
498 m_imageConfigHasBeenSet = true;
499 m_imageConfig = std::forward<ImageConfigT>(value);
500 }
501 template <typename ImageConfigT = ImageConfig>
502 CreateFunctionRequest& WithImageConfig(ImageConfigT&& value) {
503 SetImageConfig(std::forward<ImageConfigT>(value));
504 return *this;
505 }
507
509
514 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
515 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
516 template <typename ArchitecturesT = Aws::Vector<Architecture>>
517 void SetArchitectures(ArchitecturesT&& value) {
518 m_architecturesHasBeenSet = true;
519 m_architectures = std::forward<ArchitecturesT>(value);
520 }
521 template <typename ArchitecturesT = Aws::Vector<Architecture>>
522 CreateFunctionRequest& WithArchitectures(ArchitecturesT&& value) {
523 SetArchitectures(std::forward<ArchitecturesT>(value));
524 return *this;
525 }
527 m_architecturesHasBeenSet = true;
528 m_architectures.push_back(value);
529 return *this;
530 }
532
534
541 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
542 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
543 template <typename EphemeralStorageT = EphemeralStorage>
544 void SetEphemeralStorage(EphemeralStorageT&& value) {
545 m_ephemeralStorageHasBeenSet = true;
546 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
547 }
548 template <typename EphemeralStorageT = EphemeralStorage>
549 CreateFunctionRequest& WithEphemeralStorage(EphemeralStorageT&& value) {
550 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
551 return *this;
552 }
554
556
561 inline const SnapStart& GetSnapStart() const { return m_snapStart; }
562 inline bool SnapStartHasBeenSet() const { return m_snapStartHasBeenSet; }
563 template <typename SnapStartT = SnapStart>
564 void SetSnapStart(SnapStartT&& value) {
565 m_snapStartHasBeenSet = true;
566 m_snapStart = std::forward<SnapStartT>(value);
567 }
568 template <typename SnapStartT = SnapStart>
570 SetSnapStart(std::forward<SnapStartT>(value));
571 return *this;
572 }
574
576
579 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
580 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
581 template <typename LoggingConfigT = LoggingConfig>
582 void SetLoggingConfig(LoggingConfigT&& value) {
583 m_loggingConfigHasBeenSet = true;
584 m_loggingConfig = std::forward<LoggingConfigT>(value);
585 }
586 template <typename LoggingConfigT = LoggingConfig>
587 CreateFunctionRequest& WithLoggingConfig(LoggingConfigT&& value) {
588 SetLoggingConfig(std::forward<LoggingConfigT>(value));
589 return *this;
590 }
592
594
599 inline const TenancyConfig& GetTenancyConfig() const { return m_tenancyConfig; }
600 inline bool TenancyConfigHasBeenSet() const { return m_tenancyConfigHasBeenSet; }
601 template <typename TenancyConfigT = TenancyConfig>
602 void SetTenancyConfig(TenancyConfigT&& value) {
603 m_tenancyConfigHasBeenSet = true;
604 m_tenancyConfig = std::forward<TenancyConfigT>(value);
605 }
606 template <typename TenancyConfigT = TenancyConfig>
607 CreateFunctionRequest& WithTenancyConfig(TenancyConfigT&& value) {
608 SetTenancyConfig(std::forward<TenancyConfigT>(value));
609 return *this;
610 }
612
614
618 inline const CapacityProviderConfig& GetCapacityProviderConfig() const { return m_capacityProviderConfig; }
619 inline bool CapacityProviderConfigHasBeenSet() const { return m_capacityProviderConfigHasBeenSet; }
620 template <typename CapacityProviderConfigT = CapacityProviderConfig>
621 void SetCapacityProviderConfig(CapacityProviderConfigT&& value) {
622 m_capacityProviderConfigHasBeenSet = true;
623 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
624 }
625 template <typename CapacityProviderConfigT = CapacityProviderConfig>
626 CreateFunctionRequest& WithCapacityProviderConfig(CapacityProviderConfigT&& value) {
627 SetCapacityProviderConfig(std::forward<CapacityProviderConfigT>(value));
628 return *this;
629 }
631
633
638 inline const DurableConfig& GetDurableConfig() const { return m_durableConfig; }
639 inline bool DurableConfigHasBeenSet() const { return m_durableConfigHasBeenSet; }
640 template <typename DurableConfigT = DurableConfig>
641 void SetDurableConfig(DurableConfigT&& value) {
642 m_durableConfigHasBeenSet = true;
643 m_durableConfig = std::forward<DurableConfigT>(value);
644 }
645 template <typename DurableConfigT = DurableConfig>
646 CreateFunctionRequest& WithDurableConfig(DurableConfigT&& value) {
647 SetDurableConfig(std::forward<DurableConfigT>(value));
648 return *this;
649 }
651 private:
652 Aws::String m_functionName;
653
654 Runtime m_runtime{Runtime::NOT_SET};
655
656 Aws::String m_role;
657
658 Aws::String m_handler;
659
660 FunctionCode m_code;
661
662 Aws::String m_description;
663
664 int m_timeout{0};
665
666 int m_memorySize{0};
667
668 bool m_publish{false};
669
671
672 VpcConfig m_vpcConfig;
673
674 PackageType m_packageType{PackageType::NOT_SET};
675
676 DeadLetterConfig m_deadLetterConfig;
677
678 Environment m_environment;
679
680 Aws::String m_kMSKeyArn;
681
682 TracingConfig m_tracingConfig;
683
685
687
688 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
689
690 Aws::String m_codeSigningConfigArn;
691
692 ImageConfig m_imageConfig;
693
694 Aws::Vector<Architecture> m_architectures;
695
696 EphemeralStorage m_ephemeralStorage;
697
698 SnapStart m_snapStart;
699
700 LoggingConfig m_loggingConfig;
701
702 TenancyConfig m_tenancyConfig;
703
704 CapacityProviderConfig m_capacityProviderConfig;
705
706 DurableConfig m_durableConfig;
707 bool m_functionNameHasBeenSet = false;
708 bool m_runtimeHasBeenSet = false;
709 bool m_roleHasBeenSet = false;
710 bool m_handlerHasBeenSet = false;
711 bool m_codeHasBeenSet = false;
712 bool m_descriptionHasBeenSet = false;
713 bool m_timeoutHasBeenSet = false;
714 bool m_memorySizeHasBeenSet = false;
715 bool m_publishHasBeenSet = false;
716 bool m_publishToHasBeenSet = false;
717 bool m_vpcConfigHasBeenSet = false;
718 bool m_packageTypeHasBeenSet = false;
719 bool m_deadLetterConfigHasBeenSet = false;
720 bool m_environmentHasBeenSet = false;
721 bool m_kMSKeyArnHasBeenSet = false;
722 bool m_tracingConfigHasBeenSet = false;
723 bool m_tagsHasBeenSet = false;
724 bool m_layersHasBeenSet = false;
725 bool m_fileSystemConfigsHasBeenSet = false;
726 bool m_codeSigningConfigArnHasBeenSet = false;
727 bool m_imageConfigHasBeenSet = false;
728 bool m_architecturesHasBeenSet = false;
729 bool m_ephemeralStorageHasBeenSet = false;
730 bool m_snapStartHasBeenSet = false;
731 bool m_loggingConfigHasBeenSet = false;
732 bool m_tenancyConfigHasBeenSet = false;
733 bool m_capacityProviderConfigHasBeenSet = false;
734 bool m_durableConfigHasBeenSet = false;
735};
736
737} // namespace Model
738} // namespace Lambda
739} // namespace Aws
CreateFunctionRequest & WithPublishTo(FunctionVersionLatestPublished value)
CreateFunctionRequest & WithArchitectures(ArchitecturesT &&value)
const CapacityProviderConfig & GetCapacityProviderConfig() const
CreateFunctionRequest & AddLayers(LayersT &&value)
CreateFunctionRequest & WithTenancyConfig(TenancyConfigT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
CreateFunctionRequest & WithImageConfig(ImageConfigT &&value)
CreateFunctionRequest & WithLoggingConfig(LoggingConfigT &&value)
CreateFunctionRequest & WithRole(RoleT &&value)
CreateFunctionRequest & WithTimeout(int value)
CreateFunctionRequest & WithPublish(bool value)
void SetCodeSigningConfigArn(CodeSigningConfigArnT &&value)
CreateFunctionRequest & WithKMSKeyArn(KMSKeyArnT &&value)
CreateFunctionRequest & WithTags(TagsT &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
CreateFunctionRequest & WithMemorySize(int value)
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
CreateFunctionRequest & WithDeadLetterConfig(DeadLetterConfigT &&value)
const EphemeralStorage & GetEphemeralStorage() const
CreateFunctionRequest & WithFunctionName(FunctionNameT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
CreateFunctionRequest & WithDescription(DescriptionT &&value)
CreateFunctionRequest & WithDurableConfig(DurableConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFunctionRequest & AddArchitectures(Architecture value)
const Aws::Vector< Aws::String > & GetLayers() const
const Aws::String & GetCodeSigningConfigArn() const
AWS_LAMBDA_API CreateFunctionRequest()=default
CreateFunctionRequest & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
CreateFunctionRequest & WithHandler(HandlerT &&value)
CreateFunctionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateFunctionRequest & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
CreateFunctionRequest & WithCode(CodeT &&value)
CreateFunctionRequest & WithSnapStart(SnapStartT &&value)
CreateFunctionRequest & WithVpcConfig(VpcConfigT &&value)
CreateFunctionRequest & WithPackageType(PackageType value)
CreateFunctionRequest & WithFileSystemConfigs(FileSystemConfigsT &&value)
CreateFunctionRequest & WithEphemeralStorage(EphemeralStorageT &&value)
virtual const char * GetServiceRequestName() const override
void SetEphemeralStorage(EphemeralStorageT &&value)
FunctionVersionLatestPublished GetPublishTo() const
CreateFunctionRequest & WithTracingConfig(TracingConfigT &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
void SetPublishTo(FunctionVersionLatestPublished value)
CreateFunctionRequest & WithLayers(LayersT &&value)
CreateFunctionRequest & WithEnvironment(EnvironmentT &&value)
CreateFunctionRequest & WithCodeSigningConfigArn(CodeSigningConfigArnT &&value)
CreateFunctionRequest & WithRuntime(Runtime 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