AWS SDK for C++  1.9.20
AWS SDK for C++
CreateFunctionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
21 #include <utility>
22 
23 namespace Aws
24 {
25 namespace Lambda
26 {
27 namespace Model
28 {
29 
33  {
34  public:
36 
37  // Service request name is the Operation name which will send this request out,
38  // each operation should has unique request name, so that we can get operation's name from this request.
39  // Note: this is not true for response, multiple operations may have the same response name,
40  // so we can not get operation's name from response.
41  inline virtual const char* GetServiceRequestName() const override { return "CreateFunction"; }
42 
43  Aws::String SerializePayload() const override;
44 
45 
56  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
57 
68  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
69 
80  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
81 
92  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
93 
104  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
105 
116  inline CreateFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
117 
128  inline CreateFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
129 
140  inline CreateFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
141 
142 
147  inline const Runtime& GetRuntime() const{ return m_runtime; }
148 
153  inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
154 
159  inline void SetRuntime(const Runtime& value) { m_runtimeHasBeenSet = true; m_runtime = value; }
160 
165  inline void SetRuntime(Runtime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); }
166 
171  inline CreateFunctionRequest& WithRuntime(const Runtime& value) { SetRuntime(value); return *this;}
172 
177  inline CreateFunctionRequest& WithRuntime(Runtime&& value) { SetRuntime(std::move(value)); return *this;}
178 
179 
183  inline const Aws::String& GetRole() const{ return m_role; }
184 
188  inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
189 
193  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
194 
198  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
199 
203  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
204 
208  inline CreateFunctionRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
209 
213  inline CreateFunctionRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
214 
218  inline CreateFunctionRequest& WithRole(const char* value) { SetRole(value); return *this;}
219 
220 
228  inline const Aws::String& GetHandler() const{ return m_handler; }
229 
237  inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
238 
246  inline void SetHandler(const Aws::String& value) { m_handlerHasBeenSet = true; m_handler = value; }
247 
255  inline void SetHandler(Aws::String&& value) { m_handlerHasBeenSet = true; m_handler = std::move(value); }
256 
264  inline void SetHandler(const char* value) { m_handlerHasBeenSet = true; m_handler.assign(value); }
265 
273  inline CreateFunctionRequest& WithHandler(const Aws::String& value) { SetHandler(value); return *this;}
274 
282  inline CreateFunctionRequest& WithHandler(Aws::String&& value) { SetHandler(std::move(value)); return *this;}
283 
291  inline CreateFunctionRequest& WithHandler(const char* value) { SetHandler(value); return *this;}
292 
293 
297  inline const FunctionCode& GetCode() const{ return m_code; }
298 
302  inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
303 
307  inline void SetCode(const FunctionCode& value) { m_codeHasBeenSet = true; m_code = value; }
308 
312  inline void SetCode(FunctionCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
313 
317  inline CreateFunctionRequest& WithCode(const FunctionCode& value) { SetCode(value); return *this;}
318 
322  inline CreateFunctionRequest& WithCode(FunctionCode&& value) { SetCode(std::move(value)); return *this;}
323 
324 
328  inline const Aws::String& GetDescription() const{ return m_description; }
329 
333  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
334 
338  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
339 
343  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
344 
348  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
349 
353  inline CreateFunctionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
354 
358  inline CreateFunctionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
359 
363  inline CreateFunctionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
364 
365 
370  inline int GetTimeout() const{ return m_timeout; }
371 
376  inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
377 
382  inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
383 
388  inline CreateFunctionRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
389 
390 
396  inline int GetMemorySize() const{ return m_memorySize; }
397 
403  inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
404 
410  inline void SetMemorySize(int value) { m_memorySizeHasBeenSet = true; m_memorySize = value; }
411 
417  inline CreateFunctionRequest& WithMemorySize(int value) { SetMemorySize(value); return *this;}
418 
419 
423  inline bool GetPublish() const{ return m_publish; }
424 
428  inline bool PublishHasBeenSet() const { return m_publishHasBeenSet; }
429 
433  inline void SetPublish(bool value) { m_publishHasBeenSet = true; m_publish = value; }
434 
438  inline CreateFunctionRequest& WithPublish(bool value) { SetPublish(value); return *this;}
439 
440 
449  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
450 
459  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
460 
469  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
470 
479  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
480 
489  inline CreateFunctionRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
490 
499  inline CreateFunctionRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
500 
501 
506  inline const PackageType& GetPackageType() const{ return m_packageType; }
507 
512  inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
513 
518  inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
519 
524  inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
525 
530  inline CreateFunctionRequest& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
531 
536  inline CreateFunctionRequest& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
537 
538 
546  inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
547 
555  inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
556 
564  inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
565 
573  inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
574 
582  inline CreateFunctionRequest& WithDeadLetterConfig(const DeadLetterConfig& value) { SetDeadLetterConfig(value); return *this;}
583 
591  inline CreateFunctionRequest& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
592 
593 
598  inline const Environment& GetEnvironment() const{ return m_environment; }
599 
604  inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
605 
610  inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
611 
616  inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
617 
622  inline CreateFunctionRequest& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
623 
628  inline CreateFunctionRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
629 
630 
636  inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
637 
643  inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
644 
650  inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = value; }
651 
657  inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::move(value); }
658 
664  inline void SetKMSKeyArn(const char* value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn.assign(value); }
665 
671  inline CreateFunctionRequest& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
672 
678  inline CreateFunctionRequest& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
679 
685  inline CreateFunctionRequest& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
686 
687 
692  inline const TracingConfig& GetTracingConfig() const{ return m_tracingConfig; }
693 
698  inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
699 
704  inline void SetTracingConfig(const TracingConfig& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = value; }
705 
710  inline void SetTracingConfig(TracingConfig&& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = std::move(value); }
711 
716  inline CreateFunctionRequest& WithTracingConfig(const TracingConfig& value) { SetTracingConfig(value); return *this;}
717 
722  inline CreateFunctionRequest& WithTracingConfig(TracingConfig&& value) { SetTracingConfig(std::move(value)); return *this;}
723 
724 
730  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
731 
737  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
738 
744  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
745 
751  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
752 
758  inline CreateFunctionRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
759 
765  inline CreateFunctionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
766 
772  inline CreateFunctionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
773 
779  inline CreateFunctionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
780 
786  inline CreateFunctionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
787 
793  inline CreateFunctionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
794 
800  inline CreateFunctionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
801 
807  inline CreateFunctionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
808 
814  inline CreateFunctionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
815 
816 
823  inline const Aws::Vector<Aws::String>& GetLayers() const{ return m_layers; }
824 
831  inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
832 
839  inline void SetLayers(const Aws::Vector<Aws::String>& value) { m_layersHasBeenSet = true; m_layers = value; }
840 
847  inline void SetLayers(Aws::Vector<Aws::String>&& value) { m_layersHasBeenSet = true; m_layers = std::move(value); }
848 
855  inline CreateFunctionRequest& WithLayers(const Aws::Vector<Aws::String>& value) { SetLayers(value); return *this;}
856 
863  inline CreateFunctionRequest& WithLayers(Aws::Vector<Aws::String>&& value) { SetLayers(std::move(value)); return *this;}
864 
871  inline CreateFunctionRequest& AddLayers(const Aws::String& value) { m_layersHasBeenSet = true; m_layers.push_back(value); return *this; }
872 
879  inline CreateFunctionRequest& AddLayers(Aws::String&& value) { m_layersHasBeenSet = true; m_layers.push_back(std::move(value)); return *this; }
880 
887  inline CreateFunctionRequest& AddLayers(const char* value) { m_layersHasBeenSet = true; m_layers.push_back(value); return *this; }
888 
889 
893  inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const{ return m_fileSystemConfigs; }
894 
898  inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
899 
903  inline void SetFileSystemConfigs(const Aws::Vector<FileSystemConfig>& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = value; }
904 
908  inline void SetFileSystemConfigs(Aws::Vector<FileSystemConfig>&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = std::move(value); }
909 
913  inline CreateFunctionRequest& WithFileSystemConfigs(const Aws::Vector<FileSystemConfig>& value) { SetFileSystemConfigs(value); return *this;}
914 
918  inline CreateFunctionRequest& WithFileSystemConfigs(Aws::Vector<FileSystemConfig>&& value) { SetFileSystemConfigs(std::move(value)); return *this;}
919 
923  inline CreateFunctionRequest& AddFileSystemConfigs(const FileSystemConfig& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(value); return *this; }
924 
928  inline CreateFunctionRequest& AddFileSystemConfigs(FileSystemConfig&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(std::move(value)); return *this; }
929 
930 
937  inline const ImageConfig& GetImageConfig() const{ return m_imageConfig; }
938 
945  inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
946 
953  inline void SetImageConfig(const ImageConfig& value) { m_imageConfigHasBeenSet = true; m_imageConfig = value; }
954 
961  inline void SetImageConfig(ImageConfig&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::move(value); }
962 
969  inline CreateFunctionRequest& WithImageConfig(const ImageConfig& value) { SetImageConfig(value); return *this;}
970 
977  inline CreateFunctionRequest& WithImageConfig(ImageConfig&& value) { SetImageConfig(std::move(value)); return *this;}
978 
979 
985  inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
986 
992  inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
993 
999  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
1000 
1006  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
1007 
1013  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
1014 
1020  inline CreateFunctionRequest& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
1021 
1027  inline CreateFunctionRequest& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
1028 
1034  inline CreateFunctionRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
1035 
1036  private:
1037 
1038  Aws::String m_functionName;
1039  bool m_functionNameHasBeenSet;
1040 
1041  Runtime m_runtime;
1042  bool m_runtimeHasBeenSet;
1043 
1044  Aws::String m_role;
1045  bool m_roleHasBeenSet;
1046 
1047  Aws::String m_handler;
1048  bool m_handlerHasBeenSet;
1049 
1050  FunctionCode m_code;
1051  bool m_codeHasBeenSet;
1052 
1053  Aws::String m_description;
1054  bool m_descriptionHasBeenSet;
1055 
1056  int m_timeout;
1057  bool m_timeoutHasBeenSet;
1058 
1059  int m_memorySize;
1060  bool m_memorySizeHasBeenSet;
1061 
1062  bool m_publish;
1063  bool m_publishHasBeenSet;
1064 
1065  VpcConfig m_vpcConfig;
1066  bool m_vpcConfigHasBeenSet;
1067 
1068  PackageType m_packageType;
1069  bool m_packageTypeHasBeenSet;
1070 
1071  DeadLetterConfig m_deadLetterConfig;
1072  bool m_deadLetterConfigHasBeenSet;
1073 
1074  Environment m_environment;
1075  bool m_environmentHasBeenSet;
1076 
1077  Aws::String m_kMSKeyArn;
1078  bool m_kMSKeyArnHasBeenSet;
1079 
1080  TracingConfig m_tracingConfig;
1081  bool m_tracingConfigHasBeenSet;
1082 
1084  bool m_tagsHasBeenSet;
1085 
1086  Aws::Vector<Aws::String> m_layers;
1087  bool m_layersHasBeenSet;
1088 
1089  Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
1090  bool m_fileSystemConfigsHasBeenSet;
1091 
1092  ImageConfig m_imageConfig;
1093  bool m_imageConfigHasBeenSet;
1094 
1095  Aws::String m_codeSigningConfigArn;
1096  bool m_codeSigningConfigArnHasBeenSet;
1097  };
1098 
1099 } // namespace Model
1100 } // namespace Lambda
1101 } // namespace Aws
Aws::Lambda::Model::CreateFunctionRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateFunctionRequest.h:348
Aws::Lambda::Model::CreateFunctionRequest::SetTimeout
void SetTimeout(int value)
Definition: CreateFunctionRequest.h:382
Aws::Lambda::Model::CreateFunctionRequest::WithVpcConfig
CreateFunctionRequest & WithVpcConfig(const VpcConfig &value)
Definition: CreateFunctionRequest.h:489
Aws::Lambda::Model::CreateFunctionRequest::GetRuntime
const Runtime & GetRuntime() const
Definition: CreateFunctionRequest.h:147
Aws::Lambda::Model::CreateFunctionRequest::SetPackageType
void SetPackageType(const PackageType &value)
Definition: CreateFunctionRequest.h:518
Aws::Lambda::Model::CreateFunctionRequest::RoleHasBeenSet
bool RoleHasBeenSet() const
Definition: CreateFunctionRequest.h:188
Aws::Lambda::Model::CreateFunctionRequest::SetDeadLetterConfig
void SetDeadLetterConfig(DeadLetterConfig &&value)
Definition: CreateFunctionRequest.h:573
Aws::Lambda::Model::CreateFunctionRequest::SetPackageType
void SetPackageType(PackageType &&value)
Definition: CreateFunctionRequest.h:524
Aws::Lambda::Model::CreateFunctionRequest::WithImageConfig
CreateFunctionRequest & WithImageConfig(ImageConfig &&value)
Definition: CreateFunctionRequest.h:977
Aws::Lambda::Model::CreateFunctionRequest::SetDeadLetterConfig
void SetDeadLetterConfig(const DeadLetterConfig &value)
Definition: CreateFunctionRequest.h:564
Aws::Lambda::Model::TracingConfig
Definition: TracingConfig.h:34
Aws::Lambda::Model::CreateFunctionRequest::GetCode
const FunctionCode & GetCode() const
Definition: CreateFunctionRequest.h:297
Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn
CreateFunctionRequest & WithKMSKeyArn(Aws::String &&value)
Definition: CreateFunctionRequest.h:678
Aws::Lambda::Model::CreateFunctionRequest::WithCode
CreateFunctionRequest & WithCode(const FunctionCode &value)
Definition: CreateFunctionRequest.h:317
TracingConfig.h
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateFunctionRequest.h:793
Aws::Lambda::Model::CreateFunctionRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateFunctionRequest.h:730
ImageConfig.h
Aws::Lambda::Model::CreateFunctionRequest::GetKMSKeyArn
const Aws::String & GetKMSKeyArn() const
Definition: CreateFunctionRequest.h:636
Aws::Lambda::Model::CreateFunctionRequest::EnvironmentHasBeenSet
bool EnvironmentHasBeenSet() const
Definition: CreateFunctionRequest.h:604
Aws::Lambda::Model::CreateFunctionRequest::WithTags
CreateFunctionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateFunctionRequest.h:765
Aws::Lambda::Model::CreateFunctionRequest::GetTracingConfig
const TracingConfig & GetTracingConfig() const
Definition: CreateFunctionRequest.h:692
PackageType.h
Aws::Lambda::Model::CreateFunctionRequest::WithPackageType
CreateFunctionRequest & WithPackageType(const PackageType &value)
Definition: CreateFunctionRequest.h:530
Aws::Lambda::Model::CreateFunctionRequest::TimeoutHasBeenSet
bool TimeoutHasBeenSet() const
Definition: CreateFunctionRequest.h:376
Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: CreateFunctionRequest.h:92
Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName
CreateFunctionRequest & WithFunctionName(const char *value)
Definition: CreateFunctionRequest.h:140
Aws::Lambda::Model::CreateFunctionRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: CreateFunctionRequest.h:68
Aws::Lambda::Model::CreateFunctionRequest::RuntimeHasBeenSet
bool RuntimeHasBeenSet() const
Definition: CreateFunctionRequest.h:153
Aws::Lambda::Model::CreateFunctionRequest::WithTags
CreateFunctionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateFunctionRequest.h:758
Aws::Lambda::Model::CreateFunctionRequest::SetEnvironment
void SetEnvironment(Environment &&value)
Definition: CreateFunctionRequest.h:616
Aws::Lambda::Model::CreateFunctionRequest::SetImageConfig
void SetImageConfig(const ImageConfig &value)
Definition: CreateFunctionRequest.h:953
Aws::Lambda::Model::CreateFunctionRequest::ImageConfigHasBeenSet
bool ImageConfigHasBeenSet() const
Definition: CreateFunctionRequest.h:945
Aws::Lambda::Model::CreateFunctionRequest::SetPublish
void SetPublish(bool value)
Definition: CreateFunctionRequest.h:433
Aws::Lambda::Model::CreateFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn
void SetKMSKeyArn(const char *value)
Definition: CreateFunctionRequest.h:664
Aws::Lambda::Model::CreateFunctionRequest::MemorySizeHasBeenSet
bool MemorySizeHasBeenSet() const
Definition: CreateFunctionRequest.h:403
Aws::Lambda::Model::CreateFunctionRequest::CodeSigningConfigArnHasBeenSet
bool CodeSigningConfigArnHasBeenSet() const
Definition: CreateFunctionRequest.h:992
Aws::Lambda::Model::CreateFunctionRequest::GetImageConfig
const ImageConfig & GetImageConfig() const
Definition: CreateFunctionRequest.h:937
Aws::Lambda::Model::CreateFunctionRequest::WithRole
CreateFunctionRequest & WithRole(Aws::String &&value)
Definition: CreateFunctionRequest.h:213
Aws::Lambda::Model::CreateFunctionRequest::AddLayers
CreateFunctionRequest & AddLayers(const char *value)
Definition: CreateFunctionRequest.h:887
Aws::Lambda::Model::CreateFunctionRequest::GetPublish
bool GetPublish() const
Definition: CreateFunctionRequest.h:423
Aws::Lambda::Model::CreateFunctionRequest::PublishHasBeenSet
bool PublishHasBeenSet() const
Definition: CreateFunctionRequest.h:428
Aws::Lambda::Model::FileSystemConfig
Definition: FileSystemConfig.h:33
Aws::Lambda::Model::CreateFunctionRequest::WithVpcConfig
CreateFunctionRequest & WithVpcConfig(VpcConfig &&value)
Definition: CreateFunctionRequest.h:499
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn
CreateFunctionRequest & WithKMSKeyArn(const Aws::String &value)
Definition: CreateFunctionRequest.h:671
Aws::Lambda::Model::CreateFunctionRequest::WithLayers
CreateFunctionRequest & WithLayers(Aws::Vector< Aws::String > &&value)
Definition: CreateFunctionRequest.h:863
Aws::Lambda::Model::CreateFunctionRequest::CreateFunctionRequest
CreateFunctionRequest()
Aws::Lambda::Model::CreateFunctionRequest::WithDescription
CreateFunctionRequest & WithDescription(const Aws::String &value)
Definition: CreateFunctionRequest.h:353
Aws::Lambda::Model::CreateFunctionRequest::WithHandler
CreateFunctionRequest & WithHandler(Aws::String &&value)
Definition: CreateFunctionRequest.h:282
Aws::Lambda::Model::CreateFunctionRequest::WithFileSystemConfigs
CreateFunctionRequest & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
Definition: CreateFunctionRequest.h:918
AWSVector.h
Aws::Lambda::Model::CreateFunctionRequest::AddLayers
CreateFunctionRequest & AddLayers(const Aws::String &value)
Definition: CreateFunctionRequest.h:871
Aws::Lambda::Model::CreateFunctionRequest::GetMemorySize
int GetMemorySize() const
Definition: CreateFunctionRequest.h:396
Aws::Lambda::Model::CreateFunctionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateFunctionRequest.h:328
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(const char *key, const char *value)
Definition: CreateFunctionRequest.h:814
Aws::Lambda::Model::CreateFunctionRequest::SetTracingConfig
void SetTracingConfig(TracingConfig &&value)
Definition: CreateFunctionRequest.h:710
Aws::Lambda::Model::DeadLetterConfig
Definition: DeadLetterConfig.h:34
Aws::Lambda::Model::CreateFunctionRequest::WithTracingConfig
CreateFunctionRequest & WithTracingConfig(TracingConfig &&value)
Definition: CreateFunctionRequest.h:722
Aws::Lambda::Model::CreateFunctionRequest::SetFileSystemConfigs
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
Definition: CreateFunctionRequest.h:908
Aws::Lambda::Model::CreateFunctionRequest::WithTimeout
CreateFunctionRequest & WithTimeout(int value)
Definition: CreateFunctionRequest.h:388
Aws::Lambda::Model::CreateFunctionRequest::WithPackageType
CreateFunctionRequest & WithPackageType(PackageType &&value)
Definition: CreateFunctionRequest.h:536
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CreateFunctionRequest::WithRole
CreateFunctionRequest & WithRole(const Aws::String &value)
Definition: CreateFunctionRequest.h:208
Aws::Lambda::Model::CreateFunctionRequest::SetHandler
void SetHandler(const char *value)
Definition: CreateFunctionRequest.h:264
Aws::Lambda::Model::CreateFunctionRequest::WithCodeSigningConfigArn
CreateFunctionRequest & WithCodeSigningConfigArn(const Aws::String &value)
Definition: CreateFunctionRequest.h:1020
Aws::Lambda::Model::CreateFunctionRequest::GetLayers
const Aws::Vector< Aws::String > & GetLayers() const
Definition: CreateFunctionRequest.h:823
Aws::Lambda::Model::CreateFunctionRequest::WithDescription
CreateFunctionRequest & WithDescription(const char *value)
Definition: CreateFunctionRequest.h:363
Aws::Lambda::Model::CreateFunctionRequest::WithPublish
CreateFunctionRequest & WithPublish(bool value)
Definition: CreateFunctionRequest.h:438
Aws::Lambda::Model::CreateFunctionRequest::WithImageConfig
CreateFunctionRequest & WithImageConfig(const ImageConfig &value)
Definition: CreateFunctionRequest.h:969
Aws::Lambda::Model::CreateFunctionRequest::GetDeadLetterConfig
const DeadLetterConfig & GetDeadLetterConfig() const
Definition: CreateFunctionRequest.h:546
Aws::Lambda::Model::CreateFunctionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateFunctionRequest.h:343
Aws::Lambda::Model::CreateFunctionRequest::SetHandler
void SetHandler(const Aws::String &value)
Definition: CreateFunctionRequest.h:246
Aws::Lambda::Model::CreateFunctionRequest::SetRole
void SetRole(Aws::String &&value)
Definition: CreateFunctionRequest.h:198
Aws::Lambda::Model::CreateFunctionRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: CreateFunctionRequest.h:999
Aws::Lambda::Model::VpcConfig
Definition: VpcConfig.h:36
Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn
CreateFunctionRequest & WithKMSKeyArn(const char *value)
Definition: CreateFunctionRequest.h:685
DeadLetterConfig.h
Aws::Lambda::Model::CreateFunctionRequest::SetTracingConfig
void SetTracingConfig(const TracingConfig &value)
Definition: CreateFunctionRequest.h:704
Aws::Lambda::Model::CreateFunctionRequest::GetRole
const Aws::String & GetRole() const
Definition: CreateFunctionRequest.h:183
Aws::Lambda::Model::CreateFunctionRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: CreateFunctionRequest.h:56
Aws::Lambda::Model::CreateFunctionRequest::WithRole
CreateFunctionRequest & WithRole(const char *value)
Definition: CreateFunctionRequest.h:218
AWSString.h
Aws::Lambda::Model::CreateFunctionRequest::SetRole
void SetRole(const Aws::String &value)
Definition: CreateFunctionRequest.h:193
Aws::Lambda::Model::CreateFunctionRequest::WithCodeSigningConfigArn
CreateFunctionRequest & WithCodeSigningConfigArn(Aws::String &&value)
Definition: CreateFunctionRequest.h:1027
Aws::Lambda::Model::CreateFunctionRequest::DeadLetterConfigHasBeenSet
bool DeadLetterConfigHasBeenSet() const
Definition: CreateFunctionRequest.h:555
Aws::Lambda::Model::CreateFunctionRequest::WithDescription
CreateFunctionRequest & WithDescription(Aws::String &&value)
Definition: CreateFunctionRequest.h:358
Aws::Lambda::Model::CreateFunctionRequest::WithHandler
CreateFunctionRequest & WithHandler(const char *value)
Definition: CreateFunctionRequest.h:291
LambdaRequest.h
Aws::Lambda::Model::CreateFunctionRequest::AddFileSystemConfigs
CreateFunctionRequest & AddFileSystemConfigs(const FileSystemConfig &value)
Definition: CreateFunctionRequest.h:923
Aws::Lambda::Model::CreateFunctionRequest::SetImageConfig
void SetImageConfig(ImageConfig &&value)
Definition: CreateFunctionRequest.h:961
Aws::Lambda::Model::CreateFunctionRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateFunctionRequest.h:744
Aws::Lambda::Model::CreateFunctionRequest::AddFileSystemConfigs
CreateFunctionRequest & AddFileSystemConfigs(FileSystemConfig &&value)
Definition: CreateFunctionRequest.h:928
Aws::Lambda::Model::CreateFunctionRequest::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: CreateFunctionRequest.h:985
Aws::Lambda::Model::CreateFunctionRequest::KMSKeyArnHasBeenSet
bool KMSKeyArnHasBeenSet() const
Definition: CreateFunctionRequest.h:643
Aws::Lambda::Model::CreateFunctionRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: CreateFunctionRequest.h:1013
Aws::Lambda::Model::CreateFunctionRequest::AddLayers
CreateFunctionRequest & AddLayers(Aws::String &&value)
Definition: CreateFunctionRequest.h:879
Aws::Lambda::Model::CreateFunctionRequest::SetHandler
void SetHandler(Aws::String &&value)
Definition: CreateFunctionRequest.h:255
Aws::Lambda::Model::CreateFunctionRequest::SetRuntime
void SetRuntime(const Runtime &value)
Definition: CreateFunctionRequest.h:159
Runtime.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::CreateFunctionRequest::WithRuntime
CreateFunctionRequest & WithRuntime(Runtime &&value)
Definition: CreateFunctionRequest.h:177
Aws::Lambda::Model::CreateFunctionRequest::WithDeadLetterConfig
CreateFunctionRequest & WithDeadLetterConfig(DeadLetterConfig &&value)
Definition: CreateFunctionRequest.h:591
Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: CreateFunctionRequest.h:80
VpcConfig.h
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateFunctionRequest.h:786
Aws::Lambda::Model::CreateFunctionRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateFunctionRequest.h:751
Aws::Lambda::Model::CreateFunctionRequest::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: CreateFunctionRequest.h:449
Aws::Lambda::Model::Environment
Definition: Environment.h:33
Aws::Lambda::Model::CreateFunctionRequest::PackageTypeHasBeenSet
bool PackageTypeHasBeenSet() const
Definition: CreateFunctionRequest.h:512
Aws::Lambda::Model::FunctionCode
Definition: FunctionCode.h:35
Aws::Lambda::Model::CreateFunctionRequest::FileSystemConfigsHasBeenSet
bool FileSystemConfigsHasBeenSet() const
Definition: CreateFunctionRequest.h:898
Aws::Lambda::Model::CreateFunctionRequest::TracingConfigHasBeenSet
bool TracingConfigHasBeenSet() const
Definition: CreateFunctionRequest.h:698
Aws::Lambda::Model::CreateFunctionRequest::GetEnvironment
const Environment & GetEnvironment() const
Definition: CreateFunctionRequest.h:598
Aws::Lambda::Model::CreateFunctionRequest::GetTimeout
int GetTimeout() const
Definition: CreateFunctionRequest.h:370
Environment.h
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn
void SetKMSKeyArn(Aws::String &&value)
Definition: CreateFunctionRequest.h:657
Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: CreateFunctionRequest.h:104
Aws::Lambda::Model::CreateFunctionRequest::WithFileSystemConfigs
CreateFunctionRequest & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
Definition: CreateFunctionRequest.h:913
Aws::Lambda::Model::CreateFunctionRequest::HandlerHasBeenSet
bool HandlerHasBeenSet() const
Definition: CreateFunctionRequest.h:237
Aws::Lambda::Model::CreateFunctionRequest::GetFileSystemConfigs
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
Definition: CreateFunctionRequest.h:893
Aws::Lambda::Model::CreateFunctionRequest::SetCode
void SetCode(FunctionCode &&value)
Definition: CreateFunctionRequest.h:312
Aws::Lambda::Model::CreateFunctionRequest::WithEnvironment
CreateFunctionRequest & WithEnvironment(const Environment &value)
Definition: CreateFunctionRequest.h:622
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateFunctionRequest.h:800
Aws::Lambda::Model::CreateFunctionRequest::WithTracingConfig
CreateFunctionRequest & WithTracingConfig(const TracingConfig &value)
Definition: CreateFunctionRequest.h:716
Aws::Lambda::Model::CreateFunctionRequest::WithLayers
CreateFunctionRequest & WithLayers(const Aws::Vector< Aws::String > &value)
Definition: CreateFunctionRequest.h:855
Aws::Lambda::Model::CreateFunctionRequest::SetRuntime
void SetRuntime(Runtime &&value)
Definition: CreateFunctionRequest.h:165
Aws::Lambda::Model::CreateFunctionRequest::SetLayers
void SetLayers(Aws::Vector< Aws::String > &&value)
Definition: CreateFunctionRequest.h:847
FunctionCode.h
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateFunctionRequest.h:772
Aws::Lambda::Model::CreateFunctionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateFunctionRequest.h:737
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::CreateFunctionRequest::WithCodeSigningConfigArn
CreateFunctionRequest & WithCodeSigningConfigArn(const char *value)
Definition: CreateFunctionRequest.h:1034
Aws::Lambda::Model::CreateFunctionRequest::WithEnvironment
CreateFunctionRequest & WithEnvironment(Environment &&value)
Definition: CreateFunctionRequest.h:628
Aws::Lambda::Model::ImageConfig
Definition: ImageConfig.h:36
Aws::Lambda::Model::CreateFunctionRequest::WithCode
CreateFunctionRequest & WithCode(FunctionCode &&value)
Definition: CreateFunctionRequest.h:322
Aws::Lambda::Model::CreateFunctionRequest::WithRuntime
CreateFunctionRequest & WithRuntime(const Runtime &value)
Definition: CreateFunctionRequest.h:171
Aws::Lambda::Model::CreateFunctionRequest::SetLayers
void SetLayers(const Aws::Vector< Aws::String > &value)
Definition: CreateFunctionRequest.h:839
Aws::Lambda::Model::CreateFunctionRequest::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: CreateFunctionRequest.h:302
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateFunctionRequest.h:807
Aws::Lambda::Model::CreateFunctionRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: CreateFunctionRequest.h:1006
FileSystemConfig.h
Aws::Lambda::Model::CreateFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFunctionRequest.h:41
Aws::Lambda::Model::CreateFunctionRequest::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: CreateFunctionRequest.h:479
AWSMap.h
Aws::Lambda::Model::CreateFunctionRequest::WithHandler
CreateFunctionRequest & WithHandler(const Aws::String &value)
Definition: CreateFunctionRequest.h:273
Aws::Lambda::Model::CreateFunctionRequest::SetMemorySize
void SetMemorySize(int value)
Definition: CreateFunctionRequest.h:410
Aws::Lambda::Model::CreateFunctionRequest::SetEnvironment
void SetEnvironment(const Environment &value)
Definition: CreateFunctionRequest.h:610
Aws::Lambda::Model::CreateFunctionRequest::AddTags
CreateFunctionRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateFunctionRequest.h:779
Aws::Lambda::Model::CreateFunctionRequest
Definition: CreateFunctionRequest.h:33
Aws::Lambda::Model::CreateFunctionRequest::LayersHasBeenSet
bool LayersHasBeenSet() const
Definition: CreateFunctionRequest.h:831
Aws::Lambda::Model::CreateFunctionRequest::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: CreateFunctionRequest.h:469
Aws::Lambda::Model::CreateFunctionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateFunctionRequest.h:338
Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName
CreateFunctionRequest & WithFunctionName(const Aws::String &value)
Definition: CreateFunctionRequest.h:116
Lambda_EXPORTS.h
Aws::Lambda::Model::CreateFunctionRequest::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: CreateFunctionRequest.h:459
Aws::Lambda::Model::CreateFunctionRequest::WithDeadLetterConfig
CreateFunctionRequest & WithDeadLetterConfig(const DeadLetterConfig &value)
Definition: CreateFunctionRequest.h:582
Aws::Lambda::Model::CreateFunctionRequest::SetFileSystemConfigs
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
Definition: CreateFunctionRequest.h:903
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn
void SetKMSKeyArn(const Aws::String &value)
Definition: CreateFunctionRequest.h:650
Aws::Lambda::Model::CreateFunctionRequest::SetCode
void SetCode(const FunctionCode &value)
Definition: CreateFunctionRequest.h:307
Aws::Lambda::Model::CreateFunctionRequest::WithMemorySize
CreateFunctionRequest & WithMemorySize(int value)
Definition: CreateFunctionRequest.h:417
Aws::Lambda::Model::CreateFunctionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateFunctionRequest.h:333
Aws::Lambda::Model::PackageType
PackageType
Definition: PackageType.h:17
Aws::Lambda::Model::CreateFunctionRequest::GetHandler
const Aws::String & GetHandler() const
Definition: CreateFunctionRequest.h:228
Aws::Lambda::Model::CreateFunctionRequest::GetPackageType
const PackageType & GetPackageType() const
Definition: CreateFunctionRequest.h:506
Aws::Lambda::Model::CreateFunctionRequest::SetRole
void SetRole(const char *value)
Definition: CreateFunctionRequest.h:203
Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName
CreateFunctionRequest & WithFunctionName(Aws::String &&value)
Definition: CreateFunctionRequest.h:128