AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceAccelerator.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ECS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_ECS_API InferenceAccelerator();
41
42
44
49 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
50 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
51 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
52 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
53 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
54 inline InferenceAccelerator& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
55 inline InferenceAccelerator& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
56 inline InferenceAccelerator& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
58
60
63 inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
64 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
65 inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
66 inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
67 inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
68 inline InferenceAccelerator& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
69 inline InferenceAccelerator& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
70 inline InferenceAccelerator& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
72 private:
73
74 Aws::String m_deviceName;
75 bool m_deviceNameHasBeenSet = false;
76
77 Aws::String m_deviceType;
78 bool m_deviceTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ECS
83} // namespace Aws
InferenceAccelerator & WithDeviceType(const Aws::String &value)
void SetDeviceType(const Aws::String &value)
AWS_ECS_API InferenceAccelerator & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceAccelerator & WithDeviceName(const char *value)
const Aws::String & GetDeviceName() const
InferenceAccelerator & WithDeviceType(const char *value)
const Aws::String & GetDeviceType() const
InferenceAccelerator & WithDeviceType(Aws::String &&value)
AWS_ECS_API InferenceAccelerator(Aws::Utils::Json::JsonView jsonValue)
InferenceAccelerator & WithDeviceName(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceAccelerator & WithDeviceName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue