AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsLambdaFunctionLayer.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
32 {
33 public:
34 AWS_SECURITYHUB_API AwsLambdaFunctionLayer();
35 AWS_SECURITYHUB_API AwsLambdaFunctionLayer(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline AwsLambdaFunctionLayer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline AwsLambdaFunctionLayer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline AwsLambdaFunctionLayer& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline int GetCodeSize() const{ return m_codeSize; }
59 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
60 inline void SetCodeSize(int value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
61 inline AwsLambdaFunctionLayer& WithCodeSize(int value) { SetCodeSize(value); return *this;}
63 private:
64
65 Aws::String m_arn;
66 bool m_arnHasBeenSet = false;
67
68 int m_codeSize;
69 bool m_codeSizeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SecurityHub
74} // namespace Aws
AWS_SECURITYHUB_API AwsLambdaFunctionLayer(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaFunctionLayer & WithCodeSize(int value)
AWS_SECURITYHUB_API AwsLambdaFunctionLayer & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionLayer & WithArn(const char *value)
AwsLambdaFunctionLayer & WithArn(Aws::String &&value)
AwsLambdaFunctionLayer & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue