AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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