AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SidewalkListDevice.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/WirelessDeviceSidewalkStatus.h>
11#include <aws/iotwireless/model/CertificateList.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTWIRELESS_API SidewalkListDevice();
38 AWS_IOTWIRELESS_API SidewalkListDevice(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAmazonId() const{ return m_amazonId; }
48 inline bool AmazonIdHasBeenSet() const { return m_amazonIdHasBeenSet; }
49 inline void SetAmazonId(const Aws::String& value) { m_amazonIdHasBeenSet = true; m_amazonId = value; }
50 inline void SetAmazonId(Aws::String&& value) { m_amazonIdHasBeenSet = true; m_amazonId = std::move(value); }
51 inline void SetAmazonId(const char* value) { m_amazonIdHasBeenSet = true; m_amazonId.assign(value); }
52 inline SidewalkListDevice& WithAmazonId(const Aws::String& value) { SetAmazonId(value); return *this;}
53 inline SidewalkListDevice& WithAmazonId(Aws::String&& value) { SetAmazonId(std::move(value)); return *this;}
54 inline SidewalkListDevice& WithAmazonId(const char* value) { SetAmazonId(value); return *this;}
56
58
61 inline const Aws::String& GetSidewalkId() const{ return m_sidewalkId; }
62 inline bool SidewalkIdHasBeenSet() const { return m_sidewalkIdHasBeenSet; }
63 inline void SetSidewalkId(const Aws::String& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = value; }
64 inline void SetSidewalkId(Aws::String&& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = std::move(value); }
65 inline void SetSidewalkId(const char* value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId.assign(value); }
66 inline SidewalkListDevice& WithSidewalkId(const Aws::String& value) { SetSidewalkId(value); return *this;}
67 inline SidewalkListDevice& WithSidewalkId(Aws::String&& value) { SetSidewalkId(std::move(value)); return *this;}
68 inline SidewalkListDevice& WithSidewalkId(const char* value) { SetSidewalkId(value); return *this;}
70
72
75 inline const Aws::String& GetSidewalkManufacturingSn() const{ return m_sidewalkManufacturingSn; }
76 inline bool SidewalkManufacturingSnHasBeenSet() const { return m_sidewalkManufacturingSnHasBeenSet; }
77 inline void SetSidewalkManufacturingSn(const Aws::String& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = value; }
78 inline void SetSidewalkManufacturingSn(Aws::String&& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = std::move(value); }
79 inline void SetSidewalkManufacturingSn(const char* value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn.assign(value); }
81 inline SidewalkListDevice& WithSidewalkManufacturingSn(Aws::String&& value) { SetSidewalkManufacturingSn(std::move(value)); return *this;}
82 inline SidewalkListDevice& WithSidewalkManufacturingSn(const char* value) { SetSidewalkManufacturingSn(value); return *this;}
84
86
89 inline const Aws::Vector<CertificateList>& GetDeviceCertificates() const{ return m_deviceCertificates; }
90 inline bool DeviceCertificatesHasBeenSet() const { return m_deviceCertificatesHasBeenSet; }
91 inline void SetDeviceCertificates(const Aws::Vector<CertificateList>& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = value; }
92 inline void SetDeviceCertificates(Aws::Vector<CertificateList>&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = std::move(value); }
95 inline SidewalkListDevice& AddDeviceCertificates(const CertificateList& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(value); return *this; }
96 inline SidewalkListDevice& AddDeviceCertificates(CertificateList&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
104 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
105 inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
106 inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
107 inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
108 inline SidewalkListDevice& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;}
109 inline SidewalkListDevice& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
110 inline SidewalkListDevice& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
112
114
117 inline const WirelessDeviceSidewalkStatus& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const WirelessDeviceSidewalkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(WirelessDeviceSidewalkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline SidewalkListDevice& WithStatus(const WirelessDeviceSidewalkStatus& value) { SetStatus(value); return *this;}
122 inline SidewalkListDevice& WithStatus(WirelessDeviceSidewalkStatus&& value) { SetStatus(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_amazonId;
127 bool m_amazonIdHasBeenSet = false;
128
129 Aws::String m_sidewalkId;
130 bool m_sidewalkIdHasBeenSet = false;
131
132 Aws::String m_sidewalkManufacturingSn;
133 bool m_sidewalkManufacturingSnHasBeenSet = false;
134
135 Aws::Vector<CertificateList> m_deviceCertificates;
136 bool m_deviceCertificatesHasBeenSet = false;
137
138 Aws::String m_deviceProfileId;
139 bool m_deviceProfileIdHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace IoTWireless
147} // namespace Aws
SidewalkListDevice & WithSidewalkId(const char *value)
void SetSidewalkId(const Aws::String &value)
SidewalkListDevice & WithStatus(const WirelessDeviceSidewalkStatus &value)
SidewalkListDevice & WithAmazonId(const Aws::String &value)
AWS_IOTWIRELESS_API SidewalkListDevice(Aws::Utils::Json::JsonView jsonValue)
void SetSidewalkManufacturingSn(const Aws::String &value)
AWS_IOTWIRELESS_API SidewalkListDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceCertificates(Aws::Vector< CertificateList > &&value)
SidewalkListDevice & WithSidewalkId(const Aws::String &value)
void SetStatus(WirelessDeviceSidewalkStatus &&value)
SidewalkListDevice & WithDeviceCertificates(const Aws::Vector< CertificateList > &value)
const Aws::String & GetSidewalkManufacturingSn() const
void SetStatus(const WirelessDeviceSidewalkStatus &value)
SidewalkListDevice & WithSidewalkManufacturingSn(const Aws::String &value)
SidewalkListDevice & WithAmazonId(Aws::String &&value)
SidewalkListDevice & AddDeviceCertificates(CertificateList &&value)
void SetDeviceCertificates(const Aws::Vector< CertificateList > &value)
SidewalkListDevice & WithAmazonId(const char *value)
SidewalkListDevice & WithDeviceCertificates(Aws::Vector< CertificateList > &&value)
const WirelessDeviceSidewalkStatus & GetStatus() const
SidewalkListDevice & WithDeviceProfileId(Aws::String &&value)
void SetSidewalkManufacturingSn(Aws::String &&value)
SidewalkListDevice & WithSidewalkManufacturingSn(Aws::String &&value)
SidewalkListDevice & WithDeviceProfileId(const char *value)
SidewalkListDevice & WithStatus(WirelessDeviceSidewalkStatus &&value)
SidewalkListDevice & WithSidewalkManufacturingSn(const char *value)
const Aws::Vector< CertificateList > & GetDeviceCertificates() const
void SetDeviceProfileId(const Aws::String &value)
SidewalkListDevice & WithDeviceProfileId(const Aws::String &value)
SidewalkListDevice & AddDeviceCertificates(const CertificateList &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAmazonId(const Aws::String &value)
SidewalkListDevice & WithSidewalkId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue