AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceIdentifier.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/privatenetworks/model/DeviceIdentifierStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PrivateNetworks
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PRIVATENETWORKS_API DeviceIdentifier();
38 AWS_PRIVATENETWORKS_API DeviceIdentifier(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PRIVATENETWORKS_API DeviceIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline DeviceIdentifier& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline DeviceIdentifier& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDeviceIdentifierArn() const{ return m_deviceIdentifierArn; }
60 inline bool DeviceIdentifierArnHasBeenSet() const { return m_deviceIdentifierArnHasBeenSet; }
61 inline void SetDeviceIdentifierArn(const Aws::String& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = value; }
62 inline void SetDeviceIdentifierArn(Aws::String&& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = std::move(value); }
63 inline void SetDeviceIdentifierArn(const char* value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn.assign(value); }
64 inline DeviceIdentifier& WithDeviceIdentifierArn(const Aws::String& value) { SetDeviceIdentifierArn(value); return *this;}
65 inline DeviceIdentifier& WithDeviceIdentifierArn(Aws::String&& value) { SetDeviceIdentifierArn(std::move(value)); return *this;}
66 inline DeviceIdentifier& WithDeviceIdentifierArn(const char* value) { SetDeviceIdentifierArn(value); return *this;}
68
70
73 inline const Aws::String& GetIccid() const{ return m_iccid; }
74 inline bool IccidHasBeenSet() const { return m_iccidHasBeenSet; }
75 inline void SetIccid(const Aws::String& value) { m_iccidHasBeenSet = true; m_iccid = value; }
76 inline void SetIccid(Aws::String&& value) { m_iccidHasBeenSet = true; m_iccid = std::move(value); }
77 inline void SetIccid(const char* value) { m_iccidHasBeenSet = true; m_iccid.assign(value); }
78 inline DeviceIdentifier& WithIccid(const Aws::String& value) { SetIccid(value); return *this;}
79 inline DeviceIdentifier& WithIccid(Aws::String&& value) { SetIccid(std::move(value)); return *this;}
80 inline DeviceIdentifier& WithIccid(const char* value) { SetIccid(value); return *this;}
82
84
87 inline const Aws::String& GetImsi() const{ return m_imsi; }
88 inline bool ImsiHasBeenSet() const { return m_imsiHasBeenSet; }
89 inline void SetImsi(const Aws::String& value) { m_imsiHasBeenSet = true; m_imsi = value; }
90 inline void SetImsi(Aws::String&& value) { m_imsiHasBeenSet = true; m_imsi = std::move(value); }
91 inline void SetImsi(const char* value) { m_imsiHasBeenSet = true; m_imsi.assign(value); }
92 inline DeviceIdentifier& WithImsi(const Aws::String& value) { SetImsi(value); return *this;}
93 inline DeviceIdentifier& WithImsi(Aws::String&& value) { SetImsi(std::move(value)); return *this;}
94 inline DeviceIdentifier& WithImsi(const char* value) { SetImsi(value); return *this;}
96
98
102 inline const Aws::String& GetNetworkArn() const{ return m_networkArn; }
103 inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; }
104 inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; }
105 inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); }
106 inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); }
107 inline DeviceIdentifier& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;}
108 inline DeviceIdentifier& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;}
109 inline DeviceIdentifier& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;}
111
113
117 inline const Aws::String& GetOrderArn() const{ return m_orderArn; }
118 inline bool OrderArnHasBeenSet() const { return m_orderArnHasBeenSet; }
119 inline void SetOrderArn(const Aws::String& value) { m_orderArnHasBeenSet = true; m_orderArn = value; }
120 inline void SetOrderArn(Aws::String&& value) { m_orderArnHasBeenSet = true; m_orderArn = std::move(value); }
121 inline void SetOrderArn(const char* value) { m_orderArnHasBeenSet = true; m_orderArn.assign(value); }
122 inline DeviceIdentifier& WithOrderArn(const Aws::String& value) { SetOrderArn(value); return *this;}
123 inline DeviceIdentifier& WithOrderArn(Aws::String&& value) { SetOrderArn(std::move(value)); return *this;}
124 inline DeviceIdentifier& WithOrderArn(const char* value) { SetOrderArn(value); return *this;}
126
128
131 inline const DeviceIdentifierStatus& GetStatus() const{ return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(const DeviceIdentifierStatus& value) { m_statusHasBeenSet = true; m_status = value; }
134 inline void SetStatus(DeviceIdentifierStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
135 inline DeviceIdentifier& WithStatus(const DeviceIdentifierStatus& value) { SetStatus(value); return *this;}
136 inline DeviceIdentifier& WithStatus(DeviceIdentifierStatus&& value) { SetStatus(std::move(value)); return *this;}
138
140
144 inline const Aws::String& GetTrafficGroupArn() const{ return m_trafficGroupArn; }
145 inline bool TrafficGroupArnHasBeenSet() const { return m_trafficGroupArnHasBeenSet; }
146 inline void SetTrafficGroupArn(const Aws::String& value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn = value; }
147 inline void SetTrafficGroupArn(Aws::String&& value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn = std::move(value); }
148 inline void SetTrafficGroupArn(const char* value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn.assign(value); }
149 inline DeviceIdentifier& WithTrafficGroupArn(const Aws::String& value) { SetTrafficGroupArn(value); return *this;}
150 inline DeviceIdentifier& WithTrafficGroupArn(Aws::String&& value) { SetTrafficGroupArn(std::move(value)); return *this;}
151 inline DeviceIdentifier& WithTrafficGroupArn(const char* value) { SetTrafficGroupArn(value); return *this;}
153
155
158 inline const Aws::String& GetVendor() const{ return m_vendor; }
159 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
160 inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; }
161 inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); }
162 inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); }
163 inline DeviceIdentifier& WithVendor(const Aws::String& value) { SetVendor(value); return *this;}
164 inline DeviceIdentifier& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;}
165 inline DeviceIdentifier& WithVendor(const char* value) { SetVendor(value); return *this;}
167 private:
168
169 Aws::Utils::DateTime m_createdAt;
170 bool m_createdAtHasBeenSet = false;
171
172 Aws::String m_deviceIdentifierArn;
173 bool m_deviceIdentifierArnHasBeenSet = false;
174
175 Aws::String m_iccid;
176 bool m_iccidHasBeenSet = false;
177
178 Aws::String m_imsi;
179 bool m_imsiHasBeenSet = false;
180
181 Aws::String m_networkArn;
182 bool m_networkArnHasBeenSet = false;
183
184 Aws::String m_orderArn;
185 bool m_orderArnHasBeenSet = false;
186
187 DeviceIdentifierStatus m_status;
188 bool m_statusHasBeenSet = false;
189
190 Aws::String m_trafficGroupArn;
191 bool m_trafficGroupArnHasBeenSet = false;
192
193 Aws::String m_vendor;
194 bool m_vendorHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace PrivateNetworks
199} // namespace Aws
DeviceIdentifier & WithVendor(const char *value)
DeviceIdentifier & WithIccid(const Aws::String &value)
DeviceIdentifier & WithImsi(const Aws::String &value)
DeviceIdentifier & WithNetworkArn(Aws::String &&value)
DeviceIdentifier & WithNetworkArn(const char *value)
DeviceIdentifier & WithIccid(Aws::String &&value)
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(DeviceIdentifierStatus &&value)
AWS_PRIVATENETWORKS_API DeviceIdentifier()
DeviceIdentifier & WithTrafficGroupArn(const char *value)
void SetTrafficGroupArn(const Aws::String &value)
DeviceIdentifier & WithCreatedAt(Aws::Utils::DateTime &&value)
DeviceIdentifier & WithOrderArn(const Aws::String &value)
DeviceIdentifier & WithDeviceIdentifierArn(Aws::String &&value)
DeviceIdentifier & WithIccid(const char *value)
void SetDeviceIdentifierArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DeviceIdentifier & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_PRIVATENETWORKS_API DeviceIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceIdentifier & WithVendor(Aws::String &&value)
DeviceIdentifier & WithDeviceIdentifierArn(const Aws::String &value)
DeviceIdentifier & WithTrafficGroupArn(Aws::String &&value)
const DeviceIdentifierStatus & GetStatus() const
DeviceIdentifier & WithOrderArn(Aws::String &&value)
AWS_PRIVATENETWORKS_API DeviceIdentifier(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const DeviceIdentifierStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDeviceIdentifierArn() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
DeviceIdentifier & WithNetworkArn(const Aws::String &value)
DeviceIdentifier & WithImsi(const char *value)
DeviceIdentifier & WithVendor(const Aws::String &value)
DeviceIdentifier & WithImsi(Aws::String &&value)
DeviceIdentifier & WithStatus(DeviceIdentifierStatus &&value)
DeviceIdentifier & WithStatus(const DeviceIdentifierStatus &value)
DeviceIdentifier & WithTrafficGroupArn(const Aws::String &value)
void SetNetworkArn(const Aws::String &value)
DeviceIdentifier & WithOrderArn(const char *value)
DeviceIdentifier & WithDeviceIdentifierArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue