7#include <aws/core/utils/Array.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/FunctionVersionLatestPublished.h>
14#include <aws/lambda/model/S3ObjectStorageMode.h>
49 template <
typename FunctionNameT = Aws::String>
51 m_functionNameHasBeenSet =
true;
52 m_functionName = std::forward<FunctionNameT>(value);
54 template <
typename FunctionNameT = Aws::String>
69 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
71 m_zipFileHasBeenSet =
true;
72 m_zipFile = std::forward<ZipFileT>(value);
74 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
89 template <
typename S3BucketT = Aws::String>
91 m_s3BucketHasBeenSet =
true;
92 m_s3Bucket = std::forward<S3BucketT>(value);
94 template <
typename S3BucketT = Aws::String>
108 template <
typename S3KeyT = Aws::String>
110 m_s3KeyHasBeenSet =
true;
111 m_s3Key = std::forward<S3KeyT>(value);
113 template <
typename S3KeyT = Aws::String>
115 SetS3Key(std::forward<S3KeyT>(value));
127 template <
typename S3ObjectVersionT = Aws::String>
129 m_s3ObjectVersionHasBeenSet =
true;
130 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
132 template <
typename S3ObjectVersionT = Aws::String>
149 m_s3ObjectStorageModeHasBeenSet =
true;
150 m_s3ObjectStorageMode = value;
165 template <
typename ImageUriT = Aws::String>
167 m_imageUriHasBeenSet =
true;
168 m_imageUri = std::forward<ImageUriT>(value);
170 template <
typename ImageUriT = Aws::String>
185 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
187 m_architecturesHasBeenSet =
true;
188 m_architectures = std::forward<ArchitecturesT>(value);
190 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
196 m_architecturesHasBeenSet =
true;
197 m_architectures.push_back(value);
210 m_publishHasBeenSet =
true;
226 m_publishToHasBeenSet =
true;
243 m_dryRunHasBeenSet =
true;
260 template <
typename RevisionIdT = Aws::String>
262 m_revisionIdHasBeenSet =
true;
263 m_revisionId = std::forward<RevisionIdT>(value);
265 template <
typename RevisionIdT = Aws::String>
280 template <
typename SourceKMSKeyArnT = Aws::String>
282 m_sourceKMSKeyArnHasBeenSet =
true;
283 m_sourceKMSKeyArn = std::forward<SourceKMSKeyArnT>(value);
285 template <
typename SourceKMSKeyArnT = Aws::String>
308 bool m_publish{
false};
312 bool m_dryRun{
false};
317 bool m_functionNameHasBeenSet =
false;
318 bool m_zipFileHasBeenSet =
false;
319 bool m_s3BucketHasBeenSet =
false;
320 bool m_s3KeyHasBeenSet =
false;
321 bool m_s3ObjectVersionHasBeenSet =
false;
322 bool m_s3ObjectStorageModeHasBeenSet =
false;
323 bool m_imageUriHasBeenSet =
false;
324 bool m_architecturesHasBeenSet =
false;
325 bool m_publishHasBeenSet =
false;
326 bool m_publishToHasBeenSet =
false;
327 bool m_dryRunHasBeenSet =
false;
328 bool m_revisionIdHasBeenSet =
false;
329 bool m_sourceKMSKeyArnHasBeenSet =
false;
bool DryRunHasBeenSet() const
UpdateFunctionCodeRequest & WithS3ObjectStorageMode(S3ObjectStorageMode value)
UpdateFunctionCodeRequest & WithS3ObjectVersion(S3ObjectVersionT &&value)
void SetS3ObjectStorageMode(S3ObjectStorageMode value)
void SetZipFile(ZipFileT &&value)
UpdateFunctionCodeRequest & WithPublish(bool value)
UpdateFunctionCodeRequest & WithS3Key(S3KeyT &&value)
void SetFunctionName(FunctionNameT &&value)
bool RevisionIdHasBeenSet() const
UpdateFunctionCodeRequest & WithPublishTo(FunctionVersionLatestPublished value)
const Aws::String & GetS3ObjectVersion() const
void SetRevisionId(RevisionIdT &&value)
const Aws::Utils::CryptoBuffer & GetZipFile() const
S3ObjectStorageMode GetS3ObjectStorageMode() const
UpdateFunctionCodeRequest & WithZipFile(ZipFileT &&value)
bool PublishHasBeenSet() const
bool ArchitecturesHasBeenSet() const
AWS_LAMBDA_API UpdateFunctionCodeRequest()=default
const Aws::String & GetFunctionName() const
FunctionVersionLatestPublished GetPublishTo() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
const Aws::Vector< Architecture > & GetArchitectures() const
bool FunctionNameHasBeenSet() const
const Aws::String & GetSourceKMSKeyArn() const
bool PublishToHasBeenSet() const
void SetPublishTo(FunctionVersionLatestPublished value)
const Aws::String & GetImageUri() const
bool S3BucketHasBeenSet() const
void SetS3Key(S3KeyT &&value)
UpdateFunctionCodeRequest & WithArchitectures(ArchitecturesT &&value)
bool S3ObjectStorageModeHasBeenSet() const
UpdateFunctionCodeRequest & WithDryRun(bool value)
UpdateFunctionCodeRequest & WithSourceKMSKeyArn(SourceKMSKeyArnT &&value)
bool S3ObjectVersionHasBeenSet() const
void SetS3ObjectVersion(S3ObjectVersionT &&value)
bool ZipFileHasBeenSet() const
UpdateFunctionCodeRequest & WithFunctionName(FunctionNameT &&value)
UpdateFunctionCodeRequest & WithRevisionId(RevisionIdT &&value)
void SetSourceKMSKeyArn(SourceKMSKeyArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetS3Bucket() const
void SetImageUri(ImageUriT &&value)
void SetPublish(bool value)
UpdateFunctionCodeRequest & WithImageUri(ImageUriT &&value)
void SetArchitectures(ArchitecturesT &&value)
bool ImageUriHasBeenSet() const
UpdateFunctionCodeRequest & WithS3Bucket(S3BucketT &&value)
bool S3KeyHasBeenSet() const
void SetS3Bucket(S3BucketT &&value)
bool SourceKMSKeyArnHasBeenSet() const
const Aws::String & GetRevisionId() const
void SetDryRun(bool value)
UpdateFunctionCodeRequest & AddArchitectures(Architecture value)
const Aws::String & GetS3Key() const
FunctionVersionLatestPublished
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector