7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/OpsItemDataValue.h>
13#include <aws/ssm/model/OpsItemNotification.h>
14#include <aws/ssm/model/OpsItemStatus.h>
15#include <aws/ssm/model/RelatedOpsItem.h>
65 template <
typename CreatedByT = Aws::String>
67 m_createdByHasBeenSet =
true;
68 m_createdBy = std::forward<CreatedByT>(value);
70 template <
typename CreatedByT = Aws::String>
89 template <
typename OpsItemTypeT = Aws::String>
91 m_opsItemTypeHasBeenSet =
true;
92 m_opsItemType = std::forward<OpsItemTypeT>(value);
94 template <
typename OpsItemTypeT = Aws::String>
107 template <
typename CreatedTimeT = Aws::Utils::DateTime>
109 m_createdTimeHasBeenSet =
true;
110 m_createdTime = std::forward<CreatedTimeT>(value);
112 template <
typename CreatedTimeT = Aws::Utils::DateTime>
125 template <
typename DescriptionT = Aws::String>
127 m_descriptionHasBeenSet =
true;
128 m_description = std::forward<DescriptionT>(value);
130 template <
typename DescriptionT = Aws::String>
143 template <
typename LastModifiedByT = Aws::String>
145 m_lastModifiedByHasBeenSet =
true;
146 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
148 template <
typename LastModifiedByT = Aws::String>
161 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
163 m_lastModifiedTimeHasBeenSet =
true;
164 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
166 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
181 template <
typename NotificationsT = Aws::Vector<OpsItemNotification>>
183 m_notificationsHasBeenSet =
true;
184 m_notifications = std::forward<NotificationsT>(value);
186 template <
typename NotificationsT = Aws::Vector<OpsItemNotification>>
191 template <
typename NotificationsT = OpsItemNotification>
193 m_notificationsHasBeenSet =
true;
194 m_notifications.emplace_back(std::forward<NotificationsT>(value));
207 m_priorityHasBeenSet =
true;
224 template <
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
226 m_relatedOpsItemsHasBeenSet =
true;
227 m_relatedOpsItems = std::forward<RelatedOpsItemsT>(value);
229 template <
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
234 template <
typename RelatedOpsItemsT = RelatedOpsItem>
236 m_relatedOpsItemsHasBeenSet =
true;
237 m_relatedOpsItems.emplace_back(std::forward<RelatedOpsItemsT>(value));
252 m_statusHasBeenSet =
true;
267 template <
typename OpsItemIdT = Aws::String>
269 m_opsItemIdHasBeenSet =
true;
270 m_opsItemId = std::forward<OpsItemIdT>(value);
272 template <
typename OpsItemIdT = Aws::String>
286 template <
typename VersionT = Aws::String>
288 m_versionHasBeenSet =
true;
289 m_version = std::forward<VersionT>(value);
291 template <
typename VersionT = Aws::String>
305 template <
typename TitleT = Aws::String>
307 m_titleHasBeenSet =
true;
308 m_title = std::forward<TitleT>(value);
310 template <
typename TitleT = Aws::String>
312 SetTitle(std::forward<TitleT>(value));
324 template <
typename SourceT = Aws::String>
326 m_sourceHasBeenSet =
true;
327 m_source = std::forward<SourceT>(value);
329 template <
typename SourceT = Aws::String>
362 template <
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
364 m_operationalDataHasBeenSet =
true;
365 m_operationalData = std::forward<OperationalDataT>(value);
367 template <
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
372 template <
typename OperationalDataKeyT = Aws::String,
typename OperationalDataValueT = OpsItemDataValue>
374 m_operationalDataHasBeenSet =
true;
375 m_operationalData.emplace(std::forward<OperationalDataKeyT>(key), std::forward<OperationalDataValueT>(value));
387 template <
typename CategoryT = Aws::String>
389 m_categoryHasBeenSet =
true;
390 m_category = std::forward<CategoryT>(value);
392 template <
typename CategoryT = Aws::String>
405 template <
typename SeverityT = Aws::String>
407 m_severityHasBeenSet =
true;
408 m_severity = std::forward<SeverityT>(value);
410 template <
typename SeverityT = Aws::String>
424 template <
typename ActualStartTimeT = Aws::Utils::DateTime>
426 m_actualStartTimeHasBeenSet =
true;
427 m_actualStartTime = std::forward<ActualStartTimeT>(value);
429 template <
typename ActualStartTimeT = Aws::Utils::DateTime>
443 template <
typename ActualEndTimeT = Aws::Utils::DateTime>
445 m_actualEndTimeHasBeenSet =
true;
446 m_actualEndTime = std::forward<ActualEndTimeT>(value);
448 template <
typename ActualEndTimeT = Aws::Utils::DateTime>
463 template <
typename PlannedStartTimeT = Aws::Utils::DateTime>
465 m_plannedStartTimeHasBeenSet =
true;
466 m_plannedStartTime = std::forward<PlannedStartTimeT>(value);
468 template <
typename PlannedStartTimeT = Aws::Utils::DateTime>
483 template <
typename PlannedEndTimeT = Aws::Utils::DateTime>
485 m_plannedEndTimeHasBeenSet =
true;
486 m_plannedEndTime = std::forward<PlannedEndTimeT>(value);
488 template <
typename PlannedEndTimeT = Aws::Utils::DateTime>
501 template <
typename OpsItemArnT = Aws::String>
503 m_opsItemArnHasBeenSet =
true;
504 m_opsItemArn = std::forward<OpsItemArnT>(value);
506 template <
typename OpsItemArnT = Aws::String>
556 bool m_createdByHasBeenSet =
false;
557 bool m_opsItemTypeHasBeenSet =
false;
558 bool m_createdTimeHasBeenSet =
false;
559 bool m_descriptionHasBeenSet =
false;
560 bool m_lastModifiedByHasBeenSet =
false;
561 bool m_lastModifiedTimeHasBeenSet =
false;
562 bool m_notificationsHasBeenSet =
false;
563 bool m_priorityHasBeenSet =
false;
564 bool m_relatedOpsItemsHasBeenSet =
false;
565 bool m_statusHasBeenSet =
false;
566 bool m_opsItemIdHasBeenSet =
false;
567 bool m_versionHasBeenSet =
false;
568 bool m_titleHasBeenSet =
false;
569 bool m_sourceHasBeenSet =
false;
570 bool m_operationalDataHasBeenSet =
false;
571 bool m_categoryHasBeenSet =
false;
572 bool m_severityHasBeenSet =
false;
573 bool m_actualStartTimeHasBeenSet =
false;
574 bool m_actualEndTimeHasBeenSet =
false;
575 bool m_plannedStartTimeHasBeenSet =
false;
576 bool m_plannedEndTimeHasBeenSet =
false;
577 bool m_opsItemArnHasBeenSet =
false;
void SetTitle(TitleT &&value)
bool SeverityHasBeenSet() const
void SetSeverity(SeverityT &&value)
const Aws::String & GetOpsItemId() const
void SetOpsItemArn(OpsItemArnT &&value)
AWS_SSM_API OpsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
OpsItem & WithTitle(TitleT &&value)
bool OpsItemTypeHasBeenSet() const
bool SourceHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetStatus(OpsItemStatus value)
void SetCreatedBy(CreatedByT &&value)
OpsItem & WithVersion(VersionT &&value)
const Aws::Vector< OpsItemNotification > & GetNotifications() const
OpsItem & WithPlannedEndTime(PlannedEndTimeT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetVersion(VersionT &&value)
OpsItem & WithPriority(int value)
bool LastModifiedTimeHasBeenSet() const
OpsItem & WithPlannedStartTime(PlannedStartTimeT &&value)
OpsItem & AddNotifications(NotificationsT &&value)
OpsItem & WithOpsItemId(OpsItemIdT &&value)
OpsItem & WithActualStartTime(ActualStartTimeT &&value)
void SetActualStartTime(ActualStartTimeT &&value)
const Aws::String & GetDescription() const
bool NotificationsHasBeenSet() const
OpsItemStatus GetStatus() const
const Aws::String & GetCategory() const
OpsItem & WithOpsItemType(OpsItemTypeT &&value)
void SetOperationalData(OperationalDataT &&value)
OpsItem & WithStatus(OpsItemStatus value)
void SetOpsItemId(OpsItemIdT &&value)
const Aws::String & GetTitle() const
bool CreatedTimeHasBeenSet() const
bool ActualEndTimeHasBeenSet() const
OpsItem & WithActualEndTime(ActualEndTimeT &&value)
const Aws::String & GetOpsItemArn() const
void SetNotifications(NotificationsT &&value)
bool VersionHasBeenSet() const
bool TitleHasBeenSet() const
OpsItem & WithLastModifiedBy(LastModifiedByT &&value)
void SetDescription(DescriptionT &&value)
void SetPlannedStartTime(PlannedStartTimeT &&value)
bool DescriptionHasBeenSet() const
void SetOpsItemType(OpsItemTypeT &&value)
OpsItem & WithSeverity(SeverityT &&value)
bool StatusHasBeenSet() const
OpsItem & WithOperationalData(OperationalDataT &&value)
AWS_SSM_API OpsItem()=default
const Aws::Utils::DateTime & GetActualStartTime() const
bool OperationalDataHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
OpsItem & WithDescription(DescriptionT &&value)
void SetPriority(int value)
OpsItem & AddOperationalData(OperationalDataKeyT &&key, OperationalDataValueT &&value)
void SetSource(SourceT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetCreatedBy() const
OpsItem & WithOpsItemArn(OpsItemArnT &&value)
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
OpsItem & WithCreatedBy(CreatedByT &&value)
bool CategoryHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedEndTime() const
void SetPlannedEndTime(PlannedEndTimeT &&value)
bool RelatedOpsItemsHasBeenSet() const
OpsItem & WithCreatedTime(CreatedTimeT &&value)
bool OpsItemArnHasBeenSet() const
const Aws::String & GetSource() const
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
OpsItem & WithCategory(CategoryT &&value)
const Aws::String & GetLastModifiedBy() const
bool PriorityHasBeenSet() const
const Aws::String & GetOpsItemType() const
bool LastModifiedByHasBeenSet() const
OpsItem & WithNotifications(NotificationsT &&value)
bool PlannedEndTimeHasBeenSet() const
void SetCategory(CategoryT &&value)
OpsItem & WithSource(SourceT &&value)
bool OpsItemIdHasBeenSet() const
bool PlannedStartTimeHasBeenSet() const
const Aws::String & GetSeverity() const
void SetCreatedTime(CreatedTimeT &&value)
bool CreatedByHasBeenSet() const
void SetRelatedOpsItems(RelatedOpsItemsT &&value)
bool ActualStartTimeHasBeenSet() const
OpsItem & AddRelatedOpsItems(RelatedOpsItemsT &&value)
const Aws::Utils::DateTime & GetActualEndTime() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
OpsItem & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetVersion() const
void SetActualEndTime(ActualEndTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SSM_API OpsItem(Aws::Utils::Json::JsonView jsonValue)
OpsItem & WithRelatedOpsItems(RelatedOpsItemsT &&value)
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