AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceAcceleratorOverride.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
37 {
38 public:
43
44
46
51 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
52 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
53 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
54 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
55 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
56 inline InferenceAcceleratorOverride& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
57 inline InferenceAcceleratorOverride& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
58 inline InferenceAcceleratorOverride& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
60
62
65 inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
66 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
67 inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
68 inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
69 inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
70 inline InferenceAcceleratorOverride& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
71 inline InferenceAcceleratorOverride& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
72 inline InferenceAcceleratorOverride& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
74 private:
75
76 Aws::String m_deviceName;
77 bool m_deviceNameHasBeenSet = false;
78
79 Aws::String m_deviceType;
80 bool m_deviceTypeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ECS
85} // namespace Aws
InferenceAcceleratorOverride & WithDeviceType(const char *value)
AWS_ECS_API InferenceAcceleratorOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceAcceleratorOverride & WithDeviceType(const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceAcceleratorOverride & WithDeviceName(const Aws::String &value)
InferenceAcceleratorOverride & WithDeviceName(const char *value)
AWS_ECS_API InferenceAcceleratorOverride(Aws::Utils::Json::JsonView jsonValue)
InferenceAcceleratorOverride & WithDeviceName(Aws::String &&value)
InferenceAcceleratorOverride & WithDeviceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue