AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 AwsLambdaFunctionLayer& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline int GetCodeSize() const { return m_codeSize; }
57 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
58 inline void SetCodeSize(int value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
59 inline AwsLambdaFunctionLayer& WithCodeSize(int value) { SetCodeSize(value); return *this;}
61 private:
62
63 Aws::String m_arn;
64 bool m_arnHasBeenSet = false;
65
66 int m_codeSize{0};
67 bool m_codeSizeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SecurityHub
72} // namespace Aws
AWS_SECURITYHUB_API AwsLambdaFunctionLayer(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsLambdaFunctionLayer()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaFunctionLayer & WithCodeSize(int value)
AwsLambdaFunctionLayer & WithArn(ArnT &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionLayer & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue