7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/GpuSharingMode.h>
43 template <
typename GpuIdT = Aws::String>
45 m_gpuIdHasBeenSet =
true;
46 m_gpuId = std::forward<GpuIdT>(value);
48 template <
typename GpuIdT = Aws::String>
50 SetGpuId(std::forward<GpuIdT>(value));
67 m_sharingModeHasBeenSet =
true;
68 m_sharingMode = value;
85 m_totalMemoryInMiBHasBeenSet =
true;
86 m_totalMemoryInMiB = value;
104 m_remainingMemoryInMiBHasBeenSet =
true;
105 m_remainingMemoryInMiB = value;
124 m_containerCountHasBeenSet =
true;
125 m_containerCount = value;
137 int m_totalMemoryInMiB{0};
139 int m_remainingMemoryInMiB{0};
141 int m_containerCount{0};
142 bool m_gpuIdHasBeenSet =
false;
143 bool m_sharingModeHasBeenSet =
false;
144 bool m_totalMemoryInMiBHasBeenSet =
false;
145 bool m_remainingMemoryInMiBHasBeenSet =
false;
146 bool m_containerCountHasBeenSet =
false;
AWS_ECS_API GpuDevice()=default
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TotalMemoryInMiBHasBeenSet() const
bool GpuIdHasBeenSet() const
const Aws::String & GetGpuId() const
void SetContainerCount(int value)
void SetSharingMode(GpuSharingMode value)
bool SharingModeHasBeenSet() const
GpuDevice & WithTotalMemoryInMiB(int value)
GpuDevice & WithSharingMode(GpuSharingMode value)
void SetGpuId(GpuIdT &&value)
AWS_ECS_API GpuDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetRemainingMemoryInMiB() const
bool ContainerCountHasBeenSet() const
GpuDevice & WithContainerCount(int value)
GpuSharingMode GetSharingMode() const
GpuDevice & WithRemainingMemoryInMiB(int value)
AWS_ECS_API GpuDevice(Aws::Utils::Json::JsonView jsonValue)
void SetTotalMemoryInMiB(int value)
GpuDevice & WithGpuId(GpuIdT &&value)
int GetContainerCount() const
void SetRemainingMemoryInMiB(int value)
int GetTotalMemoryInMiB() const
bool RemainingMemoryInMiBHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue