AWS SDK for C++  1.9.20
AWS SDK for C++
SchemaExtensionInfo.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
50  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
51 
55  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
56 
60  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
61 
65  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
66 
70  inline SchemaExtensionInfo& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
71 
75  inline SchemaExtensionInfo& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
76 
80  inline SchemaExtensionInfo& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
81 
82 
86  inline const Aws::String& GetSchemaExtensionId() const{ return m_schemaExtensionId; }
87 
91  inline bool SchemaExtensionIdHasBeenSet() const { return m_schemaExtensionIdHasBeenSet; }
92 
96  inline void SetSchemaExtensionId(const Aws::String& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = value; }
97 
101  inline void SetSchemaExtensionId(Aws::String&& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = std::move(value); }
102 
106  inline void SetSchemaExtensionId(const char* value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId.assign(value); }
107 
111  inline SchemaExtensionInfo& WithSchemaExtensionId(const Aws::String& value) { SetSchemaExtensionId(value); return *this;}
112 
116  inline SchemaExtensionInfo& WithSchemaExtensionId(Aws::String&& value) { SetSchemaExtensionId(std::move(value)); return *this;}
117 
121  inline SchemaExtensionInfo& WithSchemaExtensionId(const char* value) { SetSchemaExtensionId(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline SchemaExtensionInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline SchemaExtensionInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline SchemaExtensionInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const SchemaExtensionStatus& GetSchemaExtensionStatus() const{ return m_schemaExtensionStatus; }
169 
173  inline bool SchemaExtensionStatusHasBeenSet() const { return m_schemaExtensionStatusHasBeenSet; }
174 
178  inline void SetSchemaExtensionStatus(const SchemaExtensionStatus& value) { m_schemaExtensionStatusHasBeenSet = true; m_schemaExtensionStatus = value; }
179 
183  inline void SetSchemaExtensionStatus(SchemaExtensionStatus&& value) { m_schemaExtensionStatusHasBeenSet = true; m_schemaExtensionStatus = std::move(value); }
184 
188  inline SchemaExtensionInfo& WithSchemaExtensionStatus(const SchemaExtensionStatus& value) { SetSchemaExtensionStatus(value); return *this;}
189 
193  inline SchemaExtensionInfo& WithSchemaExtensionStatus(SchemaExtensionStatus&& value) { SetSchemaExtensionStatus(std::move(value)); return *this;}
194 
195 
199  inline const Aws::String& GetSchemaExtensionStatusReason() const{ return m_schemaExtensionStatusReason; }
200 
204  inline bool SchemaExtensionStatusReasonHasBeenSet() const { return m_schemaExtensionStatusReasonHasBeenSet; }
205 
209  inline void SetSchemaExtensionStatusReason(const Aws::String& value) { m_schemaExtensionStatusReasonHasBeenSet = true; m_schemaExtensionStatusReason = value; }
210 
214  inline void SetSchemaExtensionStatusReason(Aws::String&& value) { m_schemaExtensionStatusReasonHasBeenSet = true; m_schemaExtensionStatusReason = std::move(value); }
215 
219  inline void SetSchemaExtensionStatusReason(const char* value) { m_schemaExtensionStatusReasonHasBeenSet = true; m_schemaExtensionStatusReason.assign(value); }
220 
224  inline SchemaExtensionInfo& WithSchemaExtensionStatusReason(const Aws::String& value) { SetSchemaExtensionStatusReason(value); return *this;}
225 
229  inline SchemaExtensionInfo& WithSchemaExtensionStatusReason(Aws::String&& value) { SetSchemaExtensionStatusReason(std::move(value)); return *this;}
230 
234  inline SchemaExtensionInfo& WithSchemaExtensionStatusReason(const char* value) { SetSchemaExtensionStatusReason(value); return *this;}
235 
236 
241  inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; }
242 
247  inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
248 
253  inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
254 
259  inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
260 
265  inline SchemaExtensionInfo& WithStartDateTime(const Aws::Utils::DateTime& value) { SetStartDateTime(value); return *this;}
266 
271  inline SchemaExtensionInfo& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;}
272 
273 
277  inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
278 
282  inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
283 
287  inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
288 
292  inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
293 
297  inline SchemaExtensionInfo& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
298 
302  inline SchemaExtensionInfo& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
303 
304  private:
305 
306  Aws::String m_directoryId;
307  bool m_directoryIdHasBeenSet;
308 
309  Aws::String m_schemaExtensionId;
310  bool m_schemaExtensionIdHasBeenSet;
311 
312  Aws::String m_description;
313  bool m_descriptionHasBeenSet;
314 
315  SchemaExtensionStatus m_schemaExtensionStatus;
316  bool m_schemaExtensionStatusHasBeenSet;
317 
318  Aws::String m_schemaExtensionStatusReason;
319  bool m_schemaExtensionStatusReasonHasBeenSet;
320 
321  Aws::Utils::DateTime m_startDateTime;
322  bool m_startDateTimeHasBeenSet;
323 
324  Aws::Utils::DateTime m_endDateTime;
325  bool m_endDateTimeHasBeenSet;
326  };
327 
328 } // namespace Model
329 } // namespace DirectoryService
330 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DirectoryService::Model::SchemaExtensionInfo::WithEndDateTime
SchemaExtensionInfo & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: SchemaExtensionInfo.h:297
Aws::DirectoryService::Model::SchemaExtensionInfo::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: SchemaExtensionInfo.h:292
Aws::DirectoryService::Model::SchemaExtensionInfo::GetSchemaExtensionId
const Aws::String & GetSchemaExtensionId() const
Definition: SchemaExtensionInfo.h:86
Aws::DirectoryService::Model::SchemaExtensionStatus
SchemaExtensionStatus
Definition: SchemaExtensionStatus.h:17
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::SchemaExtensionInfo::SchemaExtensionIdHasBeenSet
bool SchemaExtensionIdHasBeenSet() const
Definition: SchemaExtensionInfo.h:91
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionId
SchemaExtensionInfo & WithSchemaExtensionId(Aws::String &&value)
Definition: SchemaExtensionInfo.h:116
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: SchemaExtensionInfo.h:55
Aws::DirectoryService::Model::SchemaExtensionInfo::GetDescription
const Aws::String & GetDescription() const
Definition: SchemaExtensionInfo.h:127
SchemaExtensionStatus.h
DateTime.h
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionStatus
SchemaExtensionInfo & WithSchemaExtensionStatus(const SchemaExtensionStatus &value)
Definition: SchemaExtensionInfo.h:188
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDirectoryId
SchemaExtensionInfo & WithDirectoryId(Aws::String &&value)
Definition: SchemaExtensionInfo.h:75
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionId
SchemaExtensionInfo & WithSchemaExtensionId(const Aws::String &value)
Definition: SchemaExtensionInfo.h:111
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDescription
SchemaExtensionInfo & WithDescription(const char *value)
Definition: SchemaExtensionInfo.h:162
Aws::DirectoryService::Model::SchemaExtensionInfo::SchemaExtensionStatusHasBeenSet
bool SchemaExtensionStatusHasBeenSet() const
Definition: SchemaExtensionInfo.h:173
Aws::DirectoryService::Model::SchemaExtensionInfo
Definition: SchemaExtensionInfo.h:34
Aws::DirectoryService::Model::SchemaExtensionInfo::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: SchemaExtensionInfo.h:277
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::SchemaExtensionInfo::WithEndDateTime
SchemaExtensionInfo & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: SchemaExtensionInfo.h:302
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionId
SchemaExtensionInfo & WithSchemaExtensionId(const char *value)
Definition: SchemaExtensionInfo.h:121
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionStatusReason
SchemaExtensionInfo & WithSchemaExtensionStatusReason(Aws::String &&value)
Definition: SchemaExtensionInfo.h:229
Aws::DirectoryService::Model::SchemaExtensionInfo::SetStartDateTime
void SetStartDateTime(Aws::Utils::DateTime &&value)
Definition: SchemaExtensionInfo.h:259
Aws::DirectoryService::Model::SchemaExtensionInfo::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: SchemaExtensionInfo.h:132
Aws::DirectoryService::Model::SchemaExtensionInfo::SetStartDateTime
void SetStartDateTime(const Aws::Utils::DateTime &value)
Definition: SchemaExtensionInfo.h:253
Aws::DirectoryService::Model::SchemaExtensionInfo::WithStartDateTime
SchemaExtensionInfo & WithStartDateTime(Aws::Utils::DateTime &&value)
Definition: SchemaExtensionInfo.h:271
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDescription
void SetDescription(const char *value)
Definition: SchemaExtensionInfo.h:147
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDescription
SchemaExtensionInfo & WithDescription(Aws::String &&value)
Definition: SchemaExtensionInfo.h:157
Aws::DirectoryService::Model::SchemaExtensionInfo::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: SchemaExtensionInfo.h:45
Aws::DirectoryService::Model::SchemaExtensionInfo::SchemaExtensionStatusReasonHasBeenSet
bool SchemaExtensionStatusReasonHasBeenSet() const
Definition: SchemaExtensionInfo.h:204
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDescription
void SetDescription(Aws::String &&value)
Definition: SchemaExtensionInfo.h:142
Aws::DirectoryService::Model::SchemaExtensionInfo::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: SchemaExtensionInfo.h:282
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: SchemaExtensionInfo.h:65
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionStatus
void SetSchemaExtensionStatus(const SchemaExtensionStatus &value)
Definition: SchemaExtensionInfo.h:178
Aws::DirectoryService::Model::SchemaExtensionInfo::GetSchemaExtensionStatusReason
const Aws::String & GetSchemaExtensionStatusReason() const
Definition: SchemaExtensionInfo.h:199
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDirectoryId
SchemaExtensionInfo & WithDirectoryId(const char *value)
Definition: SchemaExtensionInfo.h:80
AWSString.h
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionId
void SetSchemaExtensionId(Aws::String &&value)
Definition: SchemaExtensionInfo.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::SchemaExtensionInfo::SchemaExtensionInfo
SchemaExtensionInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDescription
void SetDescription(const Aws::String &value)
Definition: SchemaExtensionInfo.h:137
Aws::DirectoryService::Model::SchemaExtensionInfo::operator=
SchemaExtensionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::SchemaExtensionInfo::SchemaExtensionInfo
SchemaExtensionInfo()
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionId
void SetSchemaExtensionId(const Aws::String &value)
Definition: SchemaExtensionInfo.h:96
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionStatusReason
void SetSchemaExtensionStatusReason(const Aws::String &value)
Definition: SchemaExtensionInfo.h:209
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDirectoryId
SchemaExtensionInfo & WithDirectoryId(const Aws::String &value)
Definition: SchemaExtensionInfo.h:70
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionStatus
SchemaExtensionInfo & WithSchemaExtensionStatus(SchemaExtensionStatus &&value)
Definition: SchemaExtensionInfo.h:193
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionStatusReason
SchemaExtensionInfo & WithSchemaExtensionStatusReason(const Aws::String &value)
Definition: SchemaExtensionInfo.h:224
Aws::DirectoryService::Model::SchemaExtensionInfo::GetSchemaExtensionStatus
const SchemaExtensionStatus & GetSchemaExtensionStatus() const
Definition: SchemaExtensionInfo.h:168
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionStatusReason
void SetSchemaExtensionStatusReason(Aws::String &&value)
Definition: SchemaExtensionInfo.h:214
Aws::DirectoryService::Model::SchemaExtensionInfo::WithStartDateTime
SchemaExtensionInfo & WithStartDateTime(const Aws::Utils::DateTime &value)
Definition: SchemaExtensionInfo.h:265
Aws::DirectoryService::Model::SchemaExtensionInfo::StartDateTimeHasBeenSet
bool StartDateTimeHasBeenSet() const
Definition: SchemaExtensionInfo.h:247
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::SchemaExtensionInfo::WithSchemaExtensionStatusReason
SchemaExtensionInfo & WithSchemaExtensionStatusReason(const char *value)
Definition: SchemaExtensionInfo.h:234
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionStatusReason
void SetSchemaExtensionStatusReason(const char *value)
Definition: SchemaExtensionInfo.h:219
Aws::DirectoryService::Model::SchemaExtensionInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::SchemaExtensionInfo::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: SchemaExtensionInfo.h:60
Aws::DirectoryService::Model::SchemaExtensionInfo::WithDescription
SchemaExtensionInfo & WithDescription(const Aws::String &value)
Definition: SchemaExtensionInfo.h:152
Aws::DirectoryService::Model::SchemaExtensionInfo::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: SchemaExtensionInfo.h:50
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionStatus
void SetSchemaExtensionStatus(SchemaExtensionStatus &&value)
Definition: SchemaExtensionInfo.h:183
Aws::DirectoryService::Model::SchemaExtensionInfo::GetStartDateTime
const Aws::Utils::DateTime & GetStartDateTime() const
Definition: SchemaExtensionInfo.h:241
Aws::DirectoryService::Model::SchemaExtensionInfo::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: SchemaExtensionInfo.h:287
Aws::DirectoryService::Model::SchemaExtensionInfo::SetSchemaExtensionId
void SetSchemaExtensionId(const char *value)
Definition: SchemaExtensionInfo.h:106