AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
PersistentStorage.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CodeCatalyst {
17namespace Model {
18
26 public:
27 AWS_CODECATALYST_API PersistentStorage() = default;
28 AWS_CODECATALYST_API PersistentStorage(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CODECATALYST_API PersistentStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetSizeInGiB() const { return m_sizeInGiB; }
39 inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
40 inline void SetSizeInGiB(int value) {
41 m_sizeInGiBHasBeenSet = true;
42 m_sizeInGiB = value;
43 }
44 inline PersistentStorage& WithSizeInGiB(int value) {
45 SetSizeInGiB(value);
46 return *this;
47 }
49 private:
50 int m_sizeInGiB{0};
51 bool m_sizeInGiBHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace CodeCatalyst
56} // namespace Aws
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
PersistentStorage & WithSizeInGiB(int value)
AWS_CODECATALYST_API PersistentStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API PersistentStorage()=default
AWS_CODECATALYST_API PersistentStorage(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue