AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SidewalkDevice.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 SidewalkDevice();
38 AWS_IOTWIRELESS_API SidewalkDevice(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API SidewalkDevice& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetAmazonId() const{ return m_amazonId; }
46 inline bool AmazonIdHasBeenSet() const { return m_amazonIdHasBeenSet; }
47 inline void SetAmazonId(const Aws::String& value) { m_amazonIdHasBeenSet = true; m_amazonId = value; }
48 inline void SetAmazonId(Aws::String&& value) { m_amazonIdHasBeenSet = true; m_amazonId = std::move(value); }
49 inline void SetAmazonId(const char* value) { m_amazonIdHasBeenSet = true; m_amazonId.assign(value); }
50 inline SidewalkDevice& WithAmazonId(const Aws::String& value) { SetAmazonId(value); return *this;}
51 inline SidewalkDevice& WithAmazonId(Aws::String&& value) { SetAmazonId(std::move(value)); return *this;}
52 inline SidewalkDevice& WithAmazonId(const char* value) { SetAmazonId(value); return *this;}
54
56
59 inline const Aws::String& GetSidewalkId() const{ return m_sidewalkId; }
60 inline bool SidewalkIdHasBeenSet() const { return m_sidewalkIdHasBeenSet; }
61 inline void SetSidewalkId(const Aws::String& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = value; }
62 inline void SetSidewalkId(Aws::String&& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = std::move(value); }
63 inline void SetSidewalkId(const char* value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId.assign(value); }
64 inline SidewalkDevice& WithSidewalkId(const Aws::String& value) { SetSidewalkId(value); return *this;}
65 inline SidewalkDevice& WithSidewalkId(Aws::String&& value) { SetSidewalkId(std::move(value)); return *this;}
66 inline SidewalkDevice& WithSidewalkId(const char* value) { SetSidewalkId(value); return *this;}
68
70
73 inline const Aws::String& GetSidewalkManufacturingSn() const{ return m_sidewalkManufacturingSn; }
74 inline bool SidewalkManufacturingSnHasBeenSet() const { return m_sidewalkManufacturingSnHasBeenSet; }
75 inline void SetSidewalkManufacturingSn(const Aws::String& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = value; }
76 inline void SetSidewalkManufacturingSn(Aws::String&& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = std::move(value); }
77 inline void SetSidewalkManufacturingSn(const char* value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn.assign(value); }
79 inline SidewalkDevice& WithSidewalkManufacturingSn(Aws::String&& value) { SetSidewalkManufacturingSn(std::move(value)); return *this;}
80 inline SidewalkDevice& WithSidewalkManufacturingSn(const char* value) { SetSidewalkManufacturingSn(value); return *this;}
82
84
87 inline const Aws::Vector<CertificateList>& GetDeviceCertificates() const{ return m_deviceCertificates; }
88 inline bool DeviceCertificatesHasBeenSet() const { return m_deviceCertificatesHasBeenSet; }
89 inline void SetDeviceCertificates(const Aws::Vector<CertificateList>& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = value; }
90 inline void SetDeviceCertificates(Aws::Vector<CertificateList>&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = std::move(value); }
93 inline SidewalkDevice& AddDeviceCertificates(const CertificateList& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(value); return *this; }
94 inline SidewalkDevice& AddDeviceCertificates(CertificateList&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(std::move(value)); return *this; }
96
98
102 inline const Aws::Vector<CertificateList>& GetPrivateKeys() const{ return m_privateKeys; }
103 inline bool PrivateKeysHasBeenSet() const { return m_privateKeysHasBeenSet; }
104 inline void SetPrivateKeys(const Aws::Vector<CertificateList>& value) { m_privateKeysHasBeenSet = true; m_privateKeys = value; }
105 inline void SetPrivateKeys(Aws::Vector<CertificateList>&& value) { m_privateKeysHasBeenSet = true; m_privateKeys = std::move(value); }
106 inline SidewalkDevice& WithPrivateKeys(const Aws::Vector<CertificateList>& value) { SetPrivateKeys(value); return *this;}
107 inline SidewalkDevice& WithPrivateKeys(Aws::Vector<CertificateList>&& value) { SetPrivateKeys(std::move(value)); return *this;}
108 inline SidewalkDevice& AddPrivateKeys(const CertificateList& value) { m_privateKeysHasBeenSet = true; m_privateKeys.push_back(value); return *this; }
109 inline SidewalkDevice& AddPrivateKeys(CertificateList&& value) { m_privateKeysHasBeenSet = true; m_privateKeys.push_back(std::move(value)); return *this; }
111
113
116 inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
117 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
118 inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
119 inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
120 inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
121 inline SidewalkDevice& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;}
122 inline SidewalkDevice& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
123 inline SidewalkDevice& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
125
127
130 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
131 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
132 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
133 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
134 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
135 inline SidewalkDevice& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
136 inline SidewalkDevice& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
137 inline SidewalkDevice& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
139
141
144 inline const WirelessDeviceSidewalkStatus& GetStatus() const{ return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(const WirelessDeviceSidewalkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
147 inline void SetStatus(WirelessDeviceSidewalkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
148 inline SidewalkDevice& WithStatus(const WirelessDeviceSidewalkStatus& value) { SetStatus(value); return *this;}
149 inline SidewalkDevice& WithStatus(WirelessDeviceSidewalkStatus&& value) { SetStatus(std::move(value)); return *this;}
151 private:
152
153 Aws::String m_amazonId;
154 bool m_amazonIdHasBeenSet = false;
155
156 Aws::String m_sidewalkId;
157 bool m_sidewalkIdHasBeenSet = false;
158
159 Aws::String m_sidewalkManufacturingSn;
160 bool m_sidewalkManufacturingSnHasBeenSet = false;
161
162 Aws::Vector<CertificateList> m_deviceCertificates;
163 bool m_deviceCertificatesHasBeenSet = false;
164
165 Aws::Vector<CertificateList> m_privateKeys;
166 bool m_privateKeysHasBeenSet = false;
167
168 Aws::String m_deviceProfileId;
169 bool m_deviceProfileIdHasBeenSet = false;
170
171 Aws::String m_certificateId;
172 bool m_certificateIdHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace IoTWireless
180} // namespace Aws
void SetPrivateKeys(Aws::Vector< CertificateList > &&value)
SidewalkDevice & WithAmazonId(Aws::String &&value)
SidewalkDevice & WithSidewalkId(const char *value)
SidewalkDevice & AddDeviceCertificates(CertificateList &&value)
AWS_IOTWIRELESS_API SidewalkDevice(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateId() const
void SetSidewalkManufacturingSn(const Aws::String &value)
SidewalkDevice & WithDeviceProfileId(Aws::String &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAmazonId(const Aws::String &value)
SidewalkDevice & WithDeviceProfileId(const Aws::String &value)
void SetDeviceProfileId(const Aws::String &value)
AWS_IOTWIRELESS_API SidewalkDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceProfileId(const char *value)
SidewalkDevice & WithCertificateId(const char *value)
void SetDeviceProfileId(Aws::String &&value)
SidewalkDevice & AddPrivateKeys(CertificateList &&value)
SidewalkDevice & WithSidewalkManufacturingSn(const Aws::String &value)
SidewalkDevice & AddDeviceCertificates(const CertificateList &value)
SidewalkDevice & WithSidewalkId(const Aws::String &value)
SidewalkDevice & WithAmazonId(const Aws::String &value)
SidewalkDevice & AddPrivateKeys(const CertificateList &value)
void SetDeviceCertificates(const Aws::Vector< CertificateList > &value)
void SetSidewalkManufacturingSn(Aws::String &&value)
SidewalkDevice & WithDeviceProfileId(const char *value)
SidewalkDevice & WithDeviceCertificates(const Aws::Vector< CertificateList > &value)
void SetPrivateKeys(const Aws::Vector< CertificateList > &value)
const Aws::String & GetSidewalkId() const
void SetStatus(WirelessDeviceSidewalkStatus &&value)
const Aws::String & GetDeviceProfileId() const
void SetDeviceCertificates(Aws::Vector< CertificateList > &&value)
void SetSidewalkManufacturingSn(const char *value)
SidewalkDevice & WithCertificateId(const Aws::String &value)
SidewalkDevice & WithSidewalkManufacturingSn(Aws::String &&value)
SidewalkDevice & WithCertificateId(Aws::String &&value)
SidewalkDevice & WithStatus(WirelessDeviceSidewalkStatus &&value)
SidewalkDevice & WithSidewalkId(Aws::String &&value)
SidewalkDevice & WithAmazonId(const char *value)
SidewalkDevice & WithPrivateKeys(const Aws::Vector< CertificateList > &value)
const Aws::Vector< CertificateList > & GetDeviceCertificates() const
void SetAmazonId(Aws::String &&value)
const Aws::Vector< CertificateList > & GetPrivateKeys() const
const Aws::String & GetAmazonId() const
SidewalkDevice & WithSidewalkManufacturingSn(const char *value)
SidewalkDevice & WithPrivateKeys(Aws::Vector< CertificateList > &&value)
void SetSidewalkId(Aws::String &&value)
void SetStatus(const WirelessDeviceSidewalkStatus &value)
const WirelessDeviceSidewalkStatus & GetStatus() const
SidewalkDevice & WithDeviceCertificates(Aws::Vector< CertificateList > &&value)
SidewalkDevice & WithStatus(const WirelessDeviceSidewalkStatus &value)
void SetCertificateId(const Aws::String &value)
void SetCertificateId(Aws::String &&value)
void SetSidewalkId(const Aws::String &value)
const Aws::String & GetSidewalkManufacturingSn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue