AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DirectoryDescription.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/DirectorySize.h>
10#include <aws/ds/model/DirectoryEdition.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ds/model/DirectoryStage.h>
13#include <aws/ds/model/ShareStatus.h>
14#include <aws/ds/model/ShareMethod.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/ds/model/DirectoryType.h>
17#include <aws/ds/model/DirectoryVpcSettingsDescription.h>
18#include <aws/ds/model/DirectoryConnectSettingsDescription.h>
19#include <aws/ds/model/RadiusSettings.h>
20#include <aws/ds/model/RadiusStatus.h>
21#include <aws/ds/model/OwnerDirectoryDescription.h>
22#include <aws/ds/model/RegionsInfo.h>
23#include <aws/ds/model/OSVersion.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace DirectoryService
37{
38namespace Model
39{
40
48 {
49 public:
50 AWS_DIRECTORYSERVICE_API DirectoryDescription() = default;
51 AWS_DIRECTORYSERVICE_API DirectoryDescription(Aws::Utils::Json::JsonView jsonValue);
52 AWS_DIRECTORYSERVICE_API DirectoryDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
61 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
62 template<typename DirectoryIdT = Aws::String>
63 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
64 template<typename DirectoryIdT = Aws::String>
65 DirectoryDescription& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 DirectoryDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetShortName() const { return m_shortName; }
85 inline bool ShortNameHasBeenSet() const { return m_shortNameHasBeenSet; }
86 template<typename ShortNameT = Aws::String>
87 void SetShortName(ShortNameT&& value) { m_shortNameHasBeenSet = true; m_shortName = std::forward<ShortNameT>(value); }
88 template<typename ShortNameT = Aws::String>
89 DirectoryDescription& WithShortName(ShortNameT&& value) { SetShortName(std::forward<ShortNameT>(value)); return *this;}
91
93
96 inline DirectorySize GetSize() const { return m_size; }
97 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
98 inline void SetSize(DirectorySize value) { m_sizeHasBeenSet = true; m_size = value; }
99 inline DirectoryDescription& WithSize(DirectorySize value) { SetSize(value); return *this;}
101
103
106 inline DirectoryEdition GetEdition() const { return m_edition; }
107 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
108 inline void SetEdition(DirectoryEdition value) { m_editionHasBeenSet = true; m_edition = value; }
109 inline DirectoryDescription& WithEdition(DirectoryEdition value) { SetEdition(value); return *this;}
111
113
117 inline const Aws::String& GetAlias() const { return m_alias; }
118 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
119 template<typename AliasT = Aws::String>
120 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
121 template<typename AliasT = Aws::String>
122 DirectoryDescription& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
124
126
132 inline const Aws::String& GetAccessUrl() const { return m_accessUrl; }
133 inline bool AccessUrlHasBeenSet() const { return m_accessUrlHasBeenSet; }
134 template<typename AccessUrlT = Aws::String>
135 void SetAccessUrl(AccessUrlT&& value) { m_accessUrlHasBeenSet = true; m_accessUrl = std::forward<AccessUrlT>(value); }
136 template<typename AccessUrlT = Aws::String>
137 DirectoryDescription& WithAccessUrl(AccessUrlT&& value) { SetAccessUrl(std::forward<AccessUrlT>(value)); return *this;}
139
141
144 inline const Aws::String& GetDescription() const { return m_description; }
145 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
146 template<typename DescriptionT = Aws::String>
147 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
148 template<typename DescriptionT = Aws::String>
149 DirectoryDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
151
153
160 inline const Aws::Vector<Aws::String>& GetDnsIpAddrs() const { return m_dnsIpAddrs; }
161 inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; }
162 template<typename DnsIpAddrsT = Aws::Vector<Aws::String>>
163 void SetDnsIpAddrs(DnsIpAddrsT&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = std::forward<DnsIpAddrsT>(value); }
164 template<typename DnsIpAddrsT = Aws::Vector<Aws::String>>
165 DirectoryDescription& WithDnsIpAddrs(DnsIpAddrsT&& value) { SetDnsIpAddrs(std::forward<DnsIpAddrsT>(value)); return *this;}
166 template<typename DnsIpAddrsT = Aws::String>
167 DirectoryDescription& AddDnsIpAddrs(DnsIpAddrsT&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.emplace_back(std::forward<DnsIpAddrsT>(value)); return *this; }
169
171
174 inline DirectoryStage GetStage() const { return m_stage; }
175 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
176 inline void SetStage(DirectoryStage value) { m_stageHasBeenSet = true; m_stage = value; }
177 inline DirectoryDescription& WithStage(DirectoryStage value) { SetStage(value); return *this;}
179
181
184 inline ShareStatus GetShareStatus() const { return m_shareStatus; }
185 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
186 inline void SetShareStatus(ShareStatus value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; }
187 inline DirectoryDescription& WithShareStatus(ShareStatus value) { SetShareStatus(value); return *this;}
189
191
197 inline ShareMethod GetShareMethod() const { return m_shareMethod; }
198 inline bool ShareMethodHasBeenSet() const { return m_shareMethodHasBeenSet; }
199 inline void SetShareMethod(ShareMethod value) { m_shareMethodHasBeenSet = true; m_shareMethod = value; }
200 inline DirectoryDescription& WithShareMethod(ShareMethod value) { SetShareMethod(value); return *this;}
202
204
210 inline const Aws::String& GetShareNotes() const { return m_shareNotes; }
211 inline bool ShareNotesHasBeenSet() const { return m_shareNotesHasBeenSet; }
212 template<typename ShareNotesT = Aws::String>
213 void SetShareNotes(ShareNotesT&& value) { m_shareNotesHasBeenSet = true; m_shareNotes = std::forward<ShareNotesT>(value); }
214 template<typename ShareNotesT = Aws::String>
215 DirectoryDescription& WithShareNotes(ShareNotesT&& value) { SetShareNotes(std::forward<ShareNotesT>(value)); return *this;}
217
219
222 inline const Aws::Utils::DateTime& GetLaunchTime() const { return m_launchTime; }
223 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
224 template<typename LaunchTimeT = Aws::Utils::DateTime>
225 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::forward<LaunchTimeT>(value); }
226 template<typename LaunchTimeT = Aws::Utils::DateTime>
227 DirectoryDescription& WithLaunchTime(LaunchTimeT&& value) { SetLaunchTime(std::forward<LaunchTimeT>(value)); return *this;}
229
231
234 inline const Aws::Utils::DateTime& GetStageLastUpdatedDateTime() const { return m_stageLastUpdatedDateTime; }
235 inline bool StageLastUpdatedDateTimeHasBeenSet() const { return m_stageLastUpdatedDateTimeHasBeenSet; }
236 template<typename StageLastUpdatedDateTimeT = Aws::Utils::DateTime>
237 void SetStageLastUpdatedDateTime(StageLastUpdatedDateTimeT&& value) { m_stageLastUpdatedDateTimeHasBeenSet = true; m_stageLastUpdatedDateTime = std::forward<StageLastUpdatedDateTimeT>(value); }
238 template<typename StageLastUpdatedDateTimeT = Aws::Utils::DateTime>
239 DirectoryDescription& WithStageLastUpdatedDateTime(StageLastUpdatedDateTimeT&& value) { SetStageLastUpdatedDateTime(std::forward<StageLastUpdatedDateTimeT>(value)); return *this;}
241
243
246 inline DirectoryType GetType() const { return m_type; }
247 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
248 inline void SetType(DirectoryType value) { m_typeHasBeenSet = true; m_type = value; }
249 inline DirectoryDescription& WithType(DirectoryType value) { SetType(value); return *this;}
251
253
258 inline const DirectoryVpcSettingsDescription& GetVpcSettings() const { return m_vpcSettings; }
259 inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; }
260 template<typename VpcSettingsT = DirectoryVpcSettingsDescription>
261 void SetVpcSettings(VpcSettingsT&& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = std::forward<VpcSettingsT>(value); }
262 template<typename VpcSettingsT = DirectoryVpcSettingsDescription>
263 DirectoryDescription& WithVpcSettings(VpcSettingsT&& value) { SetVpcSettings(std::forward<VpcSettingsT>(value)); return *this;}
265
267
272 inline const DirectoryConnectSettingsDescription& GetConnectSettings() const { return m_connectSettings; }
273 inline bool ConnectSettingsHasBeenSet() const { return m_connectSettingsHasBeenSet; }
274 template<typename ConnectSettingsT = DirectoryConnectSettingsDescription>
275 void SetConnectSettings(ConnectSettingsT&& value) { m_connectSettingsHasBeenSet = true; m_connectSettings = std::forward<ConnectSettingsT>(value); }
276 template<typename ConnectSettingsT = DirectoryConnectSettingsDescription>
277 DirectoryDescription& WithConnectSettings(ConnectSettingsT&& value) { SetConnectSettings(std::forward<ConnectSettingsT>(value)); return *this;}
279
281
285 inline const RadiusSettings& GetRadiusSettings() const { return m_radiusSettings; }
286 inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; }
287 template<typename RadiusSettingsT = RadiusSettings>
288 void SetRadiusSettings(RadiusSettingsT&& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = std::forward<RadiusSettingsT>(value); }
289 template<typename RadiusSettingsT = RadiusSettings>
290 DirectoryDescription& WithRadiusSettings(RadiusSettingsT&& value) { SetRadiusSettings(std::forward<RadiusSettingsT>(value)); return *this;}
292
294
297 inline RadiusStatus GetRadiusStatus() const { return m_radiusStatus; }
298 inline bool RadiusStatusHasBeenSet() const { return m_radiusStatusHasBeenSet; }
299 inline void SetRadiusStatus(RadiusStatus value) { m_radiusStatusHasBeenSet = true; m_radiusStatus = value; }
302
304
307 inline const Aws::String& GetStageReason() const { return m_stageReason; }
308 inline bool StageReasonHasBeenSet() const { return m_stageReasonHasBeenSet; }
309 template<typename StageReasonT = Aws::String>
310 void SetStageReason(StageReasonT&& value) { m_stageReasonHasBeenSet = true; m_stageReason = std::forward<StageReasonT>(value); }
311 template<typename StageReasonT = Aws::String>
312 DirectoryDescription& WithStageReason(StageReasonT&& value) { SetStageReason(std::forward<StageReasonT>(value)); return *this;}
314
316
320 inline bool GetSsoEnabled() const { return m_ssoEnabled; }
321 inline bool SsoEnabledHasBeenSet() const { return m_ssoEnabledHasBeenSet; }
322 inline void SetSsoEnabled(bool value) { m_ssoEnabledHasBeenSet = true; m_ssoEnabled = value; }
323 inline DirectoryDescription& WithSsoEnabled(bool value) { SetSsoEnabled(value); return *this;}
325
327
331 inline int GetDesiredNumberOfDomainControllers() const { return m_desiredNumberOfDomainControllers; }
332 inline bool DesiredNumberOfDomainControllersHasBeenSet() const { return m_desiredNumberOfDomainControllersHasBeenSet; }
333 inline void SetDesiredNumberOfDomainControllers(int value) { m_desiredNumberOfDomainControllersHasBeenSet = true; m_desiredNumberOfDomainControllers = value; }
336
338
342 inline const OwnerDirectoryDescription& GetOwnerDirectoryDescription() const { return m_ownerDirectoryDescription; }
343 inline bool OwnerDirectoryDescriptionHasBeenSet() const { return m_ownerDirectoryDescriptionHasBeenSet; }
344 template<typename OwnerDirectoryDescriptionT = OwnerDirectoryDescription>
345 void SetOwnerDirectoryDescription(OwnerDirectoryDescriptionT&& value) { m_ownerDirectoryDescriptionHasBeenSet = true; m_ownerDirectoryDescription = std::forward<OwnerDirectoryDescriptionT>(value); }
346 template<typename OwnerDirectoryDescriptionT = OwnerDirectoryDescription>
347 DirectoryDescription& WithOwnerDirectoryDescription(OwnerDirectoryDescriptionT&& value) { SetOwnerDirectoryDescription(std::forward<OwnerDirectoryDescriptionT>(value)); return *this;}
349
351
354 inline const RegionsInfo& GetRegionsInfo() const { return m_regionsInfo; }
355 inline bool RegionsInfoHasBeenSet() const { return m_regionsInfoHasBeenSet; }
356 template<typename RegionsInfoT = RegionsInfo>
357 void SetRegionsInfo(RegionsInfoT&& value) { m_regionsInfoHasBeenSet = true; m_regionsInfo = std::forward<RegionsInfoT>(value); }
358 template<typename RegionsInfoT = RegionsInfo>
359 DirectoryDescription& WithRegionsInfo(RegionsInfoT&& value) { SetRegionsInfo(std::forward<RegionsInfoT>(value)); return *this;}
361
363
366 inline OSVersion GetOsVersion() const { return m_osVersion; }
367 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
368 inline void SetOsVersion(OSVersion value) { m_osVersionHasBeenSet = true; m_osVersion = value; }
369 inline DirectoryDescription& WithOsVersion(OSVersion value) { SetOsVersion(value); return *this;}
371 private:
372
373 Aws::String m_directoryId;
374 bool m_directoryIdHasBeenSet = false;
375
376 Aws::String m_name;
377 bool m_nameHasBeenSet = false;
378
379 Aws::String m_shortName;
380 bool m_shortNameHasBeenSet = false;
381
383 bool m_sizeHasBeenSet = false;
384
386 bool m_editionHasBeenSet = false;
387
388 Aws::String m_alias;
389 bool m_aliasHasBeenSet = false;
390
391 Aws::String m_accessUrl;
392 bool m_accessUrlHasBeenSet = false;
393
394 Aws::String m_description;
395 bool m_descriptionHasBeenSet = false;
396
397 Aws::Vector<Aws::String> m_dnsIpAddrs;
398 bool m_dnsIpAddrsHasBeenSet = false;
399
401 bool m_stageHasBeenSet = false;
402
403 ShareStatus m_shareStatus{ShareStatus::NOT_SET};
404 bool m_shareStatusHasBeenSet = false;
405
406 ShareMethod m_shareMethod{ShareMethod::NOT_SET};
407 bool m_shareMethodHasBeenSet = false;
408
409 Aws::String m_shareNotes;
410 bool m_shareNotesHasBeenSet = false;
411
412 Aws::Utils::DateTime m_launchTime{};
413 bool m_launchTimeHasBeenSet = false;
414
415 Aws::Utils::DateTime m_stageLastUpdatedDateTime{};
416 bool m_stageLastUpdatedDateTimeHasBeenSet = false;
417
419 bool m_typeHasBeenSet = false;
420
421 DirectoryVpcSettingsDescription m_vpcSettings;
422 bool m_vpcSettingsHasBeenSet = false;
423
424 DirectoryConnectSettingsDescription m_connectSettings;
425 bool m_connectSettingsHasBeenSet = false;
426
427 RadiusSettings m_radiusSettings;
428 bool m_radiusSettingsHasBeenSet = false;
429
430 RadiusStatus m_radiusStatus{RadiusStatus::NOT_SET};
431 bool m_radiusStatusHasBeenSet = false;
432
433 Aws::String m_stageReason;
434 bool m_stageReasonHasBeenSet = false;
435
436 bool m_ssoEnabled{false};
437 bool m_ssoEnabledHasBeenSet = false;
438
439 int m_desiredNumberOfDomainControllers{0};
440 bool m_desiredNumberOfDomainControllersHasBeenSet = false;
441
442 OwnerDirectoryDescription m_ownerDirectoryDescription;
443 bool m_ownerDirectoryDescriptionHasBeenSet = false;
444
445 RegionsInfo m_regionsInfo;
446 bool m_regionsInfoHasBeenSet = false;
447
448 OSVersion m_osVersion{OSVersion::NOT_SET};
449 bool m_osVersionHasBeenSet = false;
450 };
451
452} // namespace Model
453} // namespace DirectoryService
454} // namespace Aws
const Aws::Utils::DateTime & GetStageLastUpdatedDateTime() const
const Aws::Vector< Aws::String > & GetDnsIpAddrs() const
DirectoryDescription & WithDnsIpAddrs(DnsIpAddrsT &&value)
AWS_DIRECTORYSERVICE_API DirectoryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectoryDescription & WithStageReason(StageReasonT &&value)
void SetStageLastUpdatedDateTime(StageLastUpdatedDateTimeT &&value)
AWS_DIRECTORYSERVICE_API DirectoryDescription()=default
DirectoryDescription & WithDirectoryId(DirectoryIdT &&value)
DirectoryDescription & WithStage(DirectoryStage value)
DirectoryDescription & WithOwnerDirectoryDescription(OwnerDirectoryDescriptionT &&value)
DirectoryDescription & WithEdition(DirectoryEdition value)
DirectoryDescription & AddDnsIpAddrs(DnsIpAddrsT &&value)
DirectoryDescription & WithConnectSettings(ConnectSettingsT &&value)
DirectoryDescription & WithShortName(ShortNameT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DirectoryDescription & WithShareStatus(ShareStatus value)
DirectoryDescription & WithShareMethod(ShareMethod value)
DirectoryDescription & WithLaunchTime(LaunchTimeT &&value)
DirectoryDescription & WithDescription(DescriptionT &&value)
DirectoryDescription & WithVpcSettings(VpcSettingsT &&value)
const DirectoryConnectSettingsDescription & GetConnectSettings() const
DirectoryDescription & WithAccessUrl(AccessUrlT &&value)
DirectoryDescription & WithShareNotes(ShareNotesT &&value)
DirectoryDescription & WithStageLastUpdatedDateTime(StageLastUpdatedDateTimeT &&value)
const OwnerDirectoryDescription & GetOwnerDirectoryDescription() const
DirectoryDescription & WithOsVersion(OSVersion value)
DirectoryDescription & WithAlias(AliasT &&value)
DirectoryDescription & WithRadiusStatus(RadiusStatus value)
DirectoryDescription & WithRadiusSettings(RadiusSettingsT &&value)
DirectoryDescription & WithType(DirectoryType value)
DirectoryDescription & WithDesiredNumberOfDomainControllers(int value)
const DirectoryVpcSettingsDescription & GetVpcSettings() const
void SetOwnerDirectoryDescription(OwnerDirectoryDescriptionT &&value)
DirectoryDescription & WithRegionsInfo(RegionsInfoT &&value)
const Aws::Utils::DateTime & GetLaunchTime() const
DirectoryDescription & WithName(NameT &&value)
DirectoryDescription & WithSize(DirectorySize value)
AWS_DIRECTORYSERVICE_API DirectoryDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue