AWS SDK for C++

AWS SDK for C++ Version 1.11.893

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
190 inline int GetTimeout() const { return m_timeout; }
191 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
192 inline void SetTimeout(int value) {
193 m_timeoutHasBeenSet = true;
194 m_timeout = value;
195 }
197 SetTimeout(value);
198 return *this;
199 }
201
203
210 inline int GetMemorySize() const { return m_memorySize; }
211 inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
212 inline void SetMemorySize(int value) {
213 m_memorySizeHasBeenSet = true;
214 m_memorySize = value;
215 }
217 SetMemorySize(value);
218 return *this;
219 }
221
223
226 inline bool GetPublish() const { return m_publish; }
227 inline bool PublishHasBeenSet() const { return m_publishHasBeenSet; }
228 inline void SetPublish(bool value) {
229 m_publishHasBeenSet = true;
230 m_publish = value;
231 }
232 inline CreateFunctionRequest& WithPublish(bool value) {
233 SetPublish(value);
234 return *this;
235 }
237
239
242 inline FunctionVersionLatestPublished GetPublishTo() const { return m_publishTo; }
243 inline bool PublishToHasBeenSet() const { return m_publishToHasBeenSet; }
245 m_publishToHasBeenSet = true;
246 m_publishTo = value;
247 }
249 SetPublishTo(value);
250 return *this;
251 }
253
255
263 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
264 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
265 template <typename VpcConfigT = VpcConfig>
266 void SetVpcConfig(VpcConfigT&& value) {
267 m_vpcConfigHasBeenSet = true;
268 m_vpcConfig = std::forward<VpcConfigT>(value);
269 }
270 template <typename VpcConfigT = VpcConfig>
272 SetVpcConfig(std::forward<VpcConfigT>(value));
273 return *this;
274 }
276
278
282 inline PackageType GetPackageType() const { return m_packageType; }
283 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
284 inline void SetPackageType(PackageType value) {
285 m_packageTypeHasBeenSet = true;
286 m_packageType = value;
287 }
289 SetPackageType(value);
290 return *this;
291 }
293
295
302 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
303 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
304 template <typename DeadLetterConfigT = DeadLetterConfig>
305 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
306 m_deadLetterConfigHasBeenSet = true;
307 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
308 }
309 template <typename DeadLetterConfigT = DeadLetterConfig>
310 CreateFunctionRequest& WithDeadLetterConfig(DeadLetterConfigT&& value) {
311 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
312 return *this;
313 }
315
317
321 inline const Environment& GetEnvironment() const { return m_environment; }
322 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
323 template <typename EnvironmentT = Environment>
324 void SetEnvironment(EnvironmentT&& value) {
325 m_environmentHasBeenSet = true;
326 m_environment = std::forward<EnvironmentT>(value);
327 }
328 template <typename EnvironmentT = Environment>
329 CreateFunctionRequest& WithEnvironment(EnvironmentT&& value) {
330 SetEnvironment(std::forward<EnvironmentT>(value));
331 return *this;
332 }
334
336
359 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
360 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
361 template <typename KMSKeyArnT = Aws::String>
362 void SetKMSKeyArn(KMSKeyArnT&& value) {
363 m_kMSKeyArnHasBeenSet = true;
364 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
365 }
366 template <typename KMSKeyArnT = Aws::String>
368 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
369 return *this;
370 }
372
374
379 inline const TracingConfig& GetTracingConfig() const { return m_tracingConfig; }
380 inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
381 template <typename TracingConfigT = TracingConfig>
382 void SetTracingConfig(TracingConfigT&& value) {
383 m_tracingConfigHasBeenSet = true;
384 m_tracingConfig = std::forward<TracingConfigT>(value);
385 }
386 template <typename TracingConfigT = TracingConfig>
387 CreateFunctionRequest& WithTracingConfig(TracingConfigT&& value) {
388 SetTracingConfig(std::forward<TracingConfigT>(value));
389 return *this;
390 }
392
394
399 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
400 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
401 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
402 void SetTags(TagsT&& value) {
403 m_tagsHasBeenSet = true;
404 m_tags = std::forward<TagsT>(value);
405 }
406 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
408 SetTags(std::forward<TagsT>(value));
409 return *this;
410 }
411 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
412 CreateFunctionRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
413 m_tagsHasBeenSet = true;
414 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
415 return *this;
416 }
418
420
426 inline const Aws::Vector<Aws::String>& GetLayers() const { return m_layers; }
427 inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
428 template <typename LayersT = Aws::Vector<Aws::String>>
429 void SetLayers(LayersT&& value) {
430 m_layersHasBeenSet = true;
431 m_layers = std::forward<LayersT>(value);
432 }
433 template <typename LayersT = Aws::Vector<Aws::String>>
435 SetLayers(std::forward<LayersT>(value));
436 return *this;
437 }
438 template <typename LayersT = Aws::String>
440 m_layersHasBeenSet = true;
441 m_layers.emplace_back(std::forward<LayersT>(value));
442 return *this;
443 }
445
447
451 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
452 inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
453 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
454 void SetFileSystemConfigs(FileSystemConfigsT&& value) {
455 m_fileSystemConfigsHasBeenSet = true;
456 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
457 }
458 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
459 CreateFunctionRequest& WithFileSystemConfigs(FileSystemConfigsT&& value) {
460 SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value));
461 return *this;
462 }
463 template <typename FileSystemConfigsT = FileSystemConfig>
464 CreateFunctionRequest& AddFileSystemConfigs(FileSystemConfigsT&& value) {
465 m_fileSystemConfigsHasBeenSet = true;
466 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
467 return *this;
468 }
470
472
477 inline const Aws::String& GetCodeSigningConfigArn() const { return m_codeSigningConfigArn; }
478 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
479 template <typename CodeSigningConfigArnT = Aws::String>
480 void SetCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
481 m_codeSigningConfigArnHasBeenSet = true;
482 m_codeSigningConfigArn = std::forward<CodeSigningConfigArnT>(value);
483 }
484 template <typename CodeSigningConfigArnT = Aws::String>
485 CreateFunctionRequest& WithCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
486 SetCodeSigningConfigArn(std::forward<CodeSigningConfigArnT>(value));
487 return *this;
488 }
490
492
497 inline const ImageConfig& GetImageConfig() const { return m_imageConfig; }
498 inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
499 template <typename ImageConfigT = ImageConfig>
500 void SetImageConfig(ImageConfigT&& value) {
501 m_imageConfigHasBeenSet = true;
502 m_imageConfig = std::forward<ImageConfigT>(value);
503 }
504 template <typename ImageConfigT = ImageConfig>
505 CreateFunctionRequest& WithImageConfig(ImageConfigT&& value) {
506 SetImageConfig(std::forward<ImageConfigT>(value));
507 return *this;
508 }
510
512
517 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
518 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
519 template <typename ArchitecturesT = Aws::Vector<Architecture>>
520 void SetArchitectures(ArchitecturesT&& value) {
521 m_architecturesHasBeenSet = true;
522 m_architectures = std::forward<ArchitecturesT>(value);
523 }
524 template <typename ArchitecturesT = Aws::Vector<Architecture>>
525 CreateFunctionRequest& WithArchitectures(ArchitecturesT&& value) {
526 SetArchitectures(std::forward<ArchitecturesT>(value));
527 return *this;
528 }
530 m_architecturesHasBeenSet = true;
531 m_architectures.push_back(value);
532 return *this;
533 }
535
537
544 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
545 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
546 template <typename EphemeralStorageT = EphemeralStorage>
547 void SetEphemeralStorage(EphemeralStorageT&& value) {
548 m_ephemeralStorageHasBeenSet = true;
549 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
550 }
551 template <typename EphemeralStorageT = EphemeralStorage>
552 CreateFunctionRequest& WithEphemeralStorage(EphemeralStorageT&& value) {
553 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
554 return *this;
555 }
557
559
564 inline const SnapStart& GetSnapStart() const { return m_snapStart; }
565 inline bool SnapStartHasBeenSet() const { return m_snapStartHasBeenSet; }
566 template <typename SnapStartT = SnapStart>
567 void SetSnapStart(SnapStartT&& value) {
568 m_snapStartHasBeenSet = true;
569 m_snapStart = std::forward<SnapStartT>(value);
570 }
571 template <typename SnapStartT = SnapStart>
573 SetSnapStart(std::forward<SnapStartT>(value));
574 return *this;
575 }
577
579
582 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
583 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
584 template <typename LoggingConfigT = LoggingConfig>
585 void SetLoggingConfig(LoggingConfigT&& value) {
586 m_loggingConfigHasBeenSet = true;
587 m_loggingConfig = std::forward<LoggingConfigT>(value);
588 }
589 template <typename LoggingConfigT = LoggingConfig>
590 CreateFunctionRequest& WithLoggingConfig(LoggingConfigT&& value) {
591 SetLoggingConfig(std::forward<LoggingConfigT>(value));
592 return *this;
593 }
595
597
602 inline const TenancyConfig& GetTenancyConfig() const { return m_tenancyConfig; }
603 inline bool TenancyConfigHasBeenSet() const { return m_tenancyConfigHasBeenSet; }
604 template <typename TenancyConfigT = TenancyConfig>
605 void SetTenancyConfig(TenancyConfigT&& value) {
606 m_tenancyConfigHasBeenSet = true;
607 m_tenancyConfig = std::forward<TenancyConfigT>(value);
608 }
609 template <typename TenancyConfigT = TenancyConfig>
610 CreateFunctionRequest& WithTenancyConfig(TenancyConfigT&& value) {
611 SetTenancyConfig(std::forward<TenancyConfigT>(value));
612 return *this;
613 }
615
617
621 inline const CapacityProviderConfig& GetCapacityProviderConfig() const { return m_capacityProviderConfig; }
622 inline bool CapacityProviderConfigHasBeenSet() const { return m_capacityProviderConfigHasBeenSet; }
623 template <typename CapacityProviderConfigT = CapacityProviderConfig>
624 void SetCapacityProviderConfig(CapacityProviderConfigT&& value) {
625 m_capacityProviderConfigHasBeenSet = true;
626 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
627 }
628 template <typename CapacityProviderConfigT = CapacityProviderConfig>
629 CreateFunctionRequest& WithCapacityProviderConfig(CapacityProviderConfigT&& value) {
630 SetCapacityProviderConfig(std::forward<CapacityProviderConfigT>(value));
631 return *this;
632 }
634
636
641 inline const DurableConfig& GetDurableConfig() const { return m_durableConfig; }
642 inline bool DurableConfigHasBeenSet() const { return m_durableConfigHasBeenSet; }
643 template <typename DurableConfigT = DurableConfig>
644 void SetDurableConfig(DurableConfigT&& value) {
645 m_durableConfigHasBeenSet = true;
646 m_durableConfig = std::forward<DurableConfigT>(value);
647 }
648 template <typename DurableConfigT = DurableConfig>
649 CreateFunctionRequest& WithDurableConfig(DurableConfigT&& value) {
650 SetDurableConfig(std::forward<DurableConfigT>(value));
651 return *this;
652 }
654 private:
655 Aws::String m_functionName;
656
657 Runtime m_runtime{Runtime::NOT_SET};
658
659 Aws::String m_role;
660
661 Aws::String m_handler;
662
663 FunctionCode m_code;
664
665 Aws::String m_description;
666
667 int m_timeout{0};
668
669 int m_memorySize{0};
670
671 bool m_publish{false};
672
674
675 VpcConfig m_vpcConfig;
676
677 PackageType m_packageType{PackageType::NOT_SET};
678
679 DeadLetterConfig m_deadLetterConfig;
680
681 Environment m_environment;
682
683 Aws::String m_kMSKeyArn;
684
685 TracingConfig m_tracingConfig;
686
688
690
691 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
692
693 Aws::String m_codeSigningConfigArn;
694
695 ImageConfig m_imageConfig;
696
697 Aws::Vector<Architecture> m_architectures;
698
699 EphemeralStorage m_ephemeralStorage;
700
701 SnapStart m_snapStart;
702
703 LoggingConfig m_loggingConfig;
704
705 TenancyConfig m_tenancyConfig;
706
707 CapacityProviderConfig m_capacityProviderConfig;
708
709 DurableConfig m_durableConfig;
710 bool m_functionNameHasBeenSet = false;
711 bool m_runtimeHasBeenSet = false;
712 bool m_roleHasBeenSet = false;
713 bool m_handlerHasBeenSet = false;
714 bool m_codeHasBeenSet = false;
715 bool m_descriptionHasBeenSet = false;
716 bool m_timeoutHasBeenSet = false;
717 bool m_memorySizeHasBeenSet = false;
718 bool m_publishHasBeenSet = false;
719 bool m_publishToHasBeenSet = false;
720 bool m_vpcConfigHasBeenSet = false;
721 bool m_packageTypeHasBeenSet = false;
722 bool m_deadLetterConfigHasBeenSet = false;
723 bool m_environmentHasBeenSet = false;
724 bool m_kMSKeyArnHasBeenSet = false;
725 bool m_tracingConfigHasBeenSet = false;
726 bool m_tagsHasBeenSet = false;
727 bool m_layersHasBeenSet = false;
728 bool m_fileSystemConfigsHasBeenSet = false;
729 bool m_codeSigningConfigArnHasBeenSet = false;
730 bool m_imageConfigHasBeenSet = false;
731 bool m_architecturesHasBeenSet = false;
732 bool m_ephemeralStorageHasBeenSet = false;
733 bool m_snapStartHasBeenSet = false;
734 bool m_loggingConfigHasBeenSet = false;
735 bool m_tenancyConfigHasBeenSet = false;
736 bool m_capacityProviderConfigHasBeenSet = false;
737 bool m_durableConfigHasBeenSet = false;
738};
739
740} // namespace Model
741} // namespace Lambda
742} // 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