AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemoryInfo.h
1
6#pragma once
7#include <aws/elastic-inference/ElasticInference_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElasticInference
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ELASTICINFERENCE_API MemoryInfo();
34 AWS_ELASTICINFERENCE_API MemoryInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ELASTICINFERENCE_API MemoryInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ELASTICINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetSizeInMiB() const{ return m_sizeInMiB; }
44 inline bool SizeInMiBHasBeenSet() const { return m_sizeInMiBHasBeenSet; }
45 inline void SetSizeInMiB(int value) { m_sizeInMiBHasBeenSet = true; m_sizeInMiB = value; }
46 inline MemoryInfo& WithSizeInMiB(int value) { SetSizeInMiB(value); return *this;}
48 private:
49
50 int m_sizeInMiB;
51 bool m_sizeInMiBHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace ElasticInference
56} // namespace Aws
MemoryInfo & WithSizeInMiB(int value)
Definition MemoryInfo.h:46
AWS_ELASTICINFERENCE_API MemoryInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICINFERENCE_API MemoryInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICINFERENCE_API MemoryInfo()
Aws::Utils::Json::JsonValue JsonValue