/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

A count of OpsItems.

See Also:

AWS * API Reference

*/ class OpsItemSummary { public: AWS_SSM_API OpsItemSummary(); AWS_SSM_API OpsItemSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API OpsItemSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The date and time the OpsItem was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The date and time the OpsItem was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The date and time the OpsItem was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The date and time the OpsItem was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The date and time the OpsItem was created.

*/ inline OpsItemSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The date and time the OpsItem was created.

*/ inline OpsItemSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.

*/ inline OpsItemSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *

The date and time the OpsItem was last updated.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The date and time the OpsItem was last updated.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The date and time the OpsItem was last updated.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The date and time the OpsItem was last updated.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The date and time the OpsItem was last updated.

*/ inline OpsItemSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The date and time the OpsItem was last updated.

*/ inline OpsItemSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The importance of this OpsItem in relation to other OpsItems in the * system.

*/ inline int GetPriority() const{ return m_priority; } /** *

The importance of this OpsItem in relation to other OpsItems in the * system.

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

The importance of this OpsItem in relation to other OpsItems in the * system.

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

The importance of this OpsItem in relation to other OpsItems in the * system.

*/ inline OpsItemSummary& WithPriority(int value) { SetPriority(value); return *this;} /** *

The impacted Amazon Web Services resource.

*/ inline const Aws::String& GetSource() const{ return m_source; } /** *

The impacted Amazon Web Services resource.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The impacted Amazon Web Services resource.

*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The impacted Amazon Web Services resource.

*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The impacted Amazon Web Services resource.

*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *

The impacted Amazon Web Services resource.

*/ inline OpsItemSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

The impacted Amazon Web Services resource.

*/ inline OpsItemSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

The impacted Amazon Web Services resource.

*/ inline OpsItemSummary& WithSource(const char* value) { SetSource(value); return *this;} /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline const OpsItemStatus& GetStatus() const{ return m_status; } /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline void SetStatus(const OpsItemStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline void SetStatus(OpsItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline OpsItemSummary& WithStatus(const OpsItemStatus& value) { SetStatus(value); return *this;} /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved.

*/ inline OpsItemSummary& WithStatus(OpsItemStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The ID of the OpsItem.

*/ inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; } /** *

The ID of the OpsItem.

*/ inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; } /** *

The ID of the OpsItem.

*/ inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; } /** *

The ID of the OpsItem.

*/ inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); } /** *

The ID of the OpsItem.

*/ inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); } /** *

The ID of the OpsItem.

*/ inline OpsItemSummary& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} /** *

The ID of the OpsItem.

*/ inline OpsItemSummary& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;} /** *

The ID of the OpsItem.

*/ inline OpsItemSummary& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;} /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline OpsItemSummary& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline OpsItemSummary& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *

A short heading that describes the nature of the OpsItem and the impacted * resource.

*/ inline OpsItemSummary& WithTitle(const char* value) { SetTitle(value); return *this;} /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline const Aws::Map& GetOperationalData() const{ return m_operationalData; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline bool OperationalDataHasBeenSet() const { return m_operationalDataHasBeenSet; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline void SetOperationalData(const Aws::Map& value) { m_operationalDataHasBeenSet = true; m_operationalData = value; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline void SetOperationalData(Aws::Map&& value) { m_operationalDataHasBeenSet = true; m_operationalData = std::move(value); } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& WithOperationalData(const Aws::Map& value) { SetOperationalData(value); return *this;} /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& WithOperationalData(Aws::Map&& value) { SetOperationalData(std::move(value)); return *this;} /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(const Aws::String& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(Aws::String&& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), value); return *this; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(const Aws::String& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(Aws::String&& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), std::move(value)); return *this; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(const char* key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; } /** *

Operational data is custom data that provides useful reference details about * the OpsItem.

*/ inline OpsItemSummary& AddOperationalData(const char* key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; } /** *

A list of OpsItems by category.

*/ inline const Aws::String& GetCategory() const{ return m_category; } /** *

A list of OpsItems by category.

*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *

A list of OpsItems by category.

*/ inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } /** *

A list of OpsItems by category.

*/ inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *

A list of OpsItems by category.

*/ inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } /** *

A list of OpsItems by category.

*/ inline OpsItemSummary& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} /** *

A list of OpsItems by category.

*/ inline OpsItemSummary& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} /** *

A list of OpsItems by category.

*/ inline OpsItemSummary& WithCategory(const char* value) { SetCategory(value); return *this;} /** *

A list of OpsItems by severity.

*/ inline const Aws::String& GetSeverity() const{ return m_severity; } /** *

A list of OpsItems by severity.

*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *

A list of OpsItems by severity.

*/ inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } /** *

A list of OpsItems by severity.

*/ inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *

A list of OpsItems by severity.

*/ inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } /** *

A list of OpsItems by severity.

*/ inline OpsItemSummary& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} /** *

A list of OpsItems by severity.

*/ inline OpsItemSummary& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} /** *

A list of OpsItems by severity.

*/ inline OpsItemSummary& WithSeverity(const char* value) { SetSeverity(value); return *this;} /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline const Aws::String& GetOpsItemType() const{ return m_opsItemType; } /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline bool OpsItemTypeHasBeenSet() const { return m_opsItemTypeHasBeenSet; } /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline void SetOpsItemType(const Aws::String& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = value; } /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline void SetOpsItemType(Aws::String&& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = std::move(value); } /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline void SetOpsItemType(const char* value) { m_opsItemTypeHasBeenSet = true; m_opsItemType.assign(value); } /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline OpsItemSummary& WithOpsItemType(const Aws::String& value) { SetOpsItemType(value); return *this;} /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline OpsItemSummary& WithOpsItemType(Aws::String&& value) { SetOpsItemType(std::move(value)); return *this;} /** *

The type of OpsItem. Systems Manager supports the following types of * OpsItems:

  • /aws/issue

    This type of OpsItem * is used for default OpsItems created by OpsCenter.

  • * /aws/changerequest

    This type of OpsItem is used by Change * Manager for reviewing and approving or rejecting change requests.

  • *
  • /aws/insights

    This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.

*/ inline OpsItemSummary& WithOpsItemType(const char* value) { SetOpsItemType(value); return *this;} /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline const Aws::Utils::DateTime& GetActualStartTime() const{ return m_actualStartTime; } /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline bool ActualStartTimeHasBeenSet() const { return m_actualStartTimeHasBeenSet; } /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline void SetActualStartTime(const Aws::Utils::DateTime& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = value; } /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline void SetActualStartTime(Aws::Utils::DateTime&& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = std::move(value); } /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline OpsItemSummary& WithActualStartTime(const Aws::Utils::DateTime& value) { SetActualStartTime(value); return *this;} /** *

The time a runbook workflow started. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline OpsItemSummary& WithActualStartTime(Aws::Utils::DateTime&& value) { SetActualStartTime(std::move(value)); return *this;} /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline const Aws::Utils::DateTime& GetActualEndTime() const{ return m_actualEndTime; } /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline bool ActualEndTimeHasBeenSet() const { return m_actualEndTimeHasBeenSet; } /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline void SetActualEndTime(const Aws::Utils::DateTime& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = value; } /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline void SetActualEndTime(Aws::Utils::DateTime&& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = std::move(value); } /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline OpsItemSummary& WithActualEndTime(const Aws::Utils::DateTime& value) { SetActualEndTime(value); return *this;} /** *

The time a runbook workflow ended. Currently reported only for the OpsItem * type /aws/changerequest.

*/ inline OpsItemSummary& WithActualEndTime(Aws::Utils::DateTime&& value) { SetActualEndTime(std::move(value)); return *this;} /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline const Aws::Utils::DateTime& GetPlannedStartTime() const{ return m_plannedStartTime; } /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline bool PlannedStartTimeHasBeenSet() const { return m_plannedStartTimeHasBeenSet; } /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline void SetPlannedStartTime(const Aws::Utils::DateTime& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = value; } /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline void SetPlannedStartTime(Aws::Utils::DateTime&& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = std::move(value); } /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline OpsItemSummary& WithPlannedStartTime(const Aws::Utils::DateTime& value) { SetPlannedStartTime(value); return *this;} /** *

The time specified in a change request for a runbook workflow to start. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline OpsItemSummary& WithPlannedStartTime(Aws::Utils::DateTime&& value) { SetPlannedStartTime(std::move(value)); return *this;} /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline const Aws::Utils::DateTime& GetPlannedEndTime() const{ return m_plannedEndTime; } /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline bool PlannedEndTimeHasBeenSet() const { return m_plannedEndTimeHasBeenSet; } /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline void SetPlannedEndTime(const Aws::Utils::DateTime& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = value; } /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline void SetPlannedEndTime(Aws::Utils::DateTime&& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = std::move(value); } /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline OpsItemSummary& WithPlannedEndTime(const Aws::Utils::DateTime& value) { SetPlannedEndTime(value); return *this;} /** *

The time specified in a change request for a runbook workflow to end. * Currently supported only for the OpsItem type * /aws/changerequest.

*/ inline OpsItemSummary& WithPlannedEndTime(Aws::Utils::DateTime&& value) { SetPlannedEndTime(std::move(value)); return *this;} private: Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; Aws::String m_source; bool m_sourceHasBeenSet = false; OpsItemStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_opsItemId; bool m_opsItemIdHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::Map m_operationalData; bool m_operationalDataHasBeenSet = false; Aws::String m_category; bool m_categoryHasBeenSet = false; Aws::String m_severity; bool m_severityHasBeenSet = false; Aws::String m_opsItemType; bool m_opsItemTypeHasBeenSet = false; Aws::Utils::DateTime m_actualStartTime; bool m_actualStartTimeHasBeenSet = false; Aws::Utils::DateTime m_actualEndTime; bool m_actualEndTimeHasBeenSet = false; Aws::Utils::DateTime m_plannedStartTime; bool m_plannedStartTimeHasBeenSet = false; Aws::Utils::DateTime m_plannedEndTime; bool m_plannedEndTimeHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws