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>
53 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
83 inline void SetS3Bucket(
const char* value) { m_s3BucketHasBeenSet =
true; m_s3Bucket.assign(value); }
98 inline void SetS3Key(
const char* value) { m_s3KeyHasBeenSet =
true; m_s3Key.assign(value); }
113 inline void SetS3ObjectVersion(
const char* value) { m_s3ObjectVersionHasBeenSet =
true; m_s3ObjectVersion.assign(value); }
128 inline void SetImageUri(
const char* value) { m_imageUriHasBeenSet =
true; m_imageUri.assign(value); }
141 inline void SetPublish(
bool value) { m_publishHasBeenSet =
true; m_publish = value; }
152 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
166 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
190 bool m_functionNameHasBeenSet =
false;
193 bool m_zipFileHasBeenSet =
false;
196 bool m_s3BucketHasBeenSet =
false;
199 bool m_s3KeyHasBeenSet =
false;
202 bool m_s3ObjectVersionHasBeenSet =
false;
205 bool m_imageUriHasBeenSet =
false;
208 bool m_publishHasBeenSet =
false;
211 bool m_dryRunHasBeenSet =
false;
214 bool m_revisionIdHasBeenSet =
false;
217 bool m_architecturesHasBeenSet =
false;
bool DryRunHasBeenSet() const
UpdateFunctionCodeRequest & WithS3Key(const char *value)
void SetArchitectures(Aws::Vector< Architecture > &&value)
void SetFunctionName(const char *value)
void SetRevisionId(const char *value)
UpdateFunctionCodeRequest & WithPublish(bool value)
void SetZipFile(const Aws::Utils::CryptoBuffer &value)
bool RevisionIdHasBeenSet() const
UpdateFunctionCodeRequest & WithFunctionName(Aws::String &&value)
const Aws::String & GetS3ObjectVersion() const
UpdateFunctionCodeRequest & AddArchitectures(Architecture &&value)
const Aws::Utils::CryptoBuffer & GetZipFile() const
void SetFunctionName(const Aws::String &value)
void SetImageUri(const Aws::String &value)
void SetRevisionId(const Aws::String &value)
bool PublishHasBeenSet() const
bool ArchitecturesHasBeenSet() const
UpdateFunctionCodeRequest & WithS3Key(Aws::String &&value)
void SetS3ObjectVersion(const char *value)
UpdateFunctionCodeRequest & WithArchitectures(const Aws::Vector< Architecture > &value)
UpdateFunctionCodeRequest & AddArchitectures(const Architecture &value)
UpdateFunctionCodeRequest & WithS3Bucket(const char *value)
const Aws::String & GetFunctionName() const
void SetS3ObjectVersion(Aws::String &&value)
UpdateFunctionCodeRequest & WithRevisionId(Aws::String &&value)
UpdateFunctionCodeRequest & WithS3Key(const Aws::String &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
const Aws::Vector< Architecture > & GetArchitectures() const
UpdateFunctionCodeRequest & WithFunctionName(const Aws::String &value)
UpdateFunctionCodeRequest & WithZipFile(Aws::Utils::CryptoBuffer &&value)
bool FunctionNameHasBeenSet() const
UpdateFunctionCodeRequest & WithS3ObjectVersion(const char *value)
void SetS3Bucket(const char *value)
UpdateFunctionCodeRequest & WithS3ObjectVersion(const Aws::String &value)
const Aws::String & GetImageUri() const
bool S3BucketHasBeenSet() const
UpdateFunctionCodeRequest & WithImageUri(Aws::String &&value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
UpdateFunctionCodeRequest & WithImageUri(const char *value)
void SetS3Key(const Aws::String &value)
UpdateFunctionCodeRequest & WithDryRun(bool value)
void SetZipFile(Aws::Utils::CryptoBuffer &&value)
void SetS3Bucket(const Aws::String &value)
UpdateFunctionCodeRequest & WithS3Bucket(Aws::String &&value)
void SetS3Bucket(Aws::String &&value)
bool S3ObjectVersionHasBeenSet() const
bool ZipFileHasBeenSet() const
UpdateFunctionCodeRequest & WithS3Bucket(const Aws::String &value)
UpdateFunctionCodeRequest & WithRevisionId(const char *value)
UpdateFunctionCodeRequest & WithRevisionId(const Aws::String &value)
UpdateFunctionCodeRequest & WithS3ObjectVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetImageUri(const char *value)
const Aws::String & GetS3Bucket() const
void SetPublish(bool value)
void SetS3Key(const char *value)
void SetS3ObjectVersion(const Aws::String &value)
bool ImageUriHasBeenSet() const
bool S3KeyHasBeenSet() const
UpdateFunctionCodeRequest & WithArchitectures(Aws::Vector< Architecture > &&value)
AWS_LAMBDA_API UpdateFunctionCodeRequest()
UpdateFunctionCodeRequest & WithImageUri(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetImageUri(Aws::String &&value)
const Aws::String & GetRevisionId() const
void SetDryRun(bool value)
void SetS3Key(Aws::String &&value)
UpdateFunctionCodeRequest & WithZipFile(const Aws::Utils::CryptoBuffer &value)
const Aws::String & GetS3Key() const
void SetFunctionName(Aws::String &&value)
UpdateFunctionCodeRequest & WithFunctionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector