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>
48 template <
typename FunctionNameT = Aws::String>
50 m_functionNameHasBeenSet =
true;
51 m_functionName = std::forward<FunctionNameT>(value);
53 template <
typename FunctionNameT = Aws::String>
68 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
70 m_zipFileHasBeenSet =
true;
71 m_zipFile = std::forward<ZipFileT>(value);
73 template <
typename ZipFileT = Aws::Utils::CryptoBuffer>
88 template <
typename S3BucketT = Aws::String>
90 m_s3BucketHasBeenSet =
true;
91 m_s3Bucket = std::forward<S3BucketT>(value);
93 template <
typename S3BucketT = Aws::String>
107 template <
typename S3KeyT = Aws::String>
109 m_s3KeyHasBeenSet =
true;
110 m_s3Key = std::forward<S3KeyT>(value);
112 template <
typename S3KeyT = Aws::String>
114 SetS3Key(std::forward<S3KeyT>(value));
126 template <
typename S3ObjectVersionT = Aws::String>
128 m_s3ObjectVersionHasBeenSet =
true;
129 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
131 template <
typename S3ObjectVersionT = Aws::String>
145 template <
typename ImageUriT = Aws::String>
147 m_imageUriHasBeenSet =
true;
148 m_imageUri = std::forward<ImageUriT>(value);
150 template <
typename ImageUriT = Aws::String>
165 m_publishHasBeenSet =
true;
182 m_dryRunHasBeenSet =
true;
199 template <
typename RevisionIdT = Aws::String>
201 m_revisionIdHasBeenSet =
true;
202 m_revisionId = std::forward<RevisionIdT>(value);
204 template <
typename RevisionIdT = Aws::String>
219 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
221 m_architecturesHasBeenSet =
true;
222 m_architectures = std::forward<ArchitecturesT>(value);
224 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
230 m_architecturesHasBeenSet =
true;
231 m_architectures.push_back(value);
244 template <
typename SourceKMSKeyArnT = Aws::String>
246 m_sourceKMSKeyArnHasBeenSet =
true;
247 m_sourceKMSKeyArn = std::forward<SourceKMSKeyArnT>(value);
249 template <
typename SourceKMSKeyArnT = Aws::String>
263 m_publishToHasBeenSet =
true;
284 bool m_publish{
false};
286 bool m_dryRun{
false};
295 bool m_functionNameHasBeenSet =
false;
296 bool m_zipFileHasBeenSet =
false;
297 bool m_s3BucketHasBeenSet =
false;
298 bool m_s3KeyHasBeenSet =
false;
299 bool m_s3ObjectVersionHasBeenSet =
false;
300 bool m_imageUriHasBeenSet =
false;
301 bool m_publishHasBeenSet =
false;
302 bool m_dryRunHasBeenSet =
false;
303 bool m_revisionIdHasBeenSet =
false;
304 bool m_architecturesHasBeenSet =
false;
305 bool m_sourceKMSKeyArnHasBeenSet =
false;
306 bool m_publishToHasBeenSet =
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
UpdateFunctionCodeRequest & WithPublishTo(FunctionVersionLatestPublished value)
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
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)
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