AWS SDK for C++  1.9.20
AWS SDK for C++
RegionDescription.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace DirectoryService
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
49 
53  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
54 
58  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
59 
63  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
64 
68  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
69 
73  inline RegionDescription& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
74 
78  inline RegionDescription& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
79 
83  inline RegionDescription& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
84 
85 
89  inline const Aws::String& GetRegionName() const{ return m_regionName; }
90 
94  inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
95 
99  inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
100 
104  inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
105 
109  inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
110 
114  inline RegionDescription& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
115 
119  inline RegionDescription& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
120 
124  inline RegionDescription& WithRegionName(const char* value) { SetRegionName(value); return *this;}
125 
126 
131  inline const RegionType& GetRegionType() const{ return m_regionType; }
132 
137  inline bool RegionTypeHasBeenSet() const { return m_regionTypeHasBeenSet; }
138 
143  inline void SetRegionType(const RegionType& value) { m_regionTypeHasBeenSet = true; m_regionType = value; }
144 
149  inline void SetRegionType(RegionType&& value) { m_regionTypeHasBeenSet = true; m_regionType = std::move(value); }
150 
155  inline RegionDescription& WithRegionType(const RegionType& value) { SetRegionType(value); return *this;}
156 
161  inline RegionDescription& WithRegionType(RegionType&& value) { SetRegionType(std::move(value)); return *this;}
162 
163 
167  inline const DirectoryStage& GetStatus() const{ return m_status; }
168 
172  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
173 
177  inline void SetStatus(const DirectoryStage& value) { m_statusHasBeenSet = true; m_status = value; }
178 
182  inline void SetStatus(DirectoryStage&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
183 
187  inline RegionDescription& WithStatus(const DirectoryStage& value) { SetStatus(value); return *this;}
188 
192  inline RegionDescription& WithStatus(DirectoryStage&& value) { SetStatus(std::move(value)); return *this;}
193 
194 
195 
196  inline const DirectoryVpcSettings& GetVpcSettings() const{ return m_vpcSettings; }
197 
198 
199  inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; }
200 
201 
202  inline void SetVpcSettings(const DirectoryVpcSettings& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = value; }
203 
204 
205  inline void SetVpcSettings(DirectoryVpcSettings&& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = std::move(value); }
206 
207 
208  inline RegionDescription& WithVpcSettings(const DirectoryVpcSettings& value) { SetVpcSettings(value); return *this;}
209 
210 
211  inline RegionDescription& WithVpcSettings(DirectoryVpcSettings&& value) { SetVpcSettings(std::move(value)); return *this;}
212 
213 
218  inline int GetDesiredNumberOfDomainControllers() const{ return m_desiredNumberOfDomainControllers; }
219 
224  inline bool DesiredNumberOfDomainControllersHasBeenSet() const { return m_desiredNumberOfDomainControllersHasBeenSet; }
225 
230  inline void SetDesiredNumberOfDomainControllers(int value) { m_desiredNumberOfDomainControllersHasBeenSet = true; m_desiredNumberOfDomainControllers = value; }
231 
236  inline RegionDescription& WithDesiredNumberOfDomainControllers(int value) { SetDesiredNumberOfDomainControllers(value); return *this;}
237 
238 
242  inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; }
243 
247  inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
248 
252  inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; }
253 
257  inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); }
258 
262  inline RegionDescription& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;}
263 
267  inline RegionDescription& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;}
268 
269 
273  inline const Aws::Utils::DateTime& GetStatusLastUpdatedDateTime() const{ return m_statusLastUpdatedDateTime; }
274 
278  inline bool StatusLastUpdatedDateTimeHasBeenSet() const { return m_statusLastUpdatedDateTimeHasBeenSet; }
279 
283  inline void SetStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = value; }
284 
288  inline void SetStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = std::move(value); }
289 
293  inline RegionDescription& WithStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetStatusLastUpdatedDateTime(value); return *this;}
294 
298  inline RegionDescription& WithStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetStatusLastUpdatedDateTime(std::move(value)); return *this;}
299 
300 
304  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
305 
309  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
310 
314  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
315 
319  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
320 
324  inline RegionDescription& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
325 
329  inline RegionDescription& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
330 
331  private:
332 
333  Aws::String m_directoryId;
334  bool m_directoryIdHasBeenSet;
335 
336  Aws::String m_regionName;
337  bool m_regionNameHasBeenSet;
338 
339  RegionType m_regionType;
340  bool m_regionTypeHasBeenSet;
341 
342  DirectoryStage m_status;
343  bool m_statusHasBeenSet;
344 
345  DirectoryVpcSettings m_vpcSettings;
346  bool m_vpcSettingsHasBeenSet;
347 
348  int m_desiredNumberOfDomainControllers;
349  bool m_desiredNumberOfDomainControllersHasBeenSet;
350 
351  Aws::Utils::DateTime m_launchTime;
352  bool m_launchTimeHasBeenSet;
353 
354  Aws::Utils::DateTime m_statusLastUpdatedDateTime;
355  bool m_statusLastUpdatedDateTimeHasBeenSet;
356 
357  Aws::Utils::DateTime m_lastUpdatedDateTime;
358  bool m_lastUpdatedDateTimeHasBeenSet;
359  };
360 
361 } // namespace Model
362 } // namespace DirectoryService
363 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DirectoryService::Model::RegionDescription::WithStatus
RegionDescription & WithStatus(DirectoryStage &&value)
Definition: RegionDescription.h:192
Aws::DirectoryService::Model::RegionDescription::GetRegionName
const Aws::String & GetRegionName() const
Definition: RegionDescription.h:89
Aws::DirectoryService::Model::RegionDescription::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: RegionDescription.h:58
DirectoryVpcSettings.h
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::RegionDescription::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: RegionDescription.h:63
Aws::DirectoryService::Model::RegionDescription::DesiredNumberOfDomainControllersHasBeenSet
bool DesiredNumberOfDomainControllersHasBeenSet() const
Definition: RegionDescription.h:224
Aws::DirectoryService::Model::RegionDescription::SetStatus
void SetStatus(DirectoryStage &&value)
Definition: RegionDescription.h:182
Aws::DirectoryService::Model::RegionDescription::SetVpcSettings
void SetVpcSettings(const DirectoryVpcSettings &value)
Definition: RegionDescription.h:202
Aws::DirectoryService::Model::RegionDescription::SetLaunchTime
void SetLaunchTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:257
Aws::DirectoryService::Model::RegionDescription::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: RegionDescription.h:304
Aws::DirectoryService::Model::RegionDescription::LaunchTimeHasBeenSet
bool LaunchTimeHasBeenSet() const
Definition: RegionDescription.h:247
Aws::DirectoryService::Model::RegionDescription::GetLaunchTime
const Aws::Utils::DateTime & GetLaunchTime() const
Definition: RegionDescription.h:242
DateTime.h
Aws::DirectoryService::Model::RegionDescription::operator=
RegionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::RegionDescription::SetStatusLastUpdatedDateTime
void SetStatusLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:283
Aws::DirectoryService::Model::RegionDescription::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: RegionDescription.h:309
Aws::DirectoryService::Model::RegionDescription::StatusLastUpdatedDateTimeHasBeenSet
bool StatusLastUpdatedDateTimeHasBeenSet() const
Definition: RegionDescription.h:278
Aws::DirectoryService::Model::RegionDescription::RegionNameHasBeenSet
bool RegionNameHasBeenSet() const
Definition: RegionDescription.h:94
Aws::DirectoryService::Model::RegionDescription::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: RegionDescription.h:172
Aws::DirectoryService::Model::RegionDescription::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: RegionDescription.h:68
Aws::DirectoryService::Model::RegionDescription::WithRegionName
RegionDescription & WithRegionName(Aws::String &&value)
Definition: RegionDescription.h:119
Aws::DirectoryService::Model::RegionDescription::WithLastUpdatedDateTime
RegionDescription & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:324
Aws::DirectoryService::Model::RegionDescription::SetVpcSettings
void SetVpcSettings(DirectoryVpcSettings &&value)
Definition: RegionDescription.h:205
Aws::DirectoryService::Model::RegionDescription::WithRegionType
RegionDescription & WithRegionType(const RegionType &value)
Definition: RegionDescription.h:155
Aws::DirectoryService::Model::RegionDescription::GetStatus
const DirectoryStage & GetStatus() const
Definition: RegionDescription.h:167
Aws::DirectoryService::Model::DirectoryStage
DirectoryStage
Definition: DirectoryStage.h:17
Aws::DirectoryService::Model::RegionDescription::SetStatusLastUpdatedDateTime
void SetStatusLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:288
Aws::DirectoryService::Model::RegionDescription::SetRegionName
void SetRegionName(const char *value)
Definition: RegionDescription.h:109
Aws::DirectoryService::Model::RegionDescription
Definition: RegionDescription.h:37
Aws::DirectoryService::Model::RegionDescription::WithLaunchTime
RegionDescription & WithLaunchTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:267
Aws::DirectoryService::Model::RegionDescription::WithRegionName
RegionDescription & WithRegionName(const char *value)
Definition: RegionDescription.h:124
Aws::DirectoryService::Model::RegionDescription::VpcSettingsHasBeenSet
bool VpcSettingsHasBeenSet() const
Definition: RegionDescription.h:199
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::DirectoryService::Model::RegionDescription::WithStatusLastUpdatedDateTime
RegionDescription & WithStatusLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:293
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::RegionDescription::SetStatus
void SetStatus(const DirectoryStage &value)
Definition: RegionDescription.h:177
Aws::DirectoryService::Model::RegionDescription::WithDirectoryId
RegionDescription & WithDirectoryId(const Aws::String &value)
Definition: RegionDescription.h:73
Aws::DirectoryService::Model::RegionDescription::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:314
DirectoryStage.h
Aws::DirectoryService::Model::RegionDescription::GetDesiredNumberOfDomainControllers
int GetDesiredNumberOfDomainControllers() const
Definition: RegionDescription.h:218
Aws::DirectoryService::Model::RegionDescription::SetDesiredNumberOfDomainControllers
void SetDesiredNumberOfDomainControllers(int value)
Definition: RegionDescription.h:230
Aws::DirectoryService::Model::RegionDescription::GetVpcSettings
const DirectoryVpcSettings & GetVpcSettings() const
Definition: RegionDescription.h:196
Aws::DirectoryService::Model::RegionDescription::RegionTypeHasBeenSet
bool RegionTypeHasBeenSet() const
Definition: RegionDescription.h:137
Aws::DirectoryService::Model::RegionDescription::SetLaunchTime
void SetLaunchTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:252
Aws::DirectoryService::Model::RegionDescription::SetRegionType
void SetRegionType(const RegionType &value)
Definition: RegionDescription.h:143
Aws::DirectoryService::Model::RegionDescription::WithRegionName
RegionDescription & WithRegionName(const Aws::String &value)
Definition: RegionDescription.h:114
Aws::DirectoryService::Model::RegionDescription::WithVpcSettings
RegionDescription & WithVpcSettings(const DirectoryVpcSettings &value)
Definition: RegionDescription.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::RegionDescription::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: RegionDescription.h:53
Aws::DirectoryService::Model::RegionDescription::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: RegionDescription.h:48
Aws::DirectoryService::Model::RegionDescription::WithLaunchTime
RegionDescription & WithLaunchTime(const Aws::Utils::DateTime &value)
Definition: RegionDescription.h:262
Aws::DirectoryService::Model::RegionDescription::WithDirectoryId
RegionDescription & WithDirectoryId(Aws::String &&value)
Definition: RegionDescription.h:78
Aws::DirectoryService::Model::RegionDescription::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:319
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::RegionDescription::WithDirectoryId
RegionDescription & WithDirectoryId(const char *value)
Definition: RegionDescription.h:83
RegionType.h
Aws::DirectoryService::Model::RegionDescription::SetRegionType
void SetRegionType(RegionType &&value)
Definition: RegionDescription.h:149
Aws::DirectoryService::Model::RegionDescription::RegionDescription
RegionDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::RegionDescription::WithVpcSettings
RegionDescription & WithVpcSettings(DirectoryVpcSettings &&value)
Definition: RegionDescription.h:211
Aws::DirectoryService::Model::RegionDescription::WithStatus
RegionDescription & WithStatus(const DirectoryStage &value)
Definition: RegionDescription.h:187
Aws::DirectoryService::Model::RegionDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::RegionDescription::SetRegionName
void SetRegionName(const Aws::String &value)
Definition: RegionDescription.h:99
Aws::DirectoryService::Model::RegionDescription::GetRegionType
const RegionType & GetRegionType() const
Definition: RegionDescription.h:131
Aws::DirectoryService::Model::RegionDescription::WithDesiredNumberOfDomainControllers
RegionDescription & WithDesiredNumberOfDomainControllers(int value)
Definition: RegionDescription.h:236
Aws::DirectoryService::Model::RegionDescription::WithRegionType
RegionDescription & WithRegionType(RegionType &&value)
Definition: RegionDescription.h:161
Aws::DirectoryService::Model::RegionType
RegionType
Definition: RegionType.h:17
Aws::DirectoryService::Model::DirectoryVpcSettings
Definition: DirectoryVpcSettings.h:34
Aws::DirectoryService::Model::RegionDescription::WithStatusLastUpdatedDateTime
RegionDescription & WithStatusLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:298
Aws::DirectoryService::Model::RegionDescription::RegionDescription
RegionDescription()
Aws::DirectoryService::Model::RegionDescription::WithLastUpdatedDateTime
RegionDescription & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RegionDescription.h:329
Aws::DirectoryService::Model::RegionDescription::GetStatusLastUpdatedDateTime
const Aws::Utils::DateTime & GetStatusLastUpdatedDateTime() const
Definition: RegionDescription.h:273
Aws::DirectoryService::Model::RegionDescription::SetRegionName
void SetRegionName(Aws::String &&value)
Definition: RegionDescription.h:104