AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionCode.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API FunctionCode();
38 AWS_LAMBDA_API FunctionCode(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::CryptoBuffer& GetZipFile() const{ return m_zipFile; }
49 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
50 inline void SetZipFile(const Aws::Utils::CryptoBuffer& value) { m_zipFileHasBeenSet = true; m_zipFile = value; }
51 inline void SetZipFile(Aws::Utils::CryptoBuffer&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::move(value); }
52 inline FunctionCode& WithZipFile(const Aws::Utils::CryptoBuffer& value) { SetZipFile(value); return *this;}
53 inline FunctionCode& WithZipFile(Aws::Utils::CryptoBuffer&& value) { SetZipFile(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
62 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
63 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
64 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
65 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
66 inline FunctionCode& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
67 inline FunctionCode& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
68 inline FunctionCode& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
70
72
75 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
76 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
77 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
78 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
79 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
80 inline FunctionCode& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
81 inline FunctionCode& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
82 inline FunctionCode& WithS3Key(const char* value) { SetS3Key(value); return *this;}
84
86
90 inline const Aws::String& GetS3ObjectVersion() const{ return m_s3ObjectVersion; }
91 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
92 inline void SetS3ObjectVersion(const Aws::String& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = value; }
93 inline void SetS3ObjectVersion(Aws::String&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::move(value); }
94 inline void SetS3ObjectVersion(const char* value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion.assign(value); }
95 inline FunctionCode& WithS3ObjectVersion(const Aws::String& value) { SetS3ObjectVersion(value); return *this;}
96 inline FunctionCode& WithS3ObjectVersion(Aws::String&& value) { SetS3ObjectVersion(std::move(value)); return *this;}
97 inline FunctionCode& WithS3ObjectVersion(const char* value) { SetS3ObjectVersion(value); return *this;}
99
101
106 inline const Aws::String& GetImageUri() const{ return m_imageUri; }
107 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
108 inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
109 inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
110 inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
111 inline FunctionCode& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
112 inline FunctionCode& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
113 inline FunctionCode& WithImageUri(const char* value) { SetImageUri(value); return *this;}
115 private:
116
117 Aws::Utils::CryptoBuffer m_zipFile;
118 bool m_zipFileHasBeenSet = false;
119
120 Aws::String m_s3Bucket;
121 bool m_s3BucketHasBeenSet = false;
122
123 Aws::String m_s3Key;
124 bool m_s3KeyHasBeenSet = false;
125
126 Aws::String m_s3ObjectVersion;
127 bool m_s3ObjectVersionHasBeenSet = false;
128
129 Aws::String m_imageUri;
130 bool m_imageUriHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Lambda
135} // namespace Aws
void SetS3Bucket(Aws::String &&value)
FunctionCode & WithS3ObjectVersion(Aws::String &&value)
AWS_LAMBDA_API FunctionCode & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetZipFile(const Aws::Utils::CryptoBuffer &value)
void SetZipFile(Aws::Utils::CryptoBuffer &&value)
const Aws::String & GetS3ObjectVersion() const
void SetS3Key(const Aws::String &value)
FunctionCode & WithS3Key(const char *value)
FunctionCode & WithImageUri(Aws::String &&value)
FunctionCode & WithImageUri(const Aws::String &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImageUri(Aws::String &&value)
FunctionCode & WithS3Bucket(Aws::String &&value)
FunctionCode & WithZipFile(const Aws::Utils::CryptoBuffer &value)
void SetImageUri(const char *value)
FunctionCode & WithS3ObjectVersion(const char *value)
void SetS3ObjectVersion(const Aws::String &value)
void SetImageUri(const Aws::String &value)
FunctionCode & WithS3Key(Aws::String &&value)
const Aws::String & GetS3Key() const
FunctionCode & WithS3Bucket(const Aws::String &value)
void SetS3Bucket(const char *value)
void SetS3ObjectVersion(Aws::String &&value)
FunctionCode & WithS3Bucket(const char *value)
AWS_LAMBDA_API FunctionCode(Aws::Utils::Json::JsonView jsonValue)
void SetS3ObjectVersion(const char *value)
void SetS3Key(Aws::String &&value)
void SetS3Bucket(const Aws::String &value)
FunctionCode & WithS3ObjectVersion(const Aws::String &value)
void SetS3Key(const char *value)
const Aws::Utils::CryptoBuffer & GetZipFile() const
const Aws::String & GetImageUri() const
FunctionCode & WithS3Key(const Aws::String &value)
const Aws::String & GetS3Bucket() const
FunctionCode & WithImageUri(const char *value)
FunctionCode & WithZipFile(Aws::Utils::CryptoBuffer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue