AWS SDK for C++  1.9.45
AWS SDK for C++
LayerVersionContentInput.h
Go to the documentation of this file.
1 
6 #pragma once
9 #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 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
48 
52  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
53 
57  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
58 
62  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
63 
67  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
68 
72  inline LayerVersionContentInput& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
73 
77  inline LayerVersionContentInput& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
78 
82  inline LayerVersionContentInput& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
83 
84 
88  inline const Aws::String& GetS3Key() const{ return m_s3Key; }
89 
93  inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
94 
98  inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
99 
103  inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
104 
108  inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
109 
113  inline LayerVersionContentInput& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
114 
118  inline LayerVersionContentInput& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
119 
123  inline LayerVersionContentInput& WithS3Key(const char* value) { SetS3Key(value); return *this;}
124 
125 
129  inline const Aws::String& GetS3ObjectVersion() const{ return m_s3ObjectVersion; }
130 
134  inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
135 
139  inline void SetS3ObjectVersion(const Aws::String& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = value; }
140 
144  inline void SetS3ObjectVersion(Aws::String&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::move(value); }
145 
149  inline void SetS3ObjectVersion(const char* value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion.assign(value); }
150 
154  inline LayerVersionContentInput& WithS3ObjectVersion(const Aws::String& value) { SetS3ObjectVersion(value); return *this;}
155 
159  inline LayerVersionContentInput& WithS3ObjectVersion(Aws::String&& value) { SetS3ObjectVersion(std::move(value)); return *this;}
160 
164  inline LayerVersionContentInput& WithS3ObjectVersion(const char* value) { SetS3ObjectVersion(value); return *this;}
165 
166 
171  inline const Aws::Utils::CryptoBuffer& GetZipFile() const{ return m_zipFile; }
172 
177  inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
178 
183  inline void SetZipFile(const Aws::Utils::CryptoBuffer& value) { m_zipFileHasBeenSet = true; m_zipFile = value; }
184 
189  inline void SetZipFile(Aws::Utils::CryptoBuffer&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::move(value); }
190 
195  inline LayerVersionContentInput& WithZipFile(const Aws::Utils::CryptoBuffer& value) { SetZipFile(value); return *this;}
196 
201  inline LayerVersionContentInput& WithZipFile(Aws::Utils::CryptoBuffer&& value) { SetZipFile(std::move(value)); return *this;}
202 
203  private:
204 
205  Aws::String m_s3Bucket;
206  bool m_s3BucketHasBeenSet;
207 
208  Aws::String m_s3Key;
209  bool m_s3KeyHasBeenSet;
210 
211  Aws::String m_s3ObjectVersion;
212  bool m_s3ObjectVersionHasBeenSet;
213 
214  Aws::Utils::CryptoBuffer m_zipFile;
215  bool m_zipFileHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace Lambda
220 } // namespace Aws
Aws::Lambda::Model::LayerVersionContentInput::GetS3ObjectVersion
const Aws::String & GetS3ObjectVersion() const
Definition: LayerVersionContentInput.h:129
Aws::Lambda::Model::LayerVersionContentInput::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: LayerVersionContentInput.h:67
Aws::Lambda::Model::LayerVersionContentInput::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: LayerVersionContentInput.h:98
Aws::Lambda::Model::LayerVersionContentInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::LayerVersionContentInput
Definition: LayerVersionContentInput.h:36
Aws::Lambda::Model::LayerVersionContentInput::GetS3Key
const Aws::String & GetS3Key() const
Definition: LayerVersionContentInput.h:88
Aws::Lambda::Model::LayerVersionContentInput::SetS3Key
void SetS3Key(const char *value)
Definition: LayerVersionContentInput.h:108
Aws::Lambda::Model::LayerVersionContentInput::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: LayerVersionContentInput.h:103
Aws::Lambda::Model::LayerVersionContentInput::WithS3Key
LayerVersionContentInput & WithS3Key(const char *value)
Definition: LayerVersionContentInput.h:123
Aws::Lambda::Model::LayerVersionContentInput::WithS3ObjectVersion
LayerVersionContentInput & WithS3ObjectVersion(Aws::String &&value)
Definition: LayerVersionContentInput.h:159
Aws::Lambda::Model::LayerVersionContentInput::LayerVersionContentInput
LayerVersionContentInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::LayerVersionContentInput::SetZipFile
void SetZipFile(Aws::Utils::CryptoBuffer &&value)
Definition: LayerVersionContentInput.h:189
Aws::Lambda::Model::LayerVersionContentInput::WithS3ObjectVersion
LayerVersionContentInput & WithS3ObjectVersion(const Aws::String &value)
Definition: LayerVersionContentInput.h:154
Aws::Lambda::Model::LayerVersionContentInput::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: LayerVersionContentInput.h:57
Aws::Lambda::Model::LayerVersionContentInput::WithS3Bucket
LayerVersionContentInput & WithS3Bucket(const Aws::String &value)
Definition: LayerVersionContentInput.h:72
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::LayerVersionContentInput::S3ObjectVersionHasBeenSet
bool S3ObjectVersionHasBeenSet() const
Definition: LayerVersionContentInput.h:134
Aws::Lambda::Model::LayerVersionContentInput::WithS3Key
LayerVersionContentInput & WithS3Key(Aws::String &&value)
Definition: LayerVersionContentInput.h:118
Aws::Lambda::Model::LayerVersionContentInput::WithS3ObjectVersion
LayerVersionContentInput & WithS3ObjectVersion(const char *value)
Definition: LayerVersionContentInput.h:164
Aws::Lambda::Model::LayerVersionContentInput::SetZipFile
void SetZipFile(const Aws::Utils::CryptoBuffer &value)
Definition: LayerVersionContentInput.h:183
Aws::Lambda::Model::LayerVersionContentInput::SetS3ObjectVersion
void SetS3ObjectVersion(const char *value)
Definition: LayerVersionContentInput.h:149
Aws::Lambda::Model::LayerVersionContentInput::SetS3ObjectVersion
void SetS3ObjectVersion(const Aws::String &value)
Definition: LayerVersionContentInput.h:139
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::LayerVersionContentInput::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: LayerVersionContentInput.h:52
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::LayerVersionContentInput::WithS3Bucket
LayerVersionContentInput & WithS3Bucket(const char *value)
Definition: LayerVersionContentInput.h:82
Aws::Lambda::Model::LayerVersionContentInput::WithS3Key
LayerVersionContentInput & WithS3Key(const Aws::String &value)
Definition: LayerVersionContentInput.h:113
Aws::Lambda::Model::LayerVersionContentInput::GetZipFile
const Aws::Utils::CryptoBuffer & GetZipFile() const
Definition: LayerVersionContentInput.h:171
Aws::Lambda::Model::LayerVersionContentInput::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: LayerVersionContentInput.h:47
Aws::Lambda::Model::LayerVersionContentInput::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: LayerVersionContentInput.h:62
Aws::Utils::CryptoBuffer
Definition: Array.h:229
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::Lambda::Model::LayerVersionContentInput::WithS3Bucket
LayerVersionContentInput & WithS3Bucket(Aws::String &&value)
Definition: LayerVersionContentInput.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::LayerVersionContentInput::ZipFileHasBeenSet
bool ZipFileHasBeenSet() const
Definition: LayerVersionContentInput.h:177
Aws::Lambda::Model::LayerVersionContentInput::WithZipFile
LayerVersionContentInput & WithZipFile(Aws::Utils::CryptoBuffer &&value)
Definition: LayerVersionContentInput.h:201
Aws::Lambda::Model::LayerVersionContentInput::WithZipFile
LayerVersionContentInput & WithZipFile(const Aws::Utils::CryptoBuffer &value)
Definition: LayerVersionContentInput.h:195
Aws::Lambda::Model::LayerVersionContentInput::operator=
LayerVersionContentInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::LayerVersionContentInput::LayerVersionContentInput
LayerVersionContentInput()
Aws::Lambda::Model::LayerVersionContentInput::SetS3ObjectVersion
void SetS3ObjectVersion(Aws::String &&value)
Definition: LayerVersionContentInput.h:144
Lambda_EXPORTS.h
Aws::Lambda::Model::LayerVersionContentInput::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: LayerVersionContentInput.h:93