AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
47 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
48 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
49 inline Device& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
50 inline Device& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
51 inline Device& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline Device& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline Device& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline Device& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
73 inline bool IotThingNameHasBeenSet() const { return m_iotThingNameHasBeenSet; }
74 inline void SetIotThingName(const Aws::String& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = value; }
75 inline void SetIotThingName(Aws::String&& value) { m_iotThingNameHasBeenSet = true; m_iotThingName = std::move(value); }
76 inline void SetIotThingName(const char* value) { m_iotThingNameHasBeenSet = true; m_iotThingName.assign(value); }
77 inline Device& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
78 inline Device& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
79 inline Device& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
81 private:
82
83 Aws::String m_deviceName;
84 bool m_deviceNameHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::String m_iotThingName;
90 bool m_iotThingNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
const Aws::String & GetDeviceName() const
Definition Device.h:44
Device & WithDeviceName(Aws::String &&value)
Definition Device.h:50
void SetDescription(Aws::String &&value)
Definition Device.h:61
Device & WithIotThingName(const Aws::String &value)
Definition Device.h:77
bool DescriptionHasBeenSet() const
Definition Device.h:59
AWS_SAGEMAKER_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceName(const char *value)
Definition Device.h:48
bool DeviceNameHasBeenSet() const
Definition Device.h:45
Device & WithIotThingName(Aws::String &&value)
Definition Device.h:78
Device & WithDeviceName(const Aws::String &value)
Definition Device.h:49
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeviceName(const Aws::String &value)
Definition Device.h:46
void SetIotThingName(const char *value)
Definition Device.h:76
void SetIotThingName(Aws::String &&value)
Definition Device.h:75
void SetDescription(const char *value)
Definition Device.h:62
bool IotThingNameHasBeenSet() const
Definition Device.h:73
Device & WithIotThingName(const char *value)
Definition Device.h:79
void SetDeviceName(Aws::String &&value)
Definition Device.h:47
AWS_SAGEMAKER_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithDescription(const Aws::String &value)
Definition Device.h:63
void SetIotThingName(const Aws::String &value)
Definition Device.h:74
const Aws::String & GetIotThingName() const
Definition Device.h:72
Device & WithDeviceName(const char *value)
Definition Device.h:51
Device & WithDescription(const char *value)
Definition Device.h:65
Device & WithDescription(Aws::String &&value)
Definition Device.h:64
void SetDescription(const Aws::String &value)
Definition Device.h:60
const Aws::String & GetDescription() const
Definition Device.h:58
AWS_SAGEMAKER_API Device()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue