AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
29 public:
30 AWS_LAMBDA_API EphemeralStorage() = default;
33 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetSize() const { return m_size; }
40 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
41 inline void SetSize(int value) {
42 m_sizeHasBeenSet = true;
43 m_size = value;
44 }
45 inline EphemeralStorage& WithSize(int value) {
46 SetSize(value);
47 return *this;
48 }
50 private:
51 int m_size{0};
52 bool m_sizeHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Lambda
57} // 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