AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Layer.h
1
6#pragma once
7#include <aws/lambda/Lambda_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 Lambda
22{
23namespace Model
24{
25
33 class Layer
34 {
35 public:
36 AWS_LAMBDA_API Layer();
37 AWS_LAMBDA_API Layer(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAMBDA_API Layer& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline Layer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline Layer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline Layer& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline long long GetCodeSize() const{ return m_codeSize; }
61 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
62 inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
63 inline Layer& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
65
67
70 inline const Aws::String& GetSigningProfileVersionArn() const{ return m_signingProfileVersionArn; }
71 inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; }
72 inline void SetSigningProfileVersionArn(const Aws::String& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = value; }
73 inline void SetSigningProfileVersionArn(Aws::String&& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = std::move(value); }
74 inline void SetSigningProfileVersionArn(const char* value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn.assign(value); }
75 inline Layer& WithSigningProfileVersionArn(const Aws::String& value) { SetSigningProfileVersionArn(value); return *this;}
76 inline Layer& WithSigningProfileVersionArn(Aws::String&& value) { SetSigningProfileVersionArn(std::move(value)); return *this;}
77 inline Layer& WithSigningProfileVersionArn(const char* value) { SetSigningProfileVersionArn(value); return *this;}
79
81
84 inline const Aws::String& GetSigningJobArn() const{ return m_signingJobArn; }
85 inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; }
86 inline void SetSigningJobArn(const Aws::String& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = value; }
87 inline void SetSigningJobArn(Aws::String&& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = std::move(value); }
88 inline void SetSigningJobArn(const char* value) { m_signingJobArnHasBeenSet = true; m_signingJobArn.assign(value); }
89 inline Layer& WithSigningJobArn(const Aws::String& value) { SetSigningJobArn(value); return *this;}
90 inline Layer& WithSigningJobArn(Aws::String&& value) { SetSigningJobArn(std::move(value)); return *this;}
91 inline Layer& WithSigningJobArn(const char* value) { SetSigningJobArn(value); return *this;}
93 private:
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 long long m_codeSize;
99 bool m_codeSizeHasBeenSet = false;
100
101 Aws::String m_signingProfileVersionArn;
102 bool m_signingProfileVersionArnHasBeenSet = false;
103
104 Aws::String m_signingJobArn;
105 bool m_signingJobArnHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Lambda
110} // namespace Aws
void SetArn(const Aws::String &value)
Definition Layer.h:48
void SetArn(Aws::String &&value)
Definition Layer.h:49
Layer & WithSigningProfileVersionArn(const Aws::String &value)
Definition Layer.h:75
Layer & WithSigningProfileVersionArn(const char *value)
Definition Layer.h:77
const Aws::String & GetSigningJobArn() const
Definition Layer.h:84
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetCodeSize() const
Definition Layer.h:60
bool SigningJobArnHasBeenSet() const
Definition Layer.h:85
void SetArn(const char *value)
Definition Layer.h:50
void SetCodeSize(long long value)
Definition Layer.h:62
void SetSigningJobArn(Aws::String &&value)
Definition Layer.h:87
AWS_LAMBDA_API Layer(Aws::Utils::Json::JsonView jsonValue)
Layer & WithSigningJobArn(Aws::String &&value)
Definition Layer.h:90
Layer & WithArn(const Aws::String &value)
Definition Layer.h:51
void SetSigningProfileVersionArn(Aws::String &&value)
Definition Layer.h:73
bool SigningProfileVersionArnHasBeenSet() const
Definition Layer.h:71
Layer & WithSigningJobArn(const char *value)
Definition Layer.h:91
Layer & WithSigningProfileVersionArn(Aws::String &&value)
Definition Layer.h:76
Layer & WithArn(Aws::String &&value)
Definition Layer.h:52
const Aws::String & GetArn() const
Definition Layer.h:46
Layer & WithSigningJobArn(const Aws::String &value)
Definition Layer.h:89
AWS_LAMBDA_API Layer()
void SetSigningProfileVersionArn(const char *value)
Definition Layer.h:74
AWS_LAMBDA_API Layer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSigningProfileVersionArn() const
Definition Layer.h:70
void SetSigningJobArn(const Aws::String &value)
Definition Layer.h:86
bool ArnHasBeenSet() const
Definition Layer.h:47
void SetSigningProfileVersionArn(const Aws::String &value)
Definition Layer.h:72
Layer & WithArn(const char *value)
Definition Layer.h:53
bool CodeSizeHasBeenSet() const
Definition Layer.h:61
void SetSigningJobArn(const char *value)
Definition Layer.h:88
Layer & WithCodeSize(long long value)
Definition Layer.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue