AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsLambdaFunctionLayer.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
28 public:
29 AWS_SECURITYHUB_API AwsLambdaFunctionLayer() = default;
30 AWS_SECURITYHUB_API AwsLambdaFunctionLayer(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline int GetCodeSize() const { return m_codeSize; }
57 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
58 inline void SetCodeSize(int value) {
59 m_codeSizeHasBeenSet = true;
60 m_codeSize = value;
61 }
63 SetCodeSize(value);
64 return *this;
65 }
67 private:
68 Aws::String m_arn;
69
70 int m_codeSize{0};
71 bool m_arnHasBeenSet = false;
72 bool m_codeSizeHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SecurityHub
77} // 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