AWS SDK for C++  1.9.129
AWS SDK for C++
Layer.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
34  {
35  public:
36  Layer();
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline Layer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline Layer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline Layer& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline long long GetCodeSize() const{ return m_codeSize; }
87 
91  inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
92 
96  inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
97 
101  inline Layer& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
102 
103 
107  inline const Aws::String& GetSigningProfileVersionArn() const{ return m_signingProfileVersionArn; }
108 
112  inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; }
113 
117  inline void SetSigningProfileVersionArn(const Aws::String& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = value; }
118 
122  inline void SetSigningProfileVersionArn(Aws::String&& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = std::move(value); }
123 
127  inline void SetSigningProfileVersionArn(const char* value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn.assign(value); }
128 
132  inline Layer& WithSigningProfileVersionArn(const Aws::String& value) { SetSigningProfileVersionArn(value); return *this;}
133 
137  inline Layer& WithSigningProfileVersionArn(Aws::String&& value) { SetSigningProfileVersionArn(std::move(value)); return *this;}
138 
142  inline Layer& WithSigningProfileVersionArn(const char* value) { SetSigningProfileVersionArn(value); return *this;}
143 
144 
148  inline const Aws::String& GetSigningJobArn() const{ return m_signingJobArn; }
149 
153  inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; }
154 
158  inline void SetSigningJobArn(const Aws::String& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = value; }
159 
163  inline void SetSigningJobArn(Aws::String&& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = std::move(value); }
164 
168  inline void SetSigningJobArn(const char* value) { m_signingJobArnHasBeenSet = true; m_signingJobArn.assign(value); }
169 
173  inline Layer& WithSigningJobArn(const Aws::String& value) { SetSigningJobArn(value); return *this;}
174 
178  inline Layer& WithSigningJobArn(Aws::String&& value) { SetSigningJobArn(std::move(value)); return *this;}
179 
183  inline Layer& WithSigningJobArn(const char* value) { SetSigningJobArn(value); return *this;}
184 
185  private:
186 
187  Aws::String m_arn;
188  bool m_arnHasBeenSet;
189 
190  long long m_codeSize;
191  bool m_codeSizeHasBeenSet;
192 
193  Aws::String m_signingProfileVersionArn;
194  bool m_signingProfileVersionArnHasBeenSet;
195 
196  Aws::String m_signingJobArn;
197  bool m_signingJobArnHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace Lambda
202 } // namespace Aws
Aws::Lambda::Model::Layer::WithSigningProfileVersionArn
Layer & WithSigningProfileVersionArn(const char *value)
Definition: Layer.h:142
Aws::Lambda::Model::Layer::SetCodeSize
void SetCodeSize(long long value)
Definition: Layer.h:96
Aws::Lambda::Model::Layer::SetSigningJobArn
void SetSigningJobArn(const char *value)
Definition: Layer.h:168
Aws::Lambda::Model::Layer::SetSigningJobArn
void SetSigningJobArn(Aws::String &&value)
Definition: Layer.h:163
Aws::Lambda::Model::Layer::Layer
Layer()
Aws::Lambda::Model::Layer::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::Layer::WithSigningJobArn
Layer & WithSigningJobArn(const Aws::String &value)
Definition: Layer.h:173
Aws::Lambda::Model::Layer::WithCodeSize
Layer & WithCodeSize(long long value)
Definition: Layer.h:101
Aws::Lambda::Model::Layer::WithSigningJobArn
Layer & WithSigningJobArn(const char *value)
Definition: Layer.h:183
Aws::Lambda::Model::Layer::GetSigningProfileVersionArn
const Aws::String & GetSigningProfileVersionArn() const
Definition: Layer.h:107
Aws::Lambda::Model::Layer::SetSigningProfileVersionArn
void SetSigningProfileVersionArn(Aws::String &&value)
Definition: Layer.h:122
Aws::Lambda::Model::Layer::CodeSizeHasBeenSet
bool CodeSizeHasBeenSet() const
Definition: Layer.h:91
Aws::Lambda::Model::Layer::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Layer.h:50
Aws::Lambda::Model::Layer::SetSigningProfileVersionArn
void SetSigningProfileVersionArn(const Aws::String &value)
Definition: Layer.h:117
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::Layer::WithSigningProfileVersionArn
Layer & WithSigningProfileVersionArn(Aws::String &&value)
Definition: Layer.h:137
Aws::Lambda::Model::Layer::WithSigningJobArn
Layer & WithSigningJobArn(Aws::String &&value)
Definition: Layer.h:178
Aws::Lambda::Model::Layer::Layer
Layer(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::Layer::WithArn
Layer & WithArn(const char *value)
Definition: Layer.h:80
Aws::Lambda::Model::Layer::WithArn
Layer & WithArn(Aws::String &&value)
Definition: Layer.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lambda::Model::Layer::GetCodeSize
long long GetCodeSize() const
Definition: Layer.h:86
AWSString.h
Aws::Lambda::Model::Layer::GetArn
const Aws::String & GetArn() const
Definition: Layer.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::Layer::SetArn
void SetArn(const Aws::String &value)
Definition: Layer.h:55
Aws::Lambda::Model::Layer
Definition: Layer.h:34
Aws::Lambda::Model::Layer::SetArn
void SetArn(Aws::String &&value)
Definition: Layer.h:60
Aws::Lambda::Model::Layer::SetArn
void SetArn(const char *value)
Definition: Layer.h:65
Aws::Lambda::Model::Layer::SetSigningJobArn
void SetSigningJobArn(const Aws::String &value)
Definition: Layer.h:158
Aws::Lambda::Model::Layer::WithArn
Layer & WithArn(const Aws::String &value)
Definition: Layer.h:70
Aws::Lambda::Model::Layer::GetSigningJobArn
const Aws::String & GetSigningJobArn() const
Definition: Layer.h:148
Aws::Lambda::Model::Layer::SigningProfileVersionArnHasBeenSet
bool SigningProfileVersionArnHasBeenSet() const
Definition: Layer.h:112
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::Layer::WithSigningProfileVersionArn
Layer & WithSigningProfileVersionArn(const Aws::String &value)
Definition: Layer.h:132
Aws::Lambda::Model::Layer::SetSigningProfileVersionArn
void SetSigningProfileVersionArn(const char *value)
Definition: Layer.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h
Aws::Lambda::Model::Layer::SigningJobArnHasBeenSet
bool SigningJobArnHasBeenSet() const
Definition: Layer.h:153
Aws::Lambda::Model::Layer::operator=
Layer & operator=(Aws::Utils::Json::JsonView jsonValue)