7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lambda/model/Architecture.h>
51 template<
typename FunctionNameT = Aws::String>
52 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
53 template<
typename FunctionNameT = Aws::String>
65 template<
typename ZipFileT = Aws::Utils::CryptoBuffer>
66 void SetZipFile(ZipFileT&& value) { m_zipFileHasBeenSet =
true; m_zipFile = std::forward<ZipFileT>(value); }
67 template<
typename ZipFileT = Aws::Utils::CryptoBuffer>
79 template<
typename S3BucketT = Aws::String>
80 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet =
true; m_s3Bucket = std::forward<S3BucketT>(value); }
81 template<
typename S3BucketT = Aws::String>
92 template<
typename S3KeyT = Aws::String>
93 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet =
true; m_s3Key = std::forward<S3KeyT>(value); }
94 template<
typename S3KeyT = Aws::String>
105 template<
typename S3ObjectVersionT = Aws::String>
106 void SetS3ObjectVersion(S3ObjectVersionT&& value) { m_s3ObjectVersionHasBeenSet =
true; m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value); }
107 template<
typename S3ObjectVersionT = Aws::String>
118 template<
typename ImageUriT = Aws::String>
119 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet =
true; m_imageUri = std::forward<ImageUriT>(value); }
120 template<
typename ImageUriT = Aws::String>
131 inline void SetPublish(
bool value) { m_publishHasBeenSet =
true; m_publish = value; }
142 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
154 template<
typename RevisionIdT = Aws::String>
155 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
156 template<
typename RevisionIdT = Aws::String>
168 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
169 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
170 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
183 template<
typename SourceKMSKeyArnT = Aws::String>
184 void SetSourceKMSKeyArn(SourceKMSKeyArnT&& value) { m_sourceKMSKeyArnHasBeenSet =
true; m_sourceKMSKeyArn = std::forward<SourceKMSKeyArnT>(value); }
185 template<
typename SourceKMSKeyArnT = Aws::String>
191 bool m_functionNameHasBeenSet =
false;
194 bool m_zipFileHasBeenSet =
false;
197 bool m_s3BucketHasBeenSet =
false;
200 bool m_s3KeyHasBeenSet =
false;
203 bool m_s3ObjectVersionHasBeenSet =
false;
206 bool m_imageUriHasBeenSet =
false;
208 bool m_publish{
false};
209 bool m_publishHasBeenSet =
false;
211 bool m_dryRun{
false};
212 bool m_dryRunHasBeenSet =
false;
215 bool m_revisionIdHasBeenSet =
false;
218 bool m_architecturesHasBeenSet =
false;
221 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