AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
51 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
52 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
53 inline LayerVersionContentInput& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
54 inline LayerVersionContentInput& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
55 inline LayerVersionContentInput& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
57
59
62 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
63 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
64 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
65 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
66 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
67 inline LayerVersionContentInput& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
68 inline LayerVersionContentInput& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
69 inline LayerVersionContentInput& WithS3Key(const char* value) { SetS3Key(value); return *this;}
71
73
76 inline const Aws::String& GetS3ObjectVersion() const{ return m_s3ObjectVersion; }
77 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
78 inline void SetS3ObjectVersion(const Aws::String& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = value; }
79 inline void SetS3ObjectVersion(Aws::String&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::move(value); }
80 inline void SetS3ObjectVersion(const char* value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion.assign(value); }
81 inline LayerVersionContentInput& WithS3ObjectVersion(const Aws::String& value) { SetS3ObjectVersion(value); return *this;}
82 inline LayerVersionContentInput& WithS3ObjectVersion(Aws::String&& value) { SetS3ObjectVersion(std::move(value)); return *this;}
83 inline LayerVersionContentInput& WithS3ObjectVersion(const char* value) { SetS3ObjectVersion(value); return *this;}
85
87
91 inline const Aws::Utils::CryptoBuffer& GetZipFile() const{ return m_zipFile; }
92 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
93 inline void SetZipFile(const Aws::Utils::CryptoBuffer& value) { m_zipFileHasBeenSet = true; m_zipFile = value; }
94 inline void SetZipFile(Aws::Utils::CryptoBuffer&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::move(value); }
95 inline LayerVersionContentInput& WithZipFile(const Aws::Utils::CryptoBuffer& value) { SetZipFile(value); return *this;}
96 inline LayerVersionContentInput& WithZipFile(Aws::Utils::CryptoBuffer&& value) { SetZipFile(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_s3Bucket;
101 bool m_s3BucketHasBeenSet = false;
102
103 Aws::String m_s3Key;
104 bool m_s3KeyHasBeenSet = false;
105
106 Aws::String m_s3ObjectVersion;
107 bool m_s3ObjectVersionHasBeenSet = false;
108
109 Aws::Utils::CryptoBuffer m_zipFile;
110 bool m_zipFileHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Lambda
115} // namespace Aws
LayerVersionContentInput & WithZipFile(Aws::Utils::CryptoBuffer &&value)
const Aws::Utils::CryptoBuffer & GetZipFile() const
LayerVersionContentInput & WithZipFile(const Aws::Utils::CryptoBuffer &value)
LayerVersionContentInput & WithS3Key(const Aws::String &value)
LayerVersionContentInput & WithS3ObjectVersion(Aws::String &&value)
LayerVersionContentInput & WithS3Key(const char *value)
LayerVersionContentInput & WithS3Bucket(const char *value)
void SetZipFile(Aws::Utils::CryptoBuffer &&value)
AWS_LAMBDA_API LayerVersionContentInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API LayerVersionContentInput(Aws::Utils::Json::JsonView jsonValue)
LayerVersionContentInput & WithS3Bucket(Aws::String &&value)
LayerVersionContentInput & WithS3Bucket(const Aws::String &value)
void SetZipFile(const Aws::Utils::CryptoBuffer &value)
LayerVersionContentInput & WithS3ObjectVersion(const Aws::String &value)
LayerVersionContentInput & WithS3Key(Aws::String &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
LayerVersionContentInput & WithS3ObjectVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue