AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsLambdaFunctionCode.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsLambdaFunctionCode() = default;
31 AWS_SECURITYHUB_API AwsLambdaFunctionCode(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
41 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
42 template <typename S3BucketT = Aws::String>
43 void SetS3Bucket(S3BucketT&& value) {
44 m_s3BucketHasBeenSet = true;
45 m_s3Bucket = std::forward<S3BucketT>(value);
46 }
47 template <typename S3BucketT = Aws::String>
48 AwsLambdaFunctionCode& WithS3Bucket(S3BucketT&& value) {
49 SetS3Bucket(std::forward<S3BucketT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetS3Key() const { return m_s3Key; }
59 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
60 template <typename S3KeyT = Aws::String>
61 void SetS3Key(S3KeyT&& value) {
62 m_s3KeyHasBeenSet = true;
63 m_s3Key = std::forward<S3KeyT>(value);
64 }
65 template <typename S3KeyT = Aws::String>
67 SetS3Key(std::forward<S3KeyT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
78 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
79 template <typename S3ObjectVersionT = Aws::String>
80 void SetS3ObjectVersion(S3ObjectVersionT&& value) {
81 m_s3ObjectVersionHasBeenSet = true;
82 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
83 }
84 template <typename S3ObjectVersionT = Aws::String>
85 AwsLambdaFunctionCode& WithS3ObjectVersion(S3ObjectVersionT&& value) {
86 SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetZipFile() const { return m_zipFile; }
97 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
98 template <typename ZipFileT = Aws::String>
99 void SetZipFile(ZipFileT&& value) {
100 m_zipFileHasBeenSet = true;
101 m_zipFile = std::forward<ZipFileT>(value);
102 }
103 template <typename ZipFileT = Aws::String>
105 SetZipFile(std::forward<ZipFileT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_s3Bucket;
111
112 Aws::String m_s3Key;
113
114 Aws::String m_s3ObjectVersion;
115
116 Aws::String m_zipFile;
117 bool m_s3BucketHasBeenSet = false;
118 bool m_s3KeyHasBeenSet = false;
119 bool m_s3ObjectVersionHasBeenSet = false;
120 bool m_zipFileHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SecurityHub
125} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaFunctionCode & WithS3ObjectVersion(S3ObjectVersionT &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionCode & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionCode & WithS3Key(S3KeyT &&value)
AwsLambdaFunctionCode & WithZipFile(ZipFileT &&value)
AwsLambdaFunctionCode & WithS3Bucket(S3BucketT &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionCode()=default
AWS_SECURITYHUB_API AwsLambdaFunctionCode(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue