AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsLambdaFunctionCode.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsLambdaFunctionCode() = default;
36 AWS_SECURITYHUB_API AwsLambdaFunctionCode(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
47 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
48 template<typename S3BucketT = Aws::String>
49 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
50 template<typename S3BucketT = Aws::String>
51 AwsLambdaFunctionCode& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
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) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
62 template<typename S3KeyT = Aws::String>
63 AwsLambdaFunctionCode& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
65
67
71 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
72 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
73 template<typename S3ObjectVersionT = Aws::String>
74 void SetS3ObjectVersion(S3ObjectVersionT&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value); }
75 template<typename S3ObjectVersionT = Aws::String>
76 AwsLambdaFunctionCode& WithS3ObjectVersion(S3ObjectVersionT&& value) { SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value)); return *this;}
78
80
84 inline const Aws::String& GetZipFile() const { return m_zipFile; }
85 inline bool ZipFileHasBeenSet() const { return m_zipFileHasBeenSet; }
86 template<typename ZipFileT = Aws::String>
87 void SetZipFile(ZipFileT&& value) { m_zipFileHasBeenSet = true; m_zipFile = std::forward<ZipFileT>(value); }
88 template<typename ZipFileT = Aws::String>
89 AwsLambdaFunctionCode& WithZipFile(ZipFileT&& value) { SetZipFile(std::forward<ZipFileT>(value)); return *this;}
91 private:
92
93 Aws::String m_s3Bucket;
94 bool m_s3BucketHasBeenSet = false;
95
96 Aws::String m_s3Key;
97 bool m_s3KeyHasBeenSet = false;
98
99 Aws::String m_s3ObjectVersion;
100 bool m_s3ObjectVersionHasBeenSet = false;
101
102 Aws::String m_zipFile;
103 bool m_zipFileHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SecurityHub
108} // 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