AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkSite.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/privatenetworks/model/SitePlan.h>
11#include <aws/privatenetworks/model/NetworkSiteStatus.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 PrivateNetworks
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_PRIVATENETWORKS_API NetworkSite();
38 AWS_PRIVATENETWORKS_API NetworkSite(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PRIVATENETWORKS_API NetworkSite& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
48 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
49 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
50 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
51 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
52 inline NetworkSite& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
53 inline NetworkSite& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
54 inline NetworkSite& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
56
58
61 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
62 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
63 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
64 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
65 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
66 inline NetworkSite& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
67 inline NetworkSite& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
68 inline NetworkSite& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
79 inline NetworkSite& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline NetworkSite& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
87 inline const SitePlan& GetCurrentPlan() const{ return m_currentPlan; }
88 inline bool CurrentPlanHasBeenSet() const { return m_currentPlanHasBeenSet; }
89 inline void SetCurrentPlan(const SitePlan& value) { m_currentPlanHasBeenSet = true; m_currentPlan = value; }
90 inline void SetCurrentPlan(SitePlan&& value) { m_currentPlanHasBeenSet = true; m_currentPlan = std::move(value); }
91 inline NetworkSite& WithCurrentPlan(const SitePlan& value) { SetCurrentPlan(value); return *this;}
92 inline NetworkSite& WithCurrentPlan(SitePlan&& value) { SetCurrentPlan(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline NetworkSite& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline NetworkSite& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline NetworkSite& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
114 inline const Aws::String& GetNetworkArn() const{ return m_networkArn; }
115 inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; }
116 inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; }
117 inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); }
118 inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); }
119 inline NetworkSite& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;}
120 inline NetworkSite& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;}
121 inline NetworkSite& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;}
123
125
128 inline const Aws::String& GetNetworkSiteArn() const{ return m_networkSiteArn; }
129 inline bool NetworkSiteArnHasBeenSet() const { return m_networkSiteArnHasBeenSet; }
130 inline void SetNetworkSiteArn(const Aws::String& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = value; }
131 inline void SetNetworkSiteArn(Aws::String&& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = std::move(value); }
132 inline void SetNetworkSiteArn(const char* value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn.assign(value); }
133 inline NetworkSite& WithNetworkSiteArn(const Aws::String& value) { SetNetworkSiteArn(value); return *this;}
134 inline NetworkSite& WithNetworkSiteArn(Aws::String&& value) { SetNetworkSiteArn(std::move(value)); return *this;}
135 inline NetworkSite& WithNetworkSiteArn(const char* value) { SetNetworkSiteArn(value); return *this;}
137
139
142 inline const Aws::String& GetNetworkSiteName() const{ return m_networkSiteName; }
143 inline bool NetworkSiteNameHasBeenSet() const { return m_networkSiteNameHasBeenSet; }
144 inline void SetNetworkSiteName(const Aws::String& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = value; }
145 inline void SetNetworkSiteName(Aws::String&& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = std::move(value); }
146 inline void SetNetworkSiteName(const char* value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName.assign(value); }
147 inline NetworkSite& WithNetworkSiteName(const Aws::String& value) { SetNetworkSiteName(value); return *this;}
148 inline NetworkSite& WithNetworkSiteName(Aws::String&& value) { SetNetworkSiteName(std::move(value)); return *this;}
149 inline NetworkSite& WithNetworkSiteName(const char* value) { SetNetworkSiteName(value); return *this;}
151
153
156 inline const SitePlan& GetPendingPlan() const{ return m_pendingPlan; }
157 inline bool PendingPlanHasBeenSet() const { return m_pendingPlanHasBeenSet; }
158 inline void SetPendingPlan(const SitePlan& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = value; }
159 inline void SetPendingPlan(SitePlan&& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = std::move(value); }
160 inline NetworkSite& WithPendingPlan(const SitePlan& value) { SetPendingPlan(value); return *this;}
161 inline NetworkSite& WithPendingPlan(SitePlan&& value) { SetPendingPlan(std::move(value)); return *this;}
163
165
168 inline const NetworkSiteStatus& GetStatus() const{ return m_status; }
169 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
170 inline void SetStatus(const NetworkSiteStatus& value) { m_statusHasBeenSet = true; m_status = value; }
171 inline void SetStatus(NetworkSiteStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
172 inline NetworkSite& WithStatus(const NetworkSiteStatus& value) { SetStatus(value); return *this;}
173 inline NetworkSite& WithStatus(NetworkSiteStatus&& value) { SetStatus(std::move(value)); return *this;}
175
177
180 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
181 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
182 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
183 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
184 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
185 inline NetworkSite& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
186 inline NetworkSite& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
187 inline NetworkSite& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
189 private:
190
191 Aws::String m_availabilityZone;
192 bool m_availabilityZoneHasBeenSet = false;
193
194 Aws::String m_availabilityZoneId;
195 bool m_availabilityZoneIdHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt;
198 bool m_createdAtHasBeenSet = false;
199
200 SitePlan m_currentPlan;
201 bool m_currentPlanHasBeenSet = false;
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
206 Aws::String m_networkArn;
207 bool m_networkArnHasBeenSet = false;
208
209 Aws::String m_networkSiteArn;
210 bool m_networkSiteArnHasBeenSet = false;
211
212 Aws::String m_networkSiteName;
213 bool m_networkSiteNameHasBeenSet = false;
214
215 SitePlan m_pendingPlan;
216 bool m_pendingPlanHasBeenSet = false;
217
218 NetworkSiteStatus m_status;
219 bool m_statusHasBeenSet = false;
220
221 Aws::String m_statusReason;
222 bool m_statusReasonHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace PrivateNetworks
227} // namespace Aws
NetworkSite & WithNetworkSiteName(const Aws::String &value)
void SetNetworkSiteArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition NetworkSite.h:75
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition NetworkSite.h:78
void SetNetworkSiteArn(const char *value)
NetworkSite & WithNetworkArn(const char *value)
NetworkSite & WithAvailabilityZone(const Aws::String &value)
Definition NetworkSite.h:52
void SetNetworkSiteArn(Aws::String &&value)
NetworkSite & WithDescription(const char *value)
NetworkSite & WithStatus(const NetworkSiteStatus &value)
void SetAvailabilityZone(const Aws::String &value)
Definition NetworkSite.h:49
NetworkSite & WithAvailabilityZone(Aws::String &&value)
Definition NetworkSite.h:53
void SetNetworkArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
Definition NetworkSite.h:99
NetworkSite & WithCurrentPlan(const SitePlan &value)
Definition NetworkSite.h:91
NetworkSite & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition NetworkSite.h:79
NetworkSite & WithStatusReason(const Aws::String &value)
NetworkSite & WithPendingPlan(const SitePlan &value)
NetworkSite & WithNetworkSiteArn(const Aws::String &value)
void SetStatusReason(const Aws::String &value)
void SetPendingPlan(const SitePlan &value)
void SetNetworkArn(const char *value)
void SetAvailabilityZone(Aws::String &&value)
Definition NetworkSite.h:50
const Aws::String & GetStatusReason() const
void SetAvailabilityZone(const char *value)
Definition NetworkSite.h:51
const NetworkSiteStatus & GetStatus() const
NetworkSite & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition NetworkSite.h:80
const Aws::String & GetAvailabilityZoneId() const
Definition NetworkSite.h:61
void SetCurrentPlan(SitePlan &&value)
Definition NetworkSite.h:90
void SetStatusReason(const char *value)
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNetworkSiteName() const
NetworkSite & WithAvailabilityZoneId(const char *value)
Definition NetworkSite.h:68
NetworkSite & WithStatus(NetworkSiteStatus &&value)
NetworkSite & WithStatusReason(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition NetworkSite.h:77
void SetStatus(NetworkSiteStatus &&value)
const Aws::String & GetNetworkArn() const
NetworkSite & WithNetworkSiteArn(Aws::String &&value)
NetworkSite & WithDescription(const Aws::String &value)
void SetAvailabilityZoneId(const Aws::String &value)
Definition NetworkSite.h:63
AWS_PRIVATENETWORKS_API NetworkSite & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkSite & WithNetworkSiteArn(const char *value)
NetworkSite & WithNetworkSiteName(const char *value)
AWS_PRIVATENETWORKS_API NetworkSite(Aws::Utils::Json::JsonView jsonValue)
NetworkSite & WithAvailabilityZoneId(Aws::String &&value)
Definition NetworkSite.h:67
NetworkSite & WithPendingPlan(SitePlan &&value)
NetworkSite & WithAvailabilityZoneId(const Aws::String &value)
Definition NetworkSite.h:66
const SitePlan & GetPendingPlan() const
void SetNetworkSiteName(const Aws::String &value)
void SetNetworkArn(const Aws::String &value)
void SetNetworkSiteName(Aws::String &&value)
void SetStatus(const NetworkSiteStatus &value)
NetworkSite & WithAvailabilityZone(const char *value)
Definition NetworkSite.h:54
AWS_PRIVATENETWORKS_API NetworkSite()
NetworkSite & WithNetworkArn(const Aws::String &value)
void SetDescription(const char *value)
const SitePlan & GetCurrentPlan() const
Definition NetworkSite.h:87
NetworkSite & WithNetworkArn(Aws::String &&value)
NetworkSite & WithCurrentPlan(SitePlan &&value)
Definition NetworkSite.h:92
void SetAvailabilityZoneId(Aws::String &&value)
Definition NetworkSite.h:64
void SetDescription(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
Definition NetworkSite.h:47
NetworkSite & WithNetworkSiteName(Aws::String &&value)
void SetAvailabilityZoneId(const char *value)
Definition NetworkSite.h:65
void SetStatusReason(Aws::String &&value)
NetworkSite & WithDescription(Aws::String &&value)
void SetCurrentPlan(const SitePlan &value)
Definition NetworkSite.h:89
void SetNetworkSiteName(const char *value)
NetworkSite & WithStatusReason(const char *value)
const Aws::String & GetNetworkSiteArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue