AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegionDescription.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/RegionType.h>
10#include <aws/ds/model/DirectoryStage.h>
11#include <aws/ds/model/DirectoryVpcSettings.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DirectoryService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DIRECTORYSERVICE_API RegionDescription() = default;
40 AWS_DIRECTORYSERVICE_API RegionDescription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DIRECTORYSERVICE_API RegionDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
50 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
51 template<typename DirectoryIdT = Aws::String>
52 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
53 template<typename DirectoryIdT = Aws::String>
54 RegionDescription& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetRegionName() const { return m_regionName; }
62 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
63 template<typename RegionNameT = Aws::String>
64 void SetRegionName(RegionNameT&& value) { m_regionNameHasBeenSet = true; m_regionName = std::forward<RegionNameT>(value); }
65 template<typename RegionNameT = Aws::String>
66 RegionDescription& WithRegionName(RegionNameT&& value) { SetRegionName(std::forward<RegionNameT>(value)); return *this;}
68
70
74 inline RegionType GetRegionType() const { return m_regionType; }
75 inline bool RegionTypeHasBeenSet() const { return m_regionTypeHasBeenSet; }
76 inline void SetRegionType(RegionType value) { m_regionTypeHasBeenSet = true; m_regionType = value; }
77 inline RegionDescription& WithRegionType(RegionType value) { SetRegionType(value); return *this;}
79
81
84 inline DirectoryStage GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(DirectoryStage value) { m_statusHasBeenSet = true; m_status = value; }
87 inline RegionDescription& WithStatus(DirectoryStage value) { SetStatus(value); return *this;}
89
91
92 inline const DirectoryVpcSettings& GetVpcSettings() const { return m_vpcSettings; }
93 inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; }
94 template<typename VpcSettingsT = DirectoryVpcSettings>
95 void SetVpcSettings(VpcSettingsT&& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = std::forward<VpcSettingsT>(value); }
96 template<typename VpcSettingsT = DirectoryVpcSettings>
97 RegionDescription& WithVpcSettings(VpcSettingsT&& value) { SetVpcSettings(std::forward<VpcSettingsT>(value)); return *this;}
99
101
105 inline int GetDesiredNumberOfDomainControllers() const { return m_desiredNumberOfDomainControllers; }
106 inline bool DesiredNumberOfDomainControllersHasBeenSet() const { return m_desiredNumberOfDomainControllersHasBeenSet; }
107 inline void SetDesiredNumberOfDomainControllers(int value) { m_desiredNumberOfDomainControllersHasBeenSet = true; m_desiredNumberOfDomainControllers = value; }
110
112
115 inline const Aws::Utils::DateTime& GetLaunchTime() const { return m_launchTime; }
116 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
117 template<typename LaunchTimeT = Aws::Utils::DateTime>
118 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::forward<LaunchTimeT>(value); }
119 template<typename LaunchTimeT = Aws::Utils::DateTime>
120 RegionDescription& WithLaunchTime(LaunchTimeT&& value) { SetLaunchTime(std::forward<LaunchTimeT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetStatusLastUpdatedDateTime() const { return m_statusLastUpdatedDateTime; }
128 inline bool StatusLastUpdatedDateTimeHasBeenSet() const { return m_statusLastUpdatedDateTimeHasBeenSet; }
129 template<typename StatusLastUpdatedDateTimeT = Aws::Utils::DateTime>
130 void SetStatusLastUpdatedDateTime(StatusLastUpdatedDateTimeT&& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = std::forward<StatusLastUpdatedDateTimeT>(value); }
131 template<typename StatusLastUpdatedDateTimeT = Aws::Utils::DateTime>
132 RegionDescription& WithStatusLastUpdatedDateTime(StatusLastUpdatedDateTimeT&& value) { SetStatusLastUpdatedDateTime(std::forward<StatusLastUpdatedDateTimeT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
140 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
141 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
142 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
143 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
144 RegionDescription& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
146 private:
147
148 Aws::String m_directoryId;
149 bool m_directoryIdHasBeenSet = false;
150
151 Aws::String m_regionName;
152 bool m_regionNameHasBeenSet = false;
153
154 RegionType m_regionType{RegionType::NOT_SET};
155 bool m_regionTypeHasBeenSet = false;
156
158 bool m_statusHasBeenSet = false;
159
160 DirectoryVpcSettings m_vpcSettings;
161 bool m_vpcSettingsHasBeenSet = false;
162
163 int m_desiredNumberOfDomainControllers{0};
164 bool m_desiredNumberOfDomainControllersHasBeenSet = false;
165
166 Aws::Utils::DateTime m_launchTime{};
167 bool m_launchTimeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_statusLastUpdatedDateTime{};
170 bool m_statusLastUpdatedDateTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastUpdatedDateTime{};
173 bool m_lastUpdatedDateTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace DirectoryService
178} // namespace Aws
RegionDescription & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const DirectoryVpcSettings & GetVpcSettings() const
AWS_DIRECTORYSERVICE_API RegionDescription()=default
RegionDescription & WithDesiredNumberOfDomainControllers(int value)
RegionDescription & WithDirectoryId(DirectoryIdT &&value)
RegionDescription & WithLaunchTime(LaunchTimeT &&value)
AWS_DIRECTORYSERVICE_API RegionDescription(Aws::Utils::Json::JsonView jsonValue)
RegionDescription & WithVpcSettings(VpcSettingsT &&value)
void SetStatusLastUpdatedDateTime(StatusLastUpdatedDateTimeT &&value)
RegionDescription & WithStatusLastUpdatedDateTime(StatusLastUpdatedDateTimeT &&value)
RegionDescription & WithRegionType(RegionType value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Utils::DateTime & GetStatusLastUpdatedDateTime() const
RegionDescription & WithRegionName(RegionNameT &&value)
const Aws::Utils::DateTime & GetLaunchTime() const
RegionDescription & WithStatus(DirectoryStage value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DIRECTORYSERVICE_API RegionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue