AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/OpsItemStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm/model/OpsItemNotification.h>
14#include <aws/ssm/model/RelatedOpsItem.h>
15#include <aws/ssm/model/OpsItemDataValue.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SSM
29{
30namespace Model
31{
32
56 class OpsItem
57 {
58 public:
59 AWS_SSM_API OpsItem();
60 AWS_SSM_API OpsItem(Aws::Utils::Json::JsonView jsonValue);
63
64
66
69 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
70 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
71 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
72 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
73 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
74 inline OpsItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
75 inline OpsItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
76 inline OpsItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
78
80
89 inline const Aws::String& GetOpsItemType() const{ return m_opsItemType; }
90 inline bool OpsItemTypeHasBeenSet() const { return m_opsItemTypeHasBeenSet; }
91 inline void SetOpsItemType(const Aws::String& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = value; }
92 inline void SetOpsItemType(Aws::String&& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = std::move(value); }
93 inline void SetOpsItemType(const char* value) { m_opsItemTypeHasBeenSet = true; m_opsItemType.assign(value); }
94 inline OpsItem& WithOpsItemType(const Aws::String& value) { SetOpsItemType(value); return *this;}
95 inline OpsItem& WithOpsItemType(Aws::String&& value) { SetOpsItemType(std::move(value)); return *this;}
96 inline OpsItem& WithOpsItemType(const char* value) { SetOpsItemType(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
104 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
105 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
106 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
107 inline OpsItem& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
108 inline OpsItem& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetDescription() const{ return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
119 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
120 inline OpsItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
121 inline OpsItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122 inline OpsItem& WithDescription(const char* value) { SetDescription(value); return *this;}
124
126
129 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
130 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
131 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
132 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
133 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
134 inline OpsItem& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
135 inline OpsItem& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
136 inline OpsItem& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
144 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
145 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
146 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
147 inline OpsItem& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
148 inline OpsItem& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
150
152
157 inline const Aws::Vector<OpsItemNotification>& GetNotifications() const{ return m_notifications; }
158 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
159 inline void SetNotifications(const Aws::Vector<OpsItemNotification>& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
160 inline void SetNotifications(Aws::Vector<OpsItemNotification>&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
161 inline OpsItem& WithNotifications(const Aws::Vector<OpsItemNotification>& value) { SetNotifications(value); return *this;}
162 inline OpsItem& WithNotifications(Aws::Vector<OpsItemNotification>&& value) { SetNotifications(std::move(value)); return *this;}
163 inline OpsItem& AddNotifications(const OpsItemNotification& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(value); return *this; }
164 inline OpsItem& AddNotifications(OpsItemNotification&& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(std::move(value)); return *this; }
166
168
172 inline int GetPriority() const{ return m_priority; }
173 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
174 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
175 inline OpsItem& WithPriority(int value) { SetPriority(value); return *this;}
177
179
184 inline const Aws::Vector<RelatedOpsItem>& GetRelatedOpsItems() const{ return m_relatedOpsItems; }
185 inline bool RelatedOpsItemsHasBeenSet() const { return m_relatedOpsItemsHasBeenSet; }
186 inline void SetRelatedOpsItems(const Aws::Vector<RelatedOpsItem>& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems = value; }
187 inline void SetRelatedOpsItems(Aws::Vector<RelatedOpsItem>&& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems = std::move(value); }
188 inline OpsItem& WithRelatedOpsItems(const Aws::Vector<RelatedOpsItem>& value) { SetRelatedOpsItems(value); return *this;}
189 inline OpsItem& WithRelatedOpsItems(Aws::Vector<RelatedOpsItem>&& value) { SetRelatedOpsItems(std::move(value)); return *this;}
190 inline OpsItem& AddRelatedOpsItems(const RelatedOpsItem& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems.push_back(value); return *this; }
191 inline OpsItem& AddRelatedOpsItems(RelatedOpsItem&& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems.push_back(std::move(value)); return *this; }
193
195
201 inline const OpsItemStatus& GetStatus() const{ return m_status; }
202 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
203 inline void SetStatus(const OpsItemStatus& value) { m_statusHasBeenSet = true; m_status = value; }
204 inline void SetStatus(OpsItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
205 inline OpsItem& WithStatus(const OpsItemStatus& value) { SetStatus(value); return *this;}
206 inline OpsItem& WithStatus(OpsItemStatus&& value) { SetStatus(std::move(value)); return *this;}
208
210
213 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
214 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
215 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
216 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
217 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
218 inline OpsItem& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
219 inline OpsItem& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
220 inline OpsItem& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
222
224
228 inline const Aws::String& GetVersion() const{ return m_version; }
229 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
230 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
231 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
232 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
233 inline OpsItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
234 inline OpsItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
235 inline OpsItem& WithVersion(const char* value) { SetVersion(value); return *this;}
237
239
243 inline const Aws::String& GetTitle() const{ return m_title; }
244 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
245 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
246 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
247 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
248 inline OpsItem& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
249 inline OpsItem& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
250 inline OpsItem& WithTitle(const char* value) { SetTitle(value); return *this;}
252
254
258 inline const Aws::String& GetSource() const{ return m_source; }
259 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
260 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
261 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
262 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
263 inline OpsItem& WithSource(const Aws::String& value) { SetSource(value); return *this;}
264 inline OpsItem& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
265 inline OpsItem& WithSource(const char* value) { SetSource(value); return *this;}
267
269
292 inline const Aws::Map<Aws::String, OpsItemDataValue>& GetOperationalData() const{ return m_operationalData; }
293 inline bool OperationalDataHasBeenSet() const { return m_operationalDataHasBeenSet; }
294 inline void SetOperationalData(const Aws::Map<Aws::String, OpsItemDataValue>& value) { m_operationalDataHasBeenSet = true; m_operationalData = value; }
295 inline void SetOperationalData(Aws::Map<Aws::String, OpsItemDataValue>&& value) { m_operationalDataHasBeenSet = true; m_operationalData = std::move(value); }
298 inline OpsItem& AddOperationalData(const Aws::String& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; }
299 inline OpsItem& AddOperationalData(Aws::String&& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), value); return *this; }
300 inline OpsItem& AddOperationalData(const Aws::String& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; }
301 inline OpsItem& AddOperationalData(Aws::String&& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), std::move(value)); return *this; }
302 inline OpsItem& AddOperationalData(const char* key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; }
303 inline OpsItem& AddOperationalData(const char* key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; }
305
307
311 inline const Aws::String& GetCategory() const{ return m_category; }
312 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
313 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
314 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
315 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
316 inline OpsItem& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
317 inline OpsItem& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
318 inline OpsItem& WithCategory(const char* value) { SetCategory(value); return *this;}
320
322
325 inline const Aws::String& GetSeverity() const{ return m_severity; }
326 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
327 inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; }
328 inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
329 inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); }
330 inline OpsItem& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;}
331 inline OpsItem& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;}
332 inline OpsItem& WithSeverity(const char* value) { SetSeverity(value); return *this;}
334
336
340 inline const Aws::Utils::DateTime& GetActualStartTime() const{ return m_actualStartTime; }
341 inline bool ActualStartTimeHasBeenSet() const { return m_actualStartTimeHasBeenSet; }
342 inline void SetActualStartTime(const Aws::Utils::DateTime& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = value; }
343 inline void SetActualStartTime(Aws::Utils::DateTime&& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = std::move(value); }
344 inline OpsItem& WithActualStartTime(const Aws::Utils::DateTime& value) { SetActualStartTime(value); return *this;}
345 inline OpsItem& WithActualStartTime(Aws::Utils::DateTime&& value) { SetActualStartTime(std::move(value)); return *this;}
347
349
353 inline const Aws::Utils::DateTime& GetActualEndTime() const{ return m_actualEndTime; }
354 inline bool ActualEndTimeHasBeenSet() const { return m_actualEndTimeHasBeenSet; }
355 inline void SetActualEndTime(const Aws::Utils::DateTime& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = value; }
356 inline void SetActualEndTime(Aws::Utils::DateTime&& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = std::move(value); }
357 inline OpsItem& WithActualEndTime(const Aws::Utils::DateTime& value) { SetActualEndTime(value); return *this;}
358 inline OpsItem& WithActualEndTime(Aws::Utils::DateTime&& value) { SetActualEndTime(std::move(value)); return *this;}
360
362
367 inline const Aws::Utils::DateTime& GetPlannedStartTime() const{ return m_plannedStartTime; }
368 inline bool PlannedStartTimeHasBeenSet() const { return m_plannedStartTimeHasBeenSet; }
369 inline void SetPlannedStartTime(const Aws::Utils::DateTime& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = value; }
370 inline void SetPlannedStartTime(Aws::Utils::DateTime&& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = std::move(value); }
371 inline OpsItem& WithPlannedStartTime(const Aws::Utils::DateTime& value) { SetPlannedStartTime(value); return *this;}
372 inline OpsItem& WithPlannedStartTime(Aws::Utils::DateTime&& value) { SetPlannedStartTime(std::move(value)); return *this;}
374
376
381 inline const Aws::Utils::DateTime& GetPlannedEndTime() const{ return m_plannedEndTime; }
382 inline bool PlannedEndTimeHasBeenSet() const { return m_plannedEndTimeHasBeenSet; }
383 inline void SetPlannedEndTime(const Aws::Utils::DateTime& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = value; }
384 inline void SetPlannedEndTime(Aws::Utils::DateTime&& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = std::move(value); }
385 inline OpsItem& WithPlannedEndTime(const Aws::Utils::DateTime& value) { SetPlannedEndTime(value); return *this;}
386 inline OpsItem& WithPlannedEndTime(Aws::Utils::DateTime&& value) { SetPlannedEndTime(std::move(value)); return *this;}
388
390
393 inline const Aws::String& GetOpsItemArn() const{ return m_opsItemArn; }
394 inline bool OpsItemArnHasBeenSet() const { return m_opsItemArnHasBeenSet; }
395 inline void SetOpsItemArn(const Aws::String& value) { m_opsItemArnHasBeenSet = true; m_opsItemArn = value; }
396 inline void SetOpsItemArn(Aws::String&& value) { m_opsItemArnHasBeenSet = true; m_opsItemArn = std::move(value); }
397 inline void SetOpsItemArn(const char* value) { m_opsItemArnHasBeenSet = true; m_opsItemArn.assign(value); }
398 inline OpsItem& WithOpsItemArn(const Aws::String& value) { SetOpsItemArn(value); return *this;}
399 inline OpsItem& WithOpsItemArn(Aws::String&& value) { SetOpsItemArn(std::move(value)); return *this;}
400 inline OpsItem& WithOpsItemArn(const char* value) { SetOpsItemArn(value); return *this;}
402 private:
403
404 Aws::String m_createdBy;
405 bool m_createdByHasBeenSet = false;
406
407 Aws::String m_opsItemType;
408 bool m_opsItemTypeHasBeenSet = false;
409
410 Aws::Utils::DateTime m_createdTime;
411 bool m_createdTimeHasBeenSet = false;
412
413 Aws::String m_description;
414 bool m_descriptionHasBeenSet = false;
415
416 Aws::String m_lastModifiedBy;
417 bool m_lastModifiedByHasBeenSet = false;
418
419 Aws::Utils::DateTime m_lastModifiedTime;
420 bool m_lastModifiedTimeHasBeenSet = false;
421
422 Aws::Vector<OpsItemNotification> m_notifications;
423 bool m_notificationsHasBeenSet = false;
424
425 int m_priority;
426 bool m_priorityHasBeenSet = false;
427
428 Aws::Vector<RelatedOpsItem> m_relatedOpsItems;
429 bool m_relatedOpsItemsHasBeenSet = false;
430
431 OpsItemStatus m_status;
432 bool m_statusHasBeenSet = false;
433
434 Aws::String m_opsItemId;
435 bool m_opsItemIdHasBeenSet = false;
436
437 Aws::String m_version;
438 bool m_versionHasBeenSet = false;
439
440 Aws::String m_title;
441 bool m_titleHasBeenSet = false;
442
443 Aws::String m_source;
444 bool m_sourceHasBeenSet = false;
445
447 bool m_operationalDataHasBeenSet = false;
448
449 Aws::String m_category;
450 bool m_categoryHasBeenSet = false;
451
452 Aws::String m_severity;
453 bool m_severityHasBeenSet = false;
454
455 Aws::Utils::DateTime m_actualStartTime;
456 bool m_actualStartTimeHasBeenSet = false;
457
458 Aws::Utils::DateTime m_actualEndTime;
459 bool m_actualEndTimeHasBeenSet = false;
460
461 Aws::Utils::DateTime m_plannedStartTime;
462 bool m_plannedStartTimeHasBeenSet = false;
463
464 Aws::Utils::DateTime m_plannedEndTime;
465 bool m_plannedEndTimeHasBeenSet = false;
466
467 Aws::String m_opsItemArn;
468 bool m_opsItemArnHasBeenSet = false;
469 };
470
471} // namespace Model
472} // namespace SSM
473} // namespace Aws
OpsItem & WithSeverity(const Aws::String &value)
Definition OpsItem.h:330
void SetOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
Definition OpsItem.h:294
bool SeverityHasBeenSet() const
Definition OpsItem.h:326
OpsItem & WithOpsItemId(Aws::String &&value)
Definition OpsItem.h:219
const OpsItemStatus & GetStatus() const
Definition OpsItem.h:201
OpsItem & WithLastModifiedBy(Aws::String &&value)
Definition OpsItem.h:135
void SetDescription(const char *value)
Definition OpsItem.h:119
const Aws::String & GetOpsItemId() const
Definition OpsItem.h:213
OpsItem & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:108
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:146
OpsItem & WithCategory(Aws::String &&value)
Definition OpsItem.h:317
void SetOpsItemId(const Aws::String &value)
Definition OpsItem.h:215
void SetPlannedStartTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:369
int GetPriority() const
Definition OpsItem.h:172
void SetActualStartTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:342
AWS_SSM_API OpsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const char *value)
Definition OpsItem.h:133
bool OpsItemTypeHasBeenSet() const
Definition OpsItem.h:90
OpsItem & WithOpsItemType(const char *value)
Definition OpsItem.h:96
void SetSeverity(Aws::String &&value)
Definition OpsItem.h:328
bool SourceHasBeenSet() const
Definition OpsItem.h:259
void SetLastModifiedBy(Aws::String &&value)
Definition OpsItem.h:132
void SetTitle(const char *value)
Definition OpsItem.h:247
const Aws::Vector< OpsItemNotification > & GetNotifications() const
Definition OpsItem.h:157
OpsItem & WithOpsItemType(Aws::String &&value)
Definition OpsItem.h:95
void SetRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
Definition OpsItem.h:187
void SetSeverity(const Aws::String &value)
Definition OpsItem.h:327
void SetCreatedBy(const char *value)
Definition OpsItem.h:73
OpsItem & WithPriority(int value)
Definition OpsItem.h:175
OpsItem & WithOpsItemId(const Aws::String &value)
Definition OpsItem.h:218
void SetNotifications(const Aws::Vector< OpsItemNotification > &value)
Definition OpsItem.h:159
OpsItem & AddOperationalData(const char *key, OpsItemDataValue &&value)
Definition OpsItem.h:302
OpsItem & AddOperationalData(const char *key, const OpsItemDataValue &value)
Definition OpsItem.h:303
OpsItem & WithRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
Definition OpsItem.h:189
OpsItem & WithOpsItemArn(Aws::String &&value)
Definition OpsItem.h:399
void SetOpsItemId(const char *value)
Definition OpsItem.h:217
bool LastModifiedTimeHasBeenSet() const
Definition OpsItem.h:144
OpsItem & WithVersion(const char *value)
Definition OpsItem.h:235
void SetOpsItemArn(const char *value)
Definition OpsItem.h:397
void SetTitle(Aws::String &&value)
Definition OpsItem.h:246
void SetSource(const char *value)
Definition OpsItem.h:262
OpsItem & AddOperationalData(const Aws::String &key, OpsItemDataValue &&value)
Definition OpsItem.h:300
void SetStatus(OpsItemStatus &&value)
Definition OpsItem.h:204
void SetNotifications(Aws::Vector< OpsItemNotification > &&value)
Definition OpsItem.h:160
OpsItem & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:147
OpsItem & WithStatus(OpsItemStatus &&value)
Definition OpsItem.h:206
void SetOpsItemType(Aws::String &&value)
Definition OpsItem.h:92
const Aws::String & GetDescription() const
Definition OpsItem.h:115
OpsItem & AddOperationalData(const Aws::String &key, const OpsItemDataValue &value)
Definition OpsItem.h:298
OpsItem & WithPlannedEndTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:386
void SetTitle(const Aws::String &value)
Definition OpsItem.h:245
bool NotificationsHasBeenSet() const
Definition OpsItem.h:158
const Aws::String & GetCategory() const
Definition OpsItem.h:311
OpsItem & WithDescription(Aws::String &&value)
Definition OpsItem.h:121
OpsItem & WithRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
Definition OpsItem.h:188
void SetActualEndTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:356
OpsItem & AddRelatedOpsItems(const RelatedOpsItem &value)
Definition OpsItem.h:190
OpsItem & WithPlannedStartTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:372
OpsItem & WithTitle(Aws::String &&value)
Definition OpsItem.h:249
void SetOpsItemArn(Aws::String &&value)
Definition OpsItem.h:396
OpsItem & WithTitle(const Aws::String &value)
Definition OpsItem.h:248
const Aws::String & GetTitle() const
Definition OpsItem.h:243
OpsItem & WithCategory(const Aws::String &value)
Definition OpsItem.h:316
void SetDescription(Aws::String &&value)
Definition OpsItem.h:118
bool CreatedTimeHasBeenSet() const
Definition OpsItem.h:104
void SetCategory(const char *value)
Definition OpsItem.h:315
bool ActualEndTimeHasBeenSet() const
Definition OpsItem.h:354
const Aws::String & GetOpsItemArn() const
Definition OpsItem.h:393
void SetOpsItemType(const Aws::String &value)
Definition OpsItem.h:91
void SetSource(Aws::String &&value)
Definition OpsItem.h:261
OpsItem & WithNotifications(Aws::Vector< OpsItemNotification > &&value)
Definition OpsItem.h:162
OpsItem & WithStatus(const OpsItemStatus &value)
Definition OpsItem.h:205
bool VersionHasBeenSet() const
Definition OpsItem.h:229
bool TitleHasBeenSet() const
Definition OpsItem.h:244
OpsItem & WithCreatedBy(const Aws::String &value)
Definition OpsItem.h:74
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:105
OpsItem & WithSource(Aws::String &&value)
Definition OpsItem.h:264
bool DescriptionHasBeenSet() const
Definition OpsItem.h:116
void SetOpsItemArn(const Aws::String &value)
Definition OpsItem.h:395
OpsItem & WithDescription(const char *value)
Definition OpsItem.h:122
OpsItem & AddRelatedOpsItems(RelatedOpsItem &&value)
Definition OpsItem.h:191
OpsItem & WithVersion(Aws::String &&value)
Definition OpsItem.h:234
OpsItem & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:148
void SetActualStartTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:343
void SetOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
Definition OpsItem.h:295
void SetVersion(Aws::String &&value)
Definition OpsItem.h:231
void SetLastModifiedBy(const Aws::String &value)
Definition OpsItem.h:131
bool StatusHasBeenSet() const
Definition OpsItem.h:202
const Aws::Utils::DateTime & GetActualStartTime() const
Definition OpsItem.h:340
void SetOpsItemType(const char *value)
Definition OpsItem.h:93
OpsItem & WithLastModifiedBy(const char *value)
Definition OpsItem.h:136
bool OperationalDataHasBeenSet() const
Definition OpsItem.h:293
const Aws::Utils::DateTime & GetPlannedStartTime() const
Definition OpsItem.h:367
void SetCategory(const Aws::String &value)
Definition OpsItem.h:313
void SetVersion(const Aws::String &value)
Definition OpsItem.h:230
void SetSeverity(const char *value)
Definition OpsItem.h:329
OpsItem & WithPlannedStartTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:371
void SetPriority(int value)
Definition OpsItem.h:174
OpsItem & WithTitle(const char *value)
Definition OpsItem.h:250
void SetCategory(Aws::String &&value)
Definition OpsItem.h:314
const Aws::Utils::DateTime & GetCreatedTime() const
Definition OpsItem.h:103
const Aws::String & GetCreatedBy() const
Definition OpsItem.h:69
OpsItem & WithOpsItemId(const char *value)
Definition OpsItem.h:220
OpsItem & WithSource(const Aws::String &value)
Definition OpsItem.h:263
OpsItem & WithSeverity(Aws::String &&value)
Definition OpsItem.h:331
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
Definition OpsItem.h:292
OpsItem & WithActualStartTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:344
bool CategoryHasBeenSet() const
Definition OpsItem.h:312
const Aws::Utils::DateTime & GetPlannedEndTime() const
Definition OpsItem.h:381
void SetPlannedStartTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:370
OpsItem & WithDescription(const Aws::String &value)
Definition OpsItem.h:120
bool RelatedOpsItemsHasBeenSet() const
Definition OpsItem.h:185
OpsItem & WithSeverity(const char *value)
Definition OpsItem.h:332
void SetPlannedEndTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:383
OpsItem & WithSource(const char *value)
Definition OpsItem.h:265
OpsItem & WithCreatedBy(Aws::String &&value)
Definition OpsItem.h:75
bool OpsItemArnHasBeenSet() const
Definition OpsItem.h:394
const Aws::String & GetSource() const
Definition OpsItem.h:258
void SetRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
Definition OpsItem.h:186
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
Definition OpsItem.h:184
const Aws::String & GetLastModifiedBy() const
Definition OpsItem.h:129
OpsItem & WithOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
Definition OpsItem.h:296
OpsItem & WithOpsItemType(const Aws::String &value)
Definition OpsItem.h:94
bool PriorityHasBeenSet() const
Definition OpsItem.h:173
const Aws::String & GetOpsItemType() const
Definition OpsItem.h:89
OpsItem & WithOpsItemArn(const char *value)
Definition OpsItem.h:400
bool LastModifiedByHasBeenSet() const
Definition OpsItem.h:130
OpsItem & AddOperationalData(Aws::String &&key, OpsItemDataValue &&value)
Definition OpsItem.h:301
bool PlannedEndTimeHasBeenSet() const
Definition OpsItem.h:382
OpsItem & AddNotifications(OpsItemNotification &&value)
Definition OpsItem.h:164
OpsItem & WithNotifications(const Aws::Vector< OpsItemNotification > &value)
Definition OpsItem.h:161
OpsItem & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:107
void SetStatus(const OpsItemStatus &value)
Definition OpsItem.h:203
bool OpsItemIdHasBeenSet() const
Definition OpsItem.h:214
bool PlannedStartTimeHasBeenSet() const
Definition OpsItem.h:368
const Aws::String & GetSeverity() const
Definition OpsItem.h:325
void SetOpsItemId(Aws::String &&value)
Definition OpsItem.h:216
void SetCreatedBy(const Aws::String &value)
Definition OpsItem.h:71
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:145
OpsItem & WithLastModifiedBy(const Aws::String &value)
Definition OpsItem.h:134
void SetDescription(const Aws::String &value)
Definition OpsItem.h:117
OpsItem & WithOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
Definition OpsItem.h:297
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:106
bool CreatedByHasBeenSet() const
Definition OpsItem.h:70
OpsItem & WithActualStartTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:345
void SetCreatedBy(Aws::String &&value)
Definition OpsItem.h:72
bool ActualStartTimeHasBeenSet() const
Definition OpsItem.h:341
OpsItem & WithPlannedEndTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:385
OpsItem & WithCreatedBy(const char *value)
Definition OpsItem.h:76
OpsItem & AddNotifications(const OpsItemNotification &value)
Definition OpsItem.h:163
void SetSource(const Aws::String &value)
Definition OpsItem.h:260
OpsItem & AddOperationalData(Aws::String &&key, const OpsItemDataValue &value)
Definition OpsItem.h:299
const Aws::Utils::DateTime & GetActualEndTime() const
Definition OpsItem.h:353
OpsItem & WithActualEndTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:358
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActualEndTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:355
OpsItem & WithVersion(const Aws::String &value)
Definition OpsItem.h:233
OpsItem & WithActualEndTime(const Aws::Utils::DateTime &value)
Definition OpsItem.h:357
void SetVersion(const char *value)
Definition OpsItem.h:232
const Aws::String & GetVersion() const
Definition OpsItem.h:228
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition OpsItem.h:143
AWS_SSM_API OpsItem(Aws::Utils::Json::JsonView jsonValue)
OpsItem & WithOpsItemArn(const Aws::String &value)
Definition OpsItem.h:398
OpsItem & WithCategory(const char *value)
Definition OpsItem.h:318
void SetPlannedEndTime(Aws::Utils::DateTime &&value)
Definition OpsItem.h:384
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue