AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcsInferenceAcceleratorOverride.h
1
6#pragma once
7#include <aws/pipes/Pipes_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 Pipes
22{
23namespace Model
24{
25
37 {
38 public:
42 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
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 EcsInferenceAcceleratorOverride& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
57 inline EcsInferenceAcceleratorOverride& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
58 inline EcsInferenceAcceleratorOverride& 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 EcsInferenceAcceleratorOverride& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
71 inline EcsInferenceAcceleratorOverride& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
72 inline EcsInferenceAcceleratorOverride& 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 Pipes
85} // namespace Aws
AWS_PIPES_API EcsInferenceAcceleratorOverride(Aws::Utils::Json::JsonView jsonValue)
EcsInferenceAcceleratorOverride & WithDeviceName(Aws::String &&value)
AWS_PIPES_API EcsInferenceAcceleratorOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsInferenceAcceleratorOverride & WithDeviceType(const Aws::String &value)
EcsInferenceAcceleratorOverride & WithDeviceType(Aws::String &&value)
EcsInferenceAcceleratorOverride & WithDeviceType(const char *value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
EcsInferenceAcceleratorOverride & WithDeviceName(const char *value)
EcsInferenceAcceleratorOverride & WithDeviceName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue