AWS SDK for C++  1.9.108
AWS SDK for C++
SidewalkDevice.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTWireless
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
42 
43  inline const Aws::String& GetAmazonId() const{ return m_amazonId; }
44 
45 
46  inline bool AmazonIdHasBeenSet() const { return m_amazonIdHasBeenSet; }
47 
48 
49  inline void SetAmazonId(const Aws::String& value) { m_amazonIdHasBeenSet = true; m_amazonId = value; }
50 
51 
52  inline void SetAmazonId(Aws::String&& value) { m_amazonIdHasBeenSet = true; m_amazonId = std::move(value); }
53 
54 
55  inline void SetAmazonId(const char* value) { m_amazonIdHasBeenSet = true; m_amazonId.assign(value); }
56 
57 
58  inline SidewalkDevice& WithAmazonId(const Aws::String& value) { SetAmazonId(value); return *this;}
59 
60 
61  inline SidewalkDevice& WithAmazonId(Aws::String&& value) { SetAmazonId(std::move(value)); return *this;}
62 
63 
64  inline SidewalkDevice& WithAmazonId(const char* value) { SetAmazonId(value); return *this;}
65 
66 
70  inline const Aws::String& GetSidewalkId() const{ return m_sidewalkId; }
71 
75  inline bool SidewalkIdHasBeenSet() const { return m_sidewalkIdHasBeenSet; }
76 
80  inline void SetSidewalkId(const Aws::String& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = value; }
81 
85  inline void SetSidewalkId(Aws::String&& value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId = std::move(value); }
86 
90  inline void SetSidewalkId(const char* value) { m_sidewalkIdHasBeenSet = true; m_sidewalkId.assign(value); }
91 
95  inline SidewalkDevice& WithSidewalkId(const Aws::String& value) { SetSidewalkId(value); return *this;}
96 
100  inline SidewalkDevice& WithSidewalkId(Aws::String&& value) { SetSidewalkId(std::move(value)); return *this;}
101 
105  inline SidewalkDevice& WithSidewalkId(const char* value) { SetSidewalkId(value); return *this;}
106 
107 
111  inline const Aws::String& GetSidewalkManufacturingSn() const{ return m_sidewalkManufacturingSn; }
112 
116  inline bool SidewalkManufacturingSnHasBeenSet() const { return m_sidewalkManufacturingSnHasBeenSet; }
117 
121  inline void SetSidewalkManufacturingSn(const Aws::String& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = value; }
122 
126  inline void SetSidewalkManufacturingSn(Aws::String&& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = std::move(value); }
127 
131  inline void SetSidewalkManufacturingSn(const char* value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn.assign(value); }
132 
136  inline SidewalkDevice& WithSidewalkManufacturingSn(const Aws::String& value) { SetSidewalkManufacturingSn(value); return *this;}
137 
141  inline SidewalkDevice& WithSidewalkManufacturingSn(Aws::String&& value) { SetSidewalkManufacturingSn(std::move(value)); return *this;}
142 
146  inline SidewalkDevice& WithSidewalkManufacturingSn(const char* value) { SetSidewalkManufacturingSn(value); return *this;}
147 
148 
152  inline const Aws::Vector<CertificateList>& GetDeviceCertificates() const{ return m_deviceCertificates; }
153 
157  inline bool DeviceCertificatesHasBeenSet() const { return m_deviceCertificatesHasBeenSet; }
158 
162  inline void SetDeviceCertificates(const Aws::Vector<CertificateList>& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = value; }
163 
167  inline void SetDeviceCertificates(Aws::Vector<CertificateList>&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates = std::move(value); }
168 
172  inline SidewalkDevice& WithDeviceCertificates(const Aws::Vector<CertificateList>& value) { SetDeviceCertificates(value); return *this;}
173 
177  inline SidewalkDevice& WithDeviceCertificates(Aws::Vector<CertificateList>&& value) { SetDeviceCertificates(std::move(value)); return *this;}
178 
182  inline SidewalkDevice& AddDeviceCertificates(const CertificateList& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(value); return *this; }
183 
187  inline SidewalkDevice& AddDeviceCertificates(CertificateList&& value) { m_deviceCertificatesHasBeenSet = true; m_deviceCertificates.push_back(std::move(value)); return *this; }
188 
189  private:
190 
191  Aws::String m_amazonId;
192  bool m_amazonIdHasBeenSet;
193 
194  Aws::String m_sidewalkId;
195  bool m_sidewalkIdHasBeenSet;
196 
197  Aws::String m_sidewalkManufacturingSn;
198  bool m_sidewalkManufacturingSnHasBeenSet;
199 
200  Aws::Vector<CertificateList> m_deviceCertificates;
201  bool m_deviceCertificatesHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace IoTWireless
206 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::SidewalkDevice::WithDeviceCertificates
SidewalkDevice & WithDeviceCertificates(Aws::Vector< CertificateList > &&value)
Definition: SidewalkDevice.h:177
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkManufacturingSn
void SetSidewalkManufacturingSn(Aws::String &&value)
Definition: SidewalkDevice.h:126
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkManufacturingSn
void SetSidewalkManufacturingSn(const char *value)
Definition: SidewalkDevice.h:131
Aws::IoTWireless::Model::SidewalkDevice::SidewalkDevice
SidewalkDevice(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::SidewalkDevice::WithAmazonId
SidewalkDevice & WithAmazonId(const char *value)
Definition: SidewalkDevice.h:64
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkId
SidewalkDevice & WithSidewalkId(const char *value)
Definition: SidewalkDevice.h:105
CertificateList.h
Aws::IoTWireless::Model::SidewalkDevice::SetAmazonId
void SetAmazonId(const Aws::String &value)
Definition: SidewalkDevice.h:49
Aws::IoTWireless::Model::SidewalkDevice
Definition: SidewalkDevice.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkManufacturingSn
SidewalkDevice & WithSidewalkManufacturingSn(Aws::String &&value)
Definition: SidewalkDevice.h:141
Aws::IoTWireless::Model::SidewalkDevice::GetDeviceCertificates
const Aws::Vector< CertificateList > & GetDeviceCertificates() const
Definition: SidewalkDevice.h:152
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::SidewalkDevice::WithAmazonId
SidewalkDevice & WithAmazonId(Aws::String &&value)
Definition: SidewalkDevice.h:61
AWSVector.h
Aws::IoTWireless::Model::SidewalkDevice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::SidewalkDevice::WithDeviceCertificates
SidewalkDevice & WithDeviceCertificates(const Aws::Vector< CertificateList > &value)
Definition: SidewalkDevice.h:172
Aws::IoTWireless::Model::SidewalkDevice::SidewalkManufacturingSnHasBeenSet
bool SidewalkManufacturingSnHasBeenSet() const
Definition: SidewalkDevice.h:116
Aws::IoTWireless::Model::SidewalkDevice::AmazonIdHasBeenSet
bool AmazonIdHasBeenSet() const
Definition: SidewalkDevice.h:46
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkManufacturingSn
SidewalkDevice & WithSidewalkManufacturingSn(const Aws::String &value)
Definition: SidewalkDevice.h:136
Aws::IoTWireless::Model::SidewalkDevice::SetDeviceCertificates
void SetDeviceCertificates(Aws::Vector< CertificateList > &&value)
Definition: SidewalkDevice.h:167
Aws::IoTWireless::Model::SidewalkDevice::WithAmazonId
SidewalkDevice & WithAmazonId(const Aws::String &value)
Definition: SidewalkDevice.h:58
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::SidewalkDevice::SetAmazonId
void SetAmazonId(const char *value)
Definition: SidewalkDevice.h:55
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkId
SidewalkDevice & WithSidewalkId(const Aws::String &value)
Definition: SidewalkDevice.h:95
Aws::IoTWireless::Model::SidewalkDevice::AddDeviceCertificates
SidewalkDevice & AddDeviceCertificates(CertificateList &&value)
Definition: SidewalkDevice.h:187
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkId
SidewalkDevice & WithSidewalkId(Aws::String &&value)
Definition: SidewalkDevice.h:100
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkManufacturingSn
void SetSidewalkManufacturingSn(const Aws::String &value)
Definition: SidewalkDevice.h:121
Aws::IoTWireless::Model::SidewalkDevice::AddDeviceCertificates
SidewalkDevice & AddDeviceCertificates(const CertificateList &value)
Definition: SidewalkDevice.h:182
Aws::IoTWireless::Model::SidewalkDevice::SetDeviceCertificates
void SetDeviceCertificates(const Aws::Vector< CertificateList > &value)
Definition: SidewalkDevice.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkId
void SetSidewalkId(const char *value)
Definition: SidewalkDevice.h:90
Aws::IoTWireless::Model::CertificateList
Definition: CertificateList.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::SidewalkDevice::GetSidewalkId
const Aws::String & GetSidewalkId() const
Definition: SidewalkDevice.h:70
Aws::IoTWireless::Model::SidewalkDevice::GetAmazonId
const Aws::String & GetAmazonId() const
Definition: SidewalkDevice.h:43
Aws::IoTWireless::Model::SidewalkDevice::operator=
SidewalkDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::SidewalkDevice::SetAmazonId
void SetAmazonId(Aws::String &&value)
Definition: SidewalkDevice.h:52
Aws::IoTWireless::Model::SidewalkDevice::WithSidewalkManufacturingSn
SidewalkDevice & WithSidewalkManufacturingSn(const char *value)
Definition: SidewalkDevice.h:146
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkId
void SetSidewalkId(const Aws::String &value)
Definition: SidewalkDevice.h:80
Aws::IoTWireless::Model::SidewalkDevice::SidewalkIdHasBeenSet
bool SidewalkIdHasBeenSet() const
Definition: SidewalkDevice.h:75
Aws::IoTWireless::Model::SidewalkDevice::SetSidewalkId
void SetSidewalkId(Aws::String &&value)
Definition: SidewalkDevice.h:85
Aws::IoTWireless::Model::SidewalkDevice::SidewalkDevice
SidewalkDevice()
Aws::IoTWireless::Model::SidewalkDevice::DeviceCertificatesHasBeenSet
bool DeviceCertificatesHasBeenSet() const
Definition: SidewalkDevice.h:157
Aws::IoTWireless::Model::SidewalkDevice::GetSidewalkManufacturingSn
const Aws::String & GetSidewalkManufacturingSn() const
Definition: SidewalkDevice.h:111