AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceSummary.h
1
6#pragma once
7#include <aws/worklink/WorkLink_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/worklink/model/DeviceStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkLink
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKLINK_API DeviceSummary();
36 AWS_WORKLINK_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKLINK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
46 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
47 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
48 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
49 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
50 inline DeviceSummary& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
51 inline DeviceSummary& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
52 inline DeviceSummary& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
54
56
59 inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
60 inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
61 inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
62 inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); }
63 inline DeviceSummary& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
64 inline DeviceSummary& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_deviceId;
69 bool m_deviceIdHasBeenSet = false;
70
71 DeviceStatus m_deviceStatus;
72 bool m_deviceStatusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WorkLink
77} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue