AWS SDK for C++  1.9.158
AWS SDK for C++
Device.h
Go to the documentation of this file.
1 
6 #pragma once
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 SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Device();
38 
39 
43  inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
44 
48  inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
49 
53  inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
54 
58  inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
59 
63  inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
64 
68  inline Device& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
69 
73  inline Device& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
74 
78  inline Device& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline Device& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline Device& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline Device& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
126 
130  inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; }
131 
135  inline void SetIotThingName(const Aws::String& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = value; }
136 
140  inline void SetIotThingName(Aws::String&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::move(value); }
141 
145  inline void SetIotThingName(const char* value) { m_iotThingNameHasBeenSet = true; m_iotThingName.assign(value); }
146 
150  inline Device& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
151 
155  inline Device& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
156 
160  inline Device& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
161 
162  private:
163 
164  Aws::String m_deviceName;
165  bool m_deviceNameHasBeenSet;
166 
167  Aws::String m_description;
168  bool m_descriptionHasBeenSet;
169 
170  Aws::String m_iotThingName;
171  bool m_iotThingNameHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace SageMaker
176 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Device::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Device.h:89
Aws::SageMaker::Model::Device::Device
Device()
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Device::SetDeviceName
void SetDeviceName(const Aws::String &value)
Definition: Device.h:53
Aws::SageMaker::Model::Device::GetDeviceName
const Aws::String & GetDeviceName() const
Definition: Device.h:43
Aws::SageMaker::Model::Device
Definition: Device.h:32
Aws::SageMaker::Model::Device::IotThingNameHasBeenSet
bool IotThingNameHasBeenSet() const
Definition: Device.h:130
Aws::SageMaker::Model::Device::WithDeviceName
Device & WithDeviceName(const Aws::String &value)
Definition: Device.h:68
Aws::SageMaker::Model::Device::SetDescription
void SetDescription(const char *value)
Definition: Device.h:104
Aws::SageMaker::Model::Device::SetDescription
void SetDescription(const Aws::String &value)
Definition: Device.h:94
Aws::SageMaker::Model::Device::WithDescription
Device & WithDescription(const char *value)
Definition: Device.h:119
Aws::SageMaker::Model::Device::SetDeviceName
void SetDeviceName(const char *value)
Definition: Device.h:63
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Device::Device
Device(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Device::operator=
Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Device::WithIotThingName
Device & WithIotThingName(Aws::String &&value)
Definition: Device.h:155
Aws::SageMaker::Model::Device::DeviceNameHasBeenSet
bool DeviceNameHasBeenSet() const
Definition: Device.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Device::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Device::WithDeviceName
Device & WithDeviceName(Aws::String &&value)
Definition: Device.h:73
Aws::SageMaker::Model::Device::SetIotThingName
void SetIotThingName(const char *value)
Definition: Device.h:145
Aws::SageMaker::Model::Device::WithDeviceName
Device & WithDeviceName(const char *value)
Definition: Device.h:78
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Device::WithIotThingName
Device & WithIotThingName(const Aws::String &value)
Definition: Device.h:150
Aws::SageMaker::Model::Device::SetDescription
void SetDescription(Aws::String &&value)
Definition: Device.h:99
Aws::SageMaker::Model::Device::GetIotThingName
const Aws::String & GetIotThingName() const
Definition: Device.h:125
Aws::SageMaker::Model::Device::SetIotThingName
void SetIotThingName(Aws::String &&value)
Definition: Device.h:140
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Device::WithIotThingName
Device & WithIotThingName(const char *value)
Definition: Device.h:160
Aws::SageMaker::Model::Device::SetIotThingName
void SetIotThingName(const Aws::String &value)
Definition: Device.h:135
Aws::SageMaker::Model::Device::SetDeviceName
void SetDeviceName(Aws::String &&value)
Definition: Device.h:58
Aws::SageMaker::Model::Device::GetDescription
const Aws::String & GetDescription() const
Definition: Device.h:84
Aws::SageMaker::Model::Device::WithDescription
Device & WithDescription(const Aws::String &value)
Definition: Device.h:109
Aws::SageMaker::Model::Device::WithDescription
Device & WithDescription(Aws::String &&value)
Definition: Device.h:114