AWS SDK for C++  1.8.152
AWS SDK for C++
DomainController.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 DirectoryService
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
47 
51  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
52 
56  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
57 
61  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
62 
66  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
67 
71  inline DomainController& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
72 
76  inline DomainController& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
77 
81  inline DomainController& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
82 
83 
87  inline const Aws::String& GetDomainControllerId() const{ return m_domainControllerId; }
88 
92  inline bool DomainControllerIdHasBeenSet() const { return m_domainControllerIdHasBeenSet; }
93 
97  inline void SetDomainControllerId(const Aws::String& value) { m_domainControllerIdHasBeenSet = true; m_domainControllerId = value; }
98 
102  inline void SetDomainControllerId(Aws::String&& value) { m_domainControllerIdHasBeenSet = true; m_domainControllerId = std::move(value); }
103 
107  inline void SetDomainControllerId(const char* value) { m_domainControllerIdHasBeenSet = true; m_domainControllerId.assign(value); }
108 
112  inline DomainController& WithDomainControllerId(const Aws::String& value) { SetDomainControllerId(value); return *this;}
113 
117  inline DomainController& WithDomainControllerId(Aws::String&& value) { SetDomainControllerId(std::move(value)); return *this;}
118 
122  inline DomainController& WithDomainControllerId(const char* value) { SetDomainControllerId(value); return *this;}
123 
124 
128  inline const Aws::String& GetDnsIpAddr() const{ return m_dnsIpAddr; }
129 
133  inline bool DnsIpAddrHasBeenSet() const { return m_dnsIpAddrHasBeenSet; }
134 
138  inline void SetDnsIpAddr(const Aws::String& value) { m_dnsIpAddrHasBeenSet = true; m_dnsIpAddr = value; }
139 
143  inline void SetDnsIpAddr(Aws::String&& value) { m_dnsIpAddrHasBeenSet = true; m_dnsIpAddr = std::move(value); }
144 
148  inline void SetDnsIpAddr(const char* value) { m_dnsIpAddrHasBeenSet = true; m_dnsIpAddr.assign(value); }
149 
153  inline DomainController& WithDnsIpAddr(const Aws::String& value) { SetDnsIpAddr(value); return *this;}
154 
158  inline DomainController& WithDnsIpAddr(Aws::String&& value) { SetDnsIpAddr(std::move(value)); return *this;}
159 
163  inline DomainController& WithDnsIpAddr(const char* value) { SetDnsIpAddr(value); return *this;}
164 
165 
169  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
170 
174  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
175 
179  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
180 
184  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
185 
189  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
190 
194  inline DomainController& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
195 
199  inline DomainController& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
200 
204  inline DomainController& WithVpcId(const char* value) { SetVpcId(value); return *this;}
205 
206 
210  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
211 
215  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
216 
220  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
221 
225  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
226 
230  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
231 
235  inline DomainController& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
236 
240  inline DomainController& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
241 
245  inline DomainController& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
246 
247 
251  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
252 
256  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
257 
261  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
262 
266  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
267 
271  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
272 
276  inline DomainController& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
277 
281  inline DomainController& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
282 
286  inline DomainController& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
287 
288 
292  inline const DomainControllerStatus& GetStatus() const{ return m_status; }
293 
297  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
298 
302  inline void SetStatus(const DomainControllerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
303 
307  inline void SetStatus(DomainControllerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
308 
312  inline DomainController& WithStatus(const DomainControllerStatus& value) { SetStatus(value); return *this;}
313 
317  inline DomainController& WithStatus(DomainControllerStatus&& value) { SetStatus(std::move(value)); return *this;}
318 
319 
323  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
324 
328  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
329 
333  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
334 
338  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
339 
343  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
344 
348  inline DomainController& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
349 
353  inline DomainController& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
354 
358  inline DomainController& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
359 
360 
364  inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; }
365 
369  inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
370 
374  inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; }
375 
379  inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); }
380 
384  inline DomainController& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;}
385 
389  inline DomainController& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;}
390 
391 
395  inline const Aws::Utils::DateTime& GetStatusLastUpdatedDateTime() const{ return m_statusLastUpdatedDateTime; }
396 
400  inline bool StatusLastUpdatedDateTimeHasBeenSet() const { return m_statusLastUpdatedDateTimeHasBeenSet; }
401 
405  inline void SetStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = value; }
406 
410  inline void SetStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = std::move(value); }
411 
415  inline DomainController& WithStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetStatusLastUpdatedDateTime(value); return *this;}
416 
420  inline DomainController& WithStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetStatusLastUpdatedDateTime(std::move(value)); return *this;}
421 
422  private:
423 
424  Aws::String m_directoryId;
425  bool m_directoryIdHasBeenSet;
426 
427  Aws::String m_domainControllerId;
428  bool m_domainControllerIdHasBeenSet;
429 
430  Aws::String m_dnsIpAddr;
431  bool m_dnsIpAddrHasBeenSet;
432 
433  Aws::String m_vpcId;
434  bool m_vpcIdHasBeenSet;
435 
436  Aws::String m_subnetId;
437  bool m_subnetIdHasBeenSet;
438 
439  Aws::String m_availabilityZone;
440  bool m_availabilityZoneHasBeenSet;
441 
442  DomainControllerStatus m_status;
443  bool m_statusHasBeenSet;
444 
445  Aws::String m_statusReason;
446  bool m_statusReasonHasBeenSet;
447 
448  Aws::Utils::DateTime m_launchTime;
449  bool m_launchTimeHasBeenSet;
450 
451  Aws::Utils::DateTime m_statusLastUpdatedDateTime;
452  bool m_statusLastUpdatedDateTimeHasBeenSet;
453  };
454 
455 } // namespace Model
456 } // namespace DirectoryService
457 } // namespace Aws
Aws::DirectoryService::Model::DomainController::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DirectoryService::Model::DomainController::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DomainController.h:179
Aws::DirectoryService::Model::DomainController::GetDnsIpAddr
const Aws::String & GetDnsIpAddr() const
Definition: DomainController.h:128
Aws::DirectoryService::Model::DomainController::WithVpcId
DomainController & WithVpcId(Aws::String &&value)
Definition: DomainController.h:199
Aws::DirectoryService::Model::DomainController::SetVpcId
void SetVpcId(const char *value)
Definition: DomainController.h:189
Aws::DirectoryService::Model::DomainController::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: DomainController.h:338
Aws::DirectoryService::Model::DomainController::SetDomainControllerId
void SetDomainControllerId(const char *value)
Definition: DomainController.h:107
Aws::DirectoryService::Model::DomainController::SetDnsIpAddr
void SetDnsIpAddr(const char *value)
Definition: DomainController.h:148
Aws::DirectoryService::Model::DomainController::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DomainController.h:66
Aws::DirectoryService::Model::DomainController::DomainController
DomainController()
Aws::DirectoryService::Model::DomainController::WithStatusReason
DomainController & WithStatusReason(const char *value)
Definition: DomainController.h:358
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DomainController::SetStatus
void SetStatus(DomainControllerStatus &&value)
Definition: DomainController.h:307
Aws::DirectoryService::Model::DomainController::WithLaunchTime
DomainController & WithLaunchTime(const Aws::Utils::DateTime &value)
Definition: DomainController.h:384
Aws::DirectoryService::Model::DomainController::DomainControllerIdHasBeenSet
bool DomainControllerIdHasBeenSet() const
Definition: DomainController.h:92
DateTime.h
Aws::DirectoryService::Model::DomainController::WithDirectoryId
DomainController & WithDirectoryId(const Aws::String &value)
Definition: DomainController.h:71
Aws::DirectoryService::Model::DomainController::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: DomainController.h:251
Aws::DirectoryService::Model::DomainController
Definition: DomainController.h:35
Aws::DirectoryService::Model::DomainControllerStatus
DomainControllerStatus
Definition: DomainControllerStatus.h:17
Aws::DirectoryService::Model::DomainController::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: DomainController.h:215
Aws::DirectoryService::Model::DomainController::GetLaunchTime
const Aws::Utils::DateTime & GetLaunchTime() const
Definition: DomainController.h:364
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DomainController::WithStatusReason
DomainController & WithStatusReason(const Aws::String &value)
Definition: DomainController.h:348
Aws::DirectoryService::Model::DomainController::WithSubnetId
DomainController & WithSubnetId(const char *value)
Definition: DomainController.h:245
Aws::DirectoryService::Model::DomainController::WithStatusReason
DomainController & WithStatusReason(Aws::String &&value)
Definition: DomainController.h:353
Aws::DirectoryService::Model::DomainController::GetStatusLastUpdatedDateTime
const Aws::Utils::DateTime & GetStatusLastUpdatedDateTime() const
Definition: DomainController.h:395
Aws::DirectoryService::Model::DomainController::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DomainController.h:46
Aws::DirectoryService::Model::DomainController::WithStatus
DomainController & WithStatus(DomainControllerStatus &&value)
Definition: DomainController.h:317
Aws::DirectoryService::Model::DomainController::SetDnsIpAddr
void SetDnsIpAddr(Aws::String &&value)
Definition: DomainController.h:143
Aws::DirectoryService::Model::DomainController::GetVpcId
const Aws::String & GetVpcId() const
Definition: DomainController.h:169
Aws::DirectoryService::Model::DomainController::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DomainController.h:56
Aws::DirectoryService::Model::DomainController::SetDnsIpAddr
void SetDnsIpAddr(const Aws::String &value)
Definition: DomainController.h:138
Aws::DirectoryService::Model::DomainController::WithStatusLastUpdatedDateTime
DomainController & WithStatusLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DomainController.h:420
Aws::DirectoryService::Model::DomainController::WithAvailabilityZone
DomainController & WithAvailabilityZone(const Aws::String &value)
Definition: DomainController.h:276
Aws::DirectoryService::Model::DomainController::SetDomainControllerId
void SetDomainControllerId(const Aws::String &value)
Definition: DomainController.h:97
Aws::DirectoryService::Model::DomainController::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: DomainController.h:266
Aws::DirectoryService::Model::DomainController::SetStatusLastUpdatedDateTime
void SetStatusLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DomainController.h:405
Aws::DirectoryService::Model::DomainController::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DomainController.h:184
Aws::DirectoryService::Model::DomainController::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: DomainController.h:323
Aws::DirectoryService::Model::DomainController::SetDomainControllerId
void SetDomainControllerId(Aws::String &&value)
Definition: DomainController.h:102
Aws::DirectoryService::Model::DomainController::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: DomainController.h:328
Aws::DirectoryService::Model::DomainController::WithAvailabilityZone
DomainController & WithAvailabilityZone(const char *value)
Definition: DomainController.h:286
DomainControllerStatus.h
Aws::DirectoryService::Model::DomainController::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: DomainController.h:271
Aws::DirectoryService::Model::DomainController::GetDomainControllerId
const Aws::String & GetDomainControllerId() const
Definition: DomainController.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::DomainController::WithVpcId
DomainController & WithVpcId(const char *value)
Definition: DomainController.h:204
Aws::DirectoryService::Model::DomainController::WithDnsIpAddr
DomainController & WithDnsIpAddr(const char *value)
Definition: DomainController.h:163
Aws::DirectoryService::Model::DomainController::operator=
DomainController & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DomainController::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: DomainController.h:256
Aws::DirectoryService::Model::DomainController::WithSubnetId
DomainController & WithSubnetId(Aws::String &&value)
Definition: DomainController.h:240
Aws::DirectoryService::Model::DomainController::WithStatus
DomainController & WithStatus(const DomainControllerStatus &value)
Definition: DomainController.h:312
Aws::DirectoryService::Model::DomainController::SetStatusLastUpdatedDateTime
void SetStatusLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DomainController.h:410
Aws::DirectoryService::Model::DomainController::WithDirectoryId
DomainController & WithDirectoryId(const char *value)
Definition: DomainController.h:81
Aws::DirectoryService::Model::DomainController::WithAvailabilityZone
DomainController & WithAvailabilityZone(Aws::String &&value)
Definition: DomainController.h:281
Aws::DirectoryService::Model::DomainController::WithDirectoryId
DomainController & WithDirectoryId(Aws::String &&value)
Definition: DomainController.h:76
Aws::DirectoryService::Model::DomainController::WithDomainControllerId
DomainController & WithDomainControllerId(Aws::String &&value)
Definition: DomainController.h:117
Aws::DirectoryService::Model::DomainController::LaunchTimeHasBeenSet
bool LaunchTimeHasBeenSet() const
Definition: DomainController.h:369
Aws::DirectoryService::Model::DomainController::WithDomainControllerId
DomainController & WithDomainControllerId(const Aws::String &value)
Definition: DomainController.h:112
Aws::DirectoryService::Model::DomainController::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DomainController.h:51
Aws::DirectoryService::Model::DomainController::WithDomainControllerId
DomainController & WithDomainControllerId(const char *value)
Definition: DomainController.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DomainController::WithLaunchTime
DomainController & WithLaunchTime(Aws::Utils::DateTime &&value)
Definition: DomainController.h:389
Aws::DirectoryService::Model::DomainController::WithVpcId
DomainController & WithVpcId(const Aws::String &value)
Definition: DomainController.h:194
Aws::DirectoryService::Model::DomainController::SetSubnetId
void SetSubnetId(const char *value)
Definition: DomainController.h:230
Aws::DirectoryService::Model::DomainController::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: DomainController.h:220
Aws::DirectoryService::Model::DomainController::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: DomainController.h:174
Aws::DirectoryService::Model::DomainController::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: DomainController.h:225
Aws::DirectoryService::Model::DomainController::SetLaunchTime
void SetLaunchTime(Aws::Utils::DateTime &&value)
Definition: DomainController.h:379
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DomainController::WithStatusLastUpdatedDateTime
DomainController & WithStatusLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DomainController.h:415
Aws::DirectoryService::Model::DomainController::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: DomainController.h:261
Aws::DirectoryService::Model::DomainController::DomainController
DomainController(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DomainController::WithDnsIpAddr
DomainController & WithDnsIpAddr(Aws::String &&value)
Definition: DomainController.h:158
Aws::DirectoryService::Model::DomainController::SetStatus
void SetStatus(const DomainControllerStatus &value)
Definition: DomainController.h:302
Aws::DirectoryService::Model::DomainController::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: DomainController.h:210
Aws::DirectoryService::Model::DomainController::DnsIpAddrHasBeenSet
bool DnsIpAddrHasBeenSet() const
Definition: DomainController.h:133
Aws::DirectoryService::Model::DomainController::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DomainController.h:297
Aws::DirectoryService::Model::DomainController::SetStatusReason
void SetStatusReason(const char *value)
Definition: DomainController.h:343
Aws::DirectoryService::Model::DomainController::SetLaunchTime
void SetLaunchTime(const Aws::Utils::DateTime &value)
Definition: DomainController.h:374
Aws::DirectoryService::Model::DomainController::WithDnsIpAddr
DomainController & WithDnsIpAddr(const Aws::String &value)
Definition: DomainController.h:153
Aws::DirectoryService::Model::DomainController::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: DomainController.h:333
Aws::DirectoryService::Model::DomainController::GetStatus
const DomainControllerStatus & GetStatus() const
Definition: DomainController.h:292
Aws::DirectoryService::Model::DomainController::WithSubnetId
DomainController & WithSubnetId(const Aws::String &value)
Definition: DomainController.h:235
Aws::DirectoryService::Model::DomainController::StatusLastUpdatedDateTimeHasBeenSet
bool StatusLastUpdatedDateTimeHasBeenSet() const
Definition: DomainController.h:400
Aws::DirectoryService::Model::DomainController::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DomainController.h:61