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>
47 template <
typename FunctionNameT = Aws::String>
49 m_functionNameHasBeenSet =
true;
50 m_functionName = std::forward<FunctionNameT>(value);
52 template <
typename FunctionNameT = Aws::String>
67 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
69 m_zipFileHasBeenSet =
true;
70 m_zipFile = std::forward<ZipFileT>(value);
72 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
87 template <
typename S3BucketT = Aws::String>
89 m_s3BucketHasBeenSet =
true;
90 m_s3Bucket = std::forward<S3BucketT>(value);
92 template <
typename S3BucketT = Aws::String>
106 template <
typename S3KeyT = Aws::String>
108 m_s3KeyHasBeenSet =
true;
109 m_s3Key = std::forward<S3KeyT>(value);
111 template <
typename S3KeyT = Aws::String>
113 SetS3Key(std::forward<S3KeyT>(value));
125 template <
typename S3ObjectVersionT = Aws::String>
127 m_s3ObjectVersionHasBeenSet =
true;
128 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
130 template <
typename S3ObjectVersionT = Aws::String>
144 template <
typename ImageUriT = Aws::String>
146 m_imageUriHasBeenSet =
true;
147 m_imageUri = std::forward<ImageUriT>(value);
149 template <
typename ImageUriT = Aws::String>
164 m_publishHasBeenSet =
true;
181 m_dryRunHasBeenSet =
true;
198 template <
typename RevisionIdT = Aws::String>
200 m_revisionIdHasBeenSet =
true;
201 m_revisionId = std::forward<RevisionIdT>(value);
203 template <
typename RevisionIdT = Aws::String>
218 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
220 m_architecturesHasBeenSet =
true;
221 m_architectures = std::forward<ArchitecturesT>(value);
223 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
229 m_architecturesHasBeenSet =
true;
230 m_architectures.push_back(value);
243 template <
typename SourceKMSKeyArnT = Aws::String>
245 m_sourceKMSKeyArnHasBeenSet =
true;
246 m_sourceKMSKeyArn = std::forward<SourceKMSKeyArnT>(value);
248 template <
typename SourceKMSKeyArnT = Aws::String>
256 bool m_functionNameHasBeenSet =
false;
259 bool m_zipFileHasBeenSet =
false;
262 bool m_s3BucketHasBeenSet =
false;
265 bool m_s3KeyHasBeenSet =
false;
268 bool m_s3ObjectVersionHasBeenSet =
false;
271 bool m_imageUriHasBeenSet =
false;
273 bool m_publish{
false};
274 bool m_publishHasBeenSet =
false;
276 bool m_dryRun{
false};
277 bool m_dryRunHasBeenSet =
false;
280 bool m_revisionIdHasBeenSet =
false;
283 bool m_architecturesHasBeenSet =
false;
286 bool m_sourceKMSKeyArnHasBeenSet =
false;
bool DryRunHasBeenSet() const
UpdateFunctionCodeRequest & WithS3ObjectVersion(S3ObjectVersionT &&value)
void SetZipFile(ZipFileT &&value)
UpdateFunctionCodeRequest & WithPublish(bool value)
UpdateFunctionCodeRequest & WithS3Key(S3KeyT &&value)
void SetFunctionName(FunctionNameT &&value)
bool RevisionIdHasBeenSet() const
const Aws::String & GetS3ObjectVersion() const
void SetRevisionId(RevisionIdT &&value)
const Aws::Utils::CryptoBuffer & GetZipFile() const
UpdateFunctionCodeRequest & WithZipFile(ZipFileT &&value)
bool PublishHasBeenSet() const
bool ArchitecturesHasBeenSet() const
AWS_LAMBDA_API UpdateFunctionCodeRequest()=default
const Aws::String & GetFunctionName() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
const Aws::Vector< Architecture > & GetArchitectures() const
bool FunctionNameHasBeenSet() const
const Aws::String & GetSourceKMSKeyArn() const
const Aws::String & GetImageUri() const
bool S3BucketHasBeenSet() const
void SetS3Key(S3KeyT &&value)
UpdateFunctionCodeRequest & WithArchitectures(ArchitecturesT &&value)
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector