AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LayerVersionContentInput.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.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
36 {
37 public:
38 AWS_LAMBDA_API LayerVersionContentInput() = default;
41 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
49 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
50 template<typename S3BucketT = Aws::String>
51 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
52 template<typename S3BucketT = Aws::String>
53 LayerVersionContentInput& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
55
57
60 inline const Aws::String& GetS3Key() const { return m_s3Key; }
61 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
62 template<typename S3KeyT = Aws::String>
63 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
64 template<typename S3KeyT = Aws::String>
65 LayerVersionContentInput& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
67
69
72 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
73 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
74 template<typename S3ObjectVersionT = Aws::String>
75 void SetS3ObjectVersion(S3ObjectVersionT&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value); }
76 template<typename S3ObjectVersionT = Aws::String>
77 LayerVersionContentInput& WithS3ObjectVersion(S3ObjectVersionT&& value) { SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value)); return *this;}
79
81
85 inline const Aws::Utils::CryptoBuffer& GetZipFile() const { return m_zipFile; }
86 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
87 template<typename ZipFileT = Aws::Utils::CryptoBuffer>
88 void SetZipFile(ZipFileT&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::forward<ZipFileT>(value); }
89 template<typename ZipFileT = Aws::Utils::CryptoBuffer>
90 LayerVersionContentInput& WithZipFile(ZipFileT&& value) { SetZipFile(std::forward<ZipFileT>(value)); return *this;}
92 private:
93
94 Aws::String m_s3Bucket;
95 bool m_s3BucketHasBeenSet = false;
96
97 Aws::String m_s3Key;
98 bool m_s3KeyHasBeenSet = false;
99
100 Aws::String m_s3ObjectVersion;
101 bool m_s3ObjectVersionHasBeenSet = false;
102
103 Aws::Utils::CryptoBuffer m_zipFile{};
104 bool m_zipFileHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Lambda
109} // namespace Aws
const Aws::Utils::CryptoBuffer & GetZipFile() const
AWS_LAMBDA_API LayerVersionContentInput()=default
LayerVersionContentInput & WithS3Key(S3KeyT &&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 & 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