AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
EphemeralStorage.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Lambda {
17namespace Model {
18
30 public:
31 AWS_LAMBDA_API EphemeralStorage() = default;
34 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetSize() const { return m_size; }
41 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
42 inline void SetSize(int value) {
43 m_sizeHasBeenSet = true;
44 m_size = value;
45 }
46 inline EphemeralStorage& WithSize(int value) {
47 SetSize(value);
48 return *this;
49 }
51 private:
52 int m_size{0};
53 bool m_sizeHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Lambda
58} // namespace Aws
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
EphemeralStorage & WithSize(int value)
AWS_LAMBDA_API EphemeralStorage()=default
AWS_LAMBDA_API EphemeralStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API EphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue