AWS SDK for C++  1.9.161
AWS SDK for C++
InferenceAccelerator.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ECS
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
49 
55  inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
56 
62  inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
63 
69  inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
70 
76  inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
77 
83  inline InferenceAccelerator& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
84 
90  inline InferenceAccelerator& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
91 
97  inline InferenceAccelerator& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
98 
99 
103  inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
104 
108  inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
109 
113  inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
114 
118  inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
119 
123  inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
124 
128  inline InferenceAccelerator& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
129 
133  inline InferenceAccelerator& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
134 
138  inline InferenceAccelerator& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
139 
140  private:
141 
142  Aws::String m_deviceName;
143  bool m_deviceNameHasBeenSet;
144 
145  Aws::String m_deviceType;
146  bool m_deviceTypeHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace ECS
151 } // namespace Aws
Aws::ECS::Model::InferenceAccelerator::GetDeviceType
const Aws::String & GetDeviceType() const
Definition: InferenceAccelerator.h:103
Aws::ECS::Model::InferenceAccelerator::SetDeviceType
void SetDeviceType(const Aws::String &value)
Definition: InferenceAccelerator.h:113
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::InferenceAccelerator
Definition: InferenceAccelerator.h:35
Aws::ECS::Model::InferenceAccelerator::SetDeviceName
void SetDeviceName(Aws::String &&value)
Definition: InferenceAccelerator.h:69
Aws::ECS::Model::InferenceAccelerator::SetDeviceType
void SetDeviceType(const char *value)
Definition: InferenceAccelerator.h:123
Aws::ECS::Model::InferenceAccelerator::DeviceTypeHasBeenSet
bool DeviceTypeHasBeenSet() const
Definition: InferenceAccelerator.h:108
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::InferenceAccelerator::SetDeviceName
void SetDeviceName(const Aws::String &value)
Definition: InferenceAccelerator.h:62
Aws::ECS::Model::InferenceAccelerator::InferenceAccelerator
InferenceAccelerator(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::InferenceAccelerator::WithDeviceType
InferenceAccelerator & WithDeviceType(Aws::String &&value)
Definition: InferenceAccelerator.h:133
Aws::ECS::Model::InferenceAccelerator::DeviceNameHasBeenSet
bool DeviceNameHasBeenSet() const
Definition: InferenceAccelerator.h:55
Aws::ECS::Model::InferenceAccelerator::InferenceAccelerator
InferenceAccelerator()
Aws::ECS::Model::InferenceAccelerator::WithDeviceName
InferenceAccelerator & WithDeviceName(const Aws::String &value)
Definition: InferenceAccelerator.h:83
Aws::ECS::Model::InferenceAccelerator::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::InferenceAccelerator::GetDeviceName
const Aws::String & GetDeviceName() const
Definition: InferenceAccelerator.h:48
Aws::ECS::Model::InferenceAccelerator::WithDeviceType
InferenceAccelerator & WithDeviceType(const char *value)
Definition: InferenceAccelerator.h:138
Aws::ECS::Model::InferenceAccelerator::WithDeviceName
InferenceAccelerator & WithDeviceName(Aws::String &&value)
Definition: InferenceAccelerator.h:90
Aws::ECS::Model::InferenceAccelerator::WithDeviceType
InferenceAccelerator & WithDeviceType(const Aws::String &value)
Definition: InferenceAccelerator.h:128
Aws::ECS::Model::InferenceAccelerator::SetDeviceType
void SetDeviceType(Aws::String &&value)
Definition: InferenceAccelerator.h:118
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::InferenceAccelerator::WithDeviceName
InferenceAccelerator & WithDeviceName(const char *value)
Definition: InferenceAccelerator.h:97
Aws::ECS::Model::InferenceAccelerator::operator=
InferenceAccelerator & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::InferenceAccelerator::SetDeviceName
void SetDeviceName(const char *value)
Definition: InferenceAccelerator.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ECS_EXPORTS.h