AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
LayerVersionContentInput.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/S3ObjectStorageMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda {
22namespace Model {
23
33 public:
34 AWS_LAMBDA_API LayerVersionContentInput() = default;
37 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
44 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
45 template <typename S3BucketT = Aws::String>
46 void SetS3Bucket(S3BucketT&& value) {
47 m_s3BucketHasBeenSet = true;
48 m_s3Bucket = std::forward<S3BucketT>(value);
49 }
50 template <typename S3BucketT = Aws::String>
52 SetS3Bucket(std::forward<S3BucketT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetS3Key() const { return m_s3Key; }
62 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
63 template <typename S3KeyT = Aws::String>
64 void SetS3Key(S3KeyT&& value) {
65 m_s3KeyHasBeenSet = true;
66 m_s3Key = std::forward<S3KeyT>(value);
67 }
68 template <typename S3KeyT = Aws::String>
70 SetS3Key(std::forward<S3KeyT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
80 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
81 template <typename S3ObjectVersionT = Aws::String>
82 void SetS3ObjectVersion(S3ObjectVersionT&& value) {
83 m_s3ObjectVersionHasBeenSet = true;
84 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
85 }
86 template <typename S3ObjectVersionT = Aws::String>
87 LayerVersionContentInput& WithS3ObjectVersion(S3ObjectVersionT&& value) {
88 SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value));
89 return *this;
90 }
92
94
95 inline S3ObjectStorageMode GetS3ObjectStorageMode() const { return m_s3ObjectStorageMode; }
96 inline bool S3ObjectStorageModeHasBeenSet() const { return m_s3ObjectStorageModeHasBeenSet; }
98 m_s3ObjectStorageModeHasBeenSet = true;
99 m_s3ObjectStorageMode = value;
100 }
103 return *this;
104 }
106
108
112 inline const Aws::Utils::CryptoBuffer& GetZipFile() const { return m_zipFile; }
113 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
114 template <typename ZipFileT = Aws::Utils::CryptoBuffer>
115 void SetZipFile(ZipFileT&& value) {
116 m_zipFileHasBeenSet = true;
117 m_zipFile = std::forward<ZipFileT>(value);
118 }
119 template <typename ZipFileT = Aws::Utils::CryptoBuffer>
121 SetZipFile(std::forward<ZipFileT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_s3Bucket;
127
128 Aws::String m_s3Key;
129
130 Aws::String m_s3ObjectVersion;
131
133
134 Aws::Utils::CryptoBuffer m_zipFile{};
135 bool m_s3BucketHasBeenSet = false;
136 bool m_s3KeyHasBeenSet = false;
137 bool m_s3ObjectVersionHasBeenSet = false;
138 bool m_s3ObjectStorageModeHasBeenSet = false;
139 bool m_zipFileHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Lambda
144} // namespace Aws
const Aws::Utils::CryptoBuffer & GetZipFile() const
AWS_LAMBDA_API LayerVersionContentInput()=default
LayerVersionContentInput & WithS3Key(S3KeyT &&value)
void SetS3ObjectStorageMode(S3ObjectStorageMode value)
LayerVersionContentInput & WithS3Bucket(S3BucketT &&value)
AWS_LAMBDA_API LayerVersionContentInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API LayerVersionContentInput(Aws::Utils::Json::JsonView jsonValue)
LayerVersionContentInput & WithS3ObjectStorageMode(S3ObjectStorageMode value)
LayerVersionContentInput & WithS3ObjectVersion(S3ObjectVersionT &&value)
LayerVersionContentInput & WithZipFile(ZipFileT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue