AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Device.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
22{
23namespace Model
24{
25
31 class Device
32 {
33 public:
34 AWS_SAGEMAKER_API Device() = default;
35 AWS_SAGEMAKER_API Device(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Device& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
45 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
46 template<typename DeviceNameT = Aws::String>
47 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
48 template<typename DeviceNameT = Aws::String>
49 Device& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 Device& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetIotThingName() const { return m_iotThingName; }
69 inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; }
70 template<typename IotThingNameT = Aws::String>
71 void SetIotThingName(IotThingNameT&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::forward<IotThingNameT>(value); }
72 template<typename IotThingNameT = Aws::String>
73 Device& WithIotThingName(IotThingNameT&& value) { SetIotThingName(std::forward<IotThingNameT>(value)); return *this;}
75 private:
76
77 Aws::String m_deviceName;
78 bool m_deviceNameHasBeenSet = false;
79
80 Aws::String m_description;
81 bool m_descriptionHasBeenSet = false;
82
83 Aws::String m_iotThingName;
84 bool m_iotThingNameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
AWS_SAGEMAKER_API Device()=default
const Aws::String & GetDeviceName() const
Definition Device.h:44
void SetIotThingName(IotThingNameT &&value)
Definition Device.h:71
void SetDeviceName(DeviceNameT &&value)
Definition Device.h:47
Device & WithDeviceName(DeviceNameT &&value)
Definition Device.h:49
void SetDescription(DescriptionT &&value)
Definition Device.h:59
bool DescriptionHasBeenSet() const
Definition Device.h:57
AWS_SAGEMAKER_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeviceNameHasBeenSet() const
Definition Device.h:45
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Device & WithIotThingName(IotThingNameT &&value)
Definition Device.h:73
bool IotThingNameHasBeenSet() const
Definition Device.h:69
AWS_SAGEMAKER_API Device(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIotThingName() const
Definition Device.h:68
const Aws::String & GetDescription() const
Definition Device.h:56
Device & WithDescription(DescriptionT &&value)
Definition Device.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue