/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Lambda
{
namespace Model
{
/**
* The size of the function's /tmp
directory in MB. The default
* value is 512, but it can be any whole number between 512 and 10,240
* MB.
See Also:
AWS
* API Reference
*/
class EphemeralStorage
{
public:
AWS_LAMBDA_API EphemeralStorage();
AWS_LAMBDA_API EphemeralStorage(Aws::Utils::Json::JsonView jsonValue);
AWS_LAMBDA_API EphemeralStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The size of the function's /tmp
directory.
*/
inline int GetSize() const{ return m_size; }
/**
* The size of the function's /tmp
directory.
*/
inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
/**
* The size of the function's /tmp
directory.
*/
inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
/**
* The size of the function's /tmp
directory.
*/
inline EphemeralStorage& WithSize(int value) { SetSize(value); return *this;}
private:
int m_size;
bool m_sizeHasBeenSet = false;
};
} // namespace Model
} // namespace Lambda
} // namespace Aws