AWS SDK for C++  1.9.160
AWS SDK for C++
FunctionCode.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/core/utils/Array.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
47  inline const Aws::Utils::CryptoBuffer& GetZipFile() const{ return m_zipFile; }
48 
53  inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
54 
59  inline void SetZipFile(const Aws::Utils::CryptoBuffer& value) { m_zipFileHasBeenSet = true; m_zipFile = value; }
60 
65  inline void SetZipFile(Aws::Utils::CryptoBuffer&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::move(value); }
66 
71  inline FunctionCode& WithZipFile(const Aws::Utils::CryptoBuffer& value) { SetZipFile(value); return *this;}
72 
77  inline FunctionCode& WithZipFile(Aws::Utils::CryptoBuffer&& value) { SetZipFile(std::move(value)); return *this;}
78 
79 
84  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
85 
90  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
91 
96  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
97 
102  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
103 
108  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
109 
114  inline FunctionCode& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
115 
120  inline FunctionCode& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
121 
126  inline FunctionCode& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
127 
128 
132  inline const Aws::String& GetS3Key() const{ return m_s3Key; }
133 
137  inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
138 
142  inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
143 
147  inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
148 
152  inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
153 
157  inline FunctionCode& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
158 
162  inline FunctionCode& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
163 
167  inline FunctionCode& WithS3Key(const char* value) { SetS3Key(value); return *this;}
168 
169 
174  inline const Aws::String& GetS3ObjectVersion() const{ return m_s3ObjectVersion; }
175 
180  inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
181 
186  inline void SetS3ObjectVersion(const Aws::String& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = value; }
187 
192  inline void SetS3ObjectVersion(Aws::String&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::move(value); }
193 
198  inline void SetS3ObjectVersion(const char* value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion.assign(value); }
199 
204  inline FunctionCode& WithS3ObjectVersion(const Aws::String& value) { SetS3ObjectVersion(value); return *this;}
205 
210  inline FunctionCode& WithS3ObjectVersion(Aws::String&& value) { SetS3ObjectVersion(std::move(value)); return *this;}
211 
216  inline FunctionCode& WithS3ObjectVersion(const char* value) { SetS3ObjectVersion(value); return *this;}
217 
218 
224  inline const Aws::String& GetImageUri() const{ return m_imageUri; }
225 
231  inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
232 
238  inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
239 
245  inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
246 
252  inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
253 
259  inline FunctionCode& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
260 
266  inline FunctionCode& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
267 
273  inline FunctionCode& WithImageUri(const char* value) { SetImageUri(value); return *this;}
274 
275  private:
276 
277  Aws::Utils::CryptoBuffer m_zipFile;
278  bool m_zipFileHasBeenSet;
279 
280  Aws::String m_s3Bucket;
281  bool m_s3BucketHasBeenSet;
282 
283  Aws::String m_s3Key;
284  bool m_s3KeyHasBeenSet;
285 
286  Aws::String m_s3ObjectVersion;
287  bool m_s3ObjectVersionHasBeenSet;
288 
289  Aws::String m_imageUri;
290  bool m_imageUriHasBeenSet;
291  };
292 
293 } // namespace Model
294 } // namespace Lambda
295 } // namespace Aws
Aws::Lambda::Model::FunctionCode::GetZipFile
const Aws::Utils::CryptoBuffer & GetZipFile() const
Definition: FunctionCode.h:47
Aws::Lambda::Model::FunctionCode::SetZipFile
void SetZipFile(Aws::Utils::CryptoBuffer &&value)
Definition: FunctionCode.h:65
Aws::Lambda::Model::FunctionCode::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: FunctionCode.h:84
Aws::Lambda::Model::FunctionCode::WithImageUri
FunctionCode & WithImageUri(const char *value)
Definition: FunctionCode.h:273
Aws::Lambda::Model::FunctionCode::WithS3ObjectVersion
FunctionCode & WithS3ObjectVersion(const Aws::String &value)
Definition: FunctionCode.h:204
Aws::Lambda::Model::FunctionCode::WithImageUri
FunctionCode & WithImageUri(const Aws::String &value)
Definition: FunctionCode.h:259
Aws::Lambda::Model::FunctionCode::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: FunctionCode.h:102
Aws::Lambda::Model::FunctionCode::S3ObjectVersionHasBeenSet
bool S3ObjectVersionHasBeenSet() const
Definition: FunctionCode.h:180
Aws::Lambda::Model::FunctionCode::WithS3Bucket
FunctionCode & WithS3Bucket(const Aws::String &value)
Definition: FunctionCode.h:114
Aws::Lambda::Model::FunctionCode::WithS3Key
FunctionCode & WithS3Key(Aws::String &&value)
Definition: FunctionCode.h:162
Aws::Lambda::Model::FunctionCode::ZipFileHasBeenSet
bool ZipFileHasBeenSet() const
Definition: FunctionCode.h:53
Aws::Lambda::Model::FunctionCode::WithS3ObjectVersion
FunctionCode & WithS3ObjectVersion(Aws::String &&value)
Definition: FunctionCode.h:210
Aws::Lambda::Model::FunctionCode::WithS3ObjectVersion
FunctionCode & WithS3ObjectVersion(const char *value)
Definition: FunctionCode.h:216
Aws::Lambda::Model::FunctionCode::SetS3ObjectVersion
void SetS3ObjectVersion(const Aws::String &value)
Definition: FunctionCode.h:186
Aws::Lambda::Model::FunctionCode::WithS3Key
FunctionCode & WithS3Key(const char *value)
Definition: FunctionCode.h:167
Aws::Lambda::Model::FunctionCode::FunctionCode
FunctionCode()
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::FunctionCode::WithZipFile
FunctionCode & WithZipFile(const Aws::Utils::CryptoBuffer &value)
Definition: FunctionCode.h:71
Aws::Lambda::Model::FunctionCode::FunctionCode
FunctionCode(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::FunctionCode::GetS3ObjectVersion
const Aws::String & GetS3ObjectVersion() const
Definition: FunctionCode.h:174
Aws::Lambda::Model::FunctionCode::GetImageUri
const Aws::String & GetImageUri() const
Definition: FunctionCode.h:224
Aws::Lambda::Model::FunctionCode::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: FunctionCode.h:147
Aws::Lambda::Model::FunctionCode::SetImageUri
void SetImageUri(const Aws::String &value)
Definition: FunctionCode.h:238
Aws::Lambda::Model::FunctionCode::SetImageUri
void SetImageUri(const char *value)
Definition: FunctionCode.h:252
Aws::Lambda::Model::FunctionCode::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: FunctionCode.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lambda::Model::FunctionCode::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::Lambda::Model::FunctionCode::SetZipFile
void SetZipFile(const Aws::Utils::CryptoBuffer &value)
Definition: FunctionCode.h:59
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::FunctionCode::ImageUriHasBeenSet
bool ImageUriHasBeenSet() const
Definition: FunctionCode.h:231
Aws::Lambda::Model::FunctionCode::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: FunctionCode.h:96
Aws::Lambda::Model::FunctionCode::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: FunctionCode.h:142
Aws::Lambda::Model::FunctionCode::WithZipFile
FunctionCode & WithZipFile(Aws::Utils::CryptoBuffer &&value)
Definition: FunctionCode.h:77
Aws::Lambda::Model::FunctionCode::SetS3ObjectVersion
void SetS3ObjectVersion(const char *value)
Definition: FunctionCode.h:198
Aws::Lambda::Model::FunctionCode::SetS3ObjectVersion
void SetS3ObjectVersion(Aws::String &&value)
Definition: FunctionCode.h:192
Aws::Lambda::Model::FunctionCode::operator=
FunctionCode & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::CryptoBuffer
Definition: Array.h:229
Aws::Lambda::Model::FunctionCode
Definition: FunctionCode.h:35
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::FunctionCode::WithImageUri
FunctionCode & WithImageUri(Aws::String &&value)
Definition: FunctionCode.h:266
Aws::Lambda::Model::FunctionCode::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: FunctionCode.h:108
Array.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::FunctionCode::SetS3Key
void SetS3Key(const char *value)
Definition: FunctionCode.h:152
Aws::Lambda::Model::FunctionCode::WithS3Key
FunctionCode & WithS3Key(const Aws::String &value)
Definition: FunctionCode.h:157
Aws::Lambda::Model::FunctionCode::WithS3Bucket
FunctionCode & WithS3Bucket(Aws::String &&value)
Definition: FunctionCode.h:120
Aws::Lambda::Model::FunctionCode::SetImageUri
void SetImageUri(Aws::String &&value)
Definition: FunctionCode.h:245
Aws::Lambda::Model::FunctionCode::WithS3Bucket
FunctionCode & WithS3Bucket(const char *value)
Definition: FunctionCode.h:126
Lambda_EXPORTS.h
Aws::Lambda::Model::FunctionCode::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: FunctionCode.h:90
Aws::Lambda::Model::FunctionCode::GetS3Key
const Aws::String & GetS3Key() const
Definition: FunctionCode.h:132