AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComputeResponse.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/ComputeType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace RoboMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ROBOMAKER_API ComputeResponse();
35 AWS_ROBOMAKER_API ComputeResponse(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline int GetSimulationUnitLimit() const{ return m_simulationUnitLimit; }
48 inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; }
49 inline void SetSimulationUnitLimit(int value) { m_simulationUnitLimitHasBeenSet = true; m_simulationUnitLimit = value; }
50 inline ComputeResponse& WithSimulationUnitLimit(int value) { SetSimulationUnitLimit(value); return *this;}
52
54
57 inline const ComputeType& GetComputeType() const{ return m_computeType; }
58 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
59 inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
60 inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
61 inline ComputeResponse& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
62 inline ComputeResponse& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
64
66
70 inline int GetGpuUnitLimit() const{ return m_gpuUnitLimit; }
71 inline bool GpuUnitLimitHasBeenSet() const { return m_gpuUnitLimitHasBeenSet; }
72 inline void SetGpuUnitLimit(int value) { m_gpuUnitLimitHasBeenSet = true; m_gpuUnitLimit = value; }
73 inline ComputeResponse& WithGpuUnitLimit(int value) { SetGpuUnitLimit(value); return *this;}
75 private:
76
77 int m_simulationUnitLimit;
78 bool m_simulationUnitLimitHasBeenSet = false;
79
80 ComputeType m_computeType;
81 bool m_computeTypeHasBeenSet = false;
82
83 int m_gpuUnitLimit;
84 bool m_gpuUnitLimitHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace RoboMaker
89} // namespace Aws
void SetComputeType(ComputeType &&value)
AWS_ROBOMAKER_API ComputeResponse(Aws::Utils::Json::JsonView jsonValue)
ComputeResponse & WithSimulationUnitLimit(int value)
ComputeResponse & WithComputeType(ComputeType &&value)
ComputeResponse & WithComputeType(const ComputeType &value)
ComputeResponse & WithGpuUnitLimit(int value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API ComputeResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const ComputeType & GetComputeType() const
void SetComputeType(const ComputeType &value)
Aws::Utils::Json::JsonValue JsonValue