/** * 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 #include #include #include namespace Aws { namespace SSM { namespace Model { /** */ class AWS_SSM_API UpdateOpsItemRequest : public SSMRequest { public: UpdateOpsItemRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateOpsItem"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline UpdateOpsItemRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline UpdateOpsItemRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Update the information about the OpsItem. Provide enough information so that * users reading this OpsItem for the first time understand the issue.

*/ inline UpdateOpsItemRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Add new keys or edit existing key-value pairs of the OperationalData map in * the OpsItem object.

Operational data is custom data that provides useful * reference details about the OpsItem. For example, you can specify log files, * error strings, license keys, troubleshooting tips, or other relevant data. You * enter operational data as key-value pairs. The key has a maximum length of 128 * characters. The value has a maximum size of 20 KB.

*

Operational data keys can't begin with the following: amazon, aws, * amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to * make the data searchable by other users in the account or you can restrict * search access. Searchable data means that all users with access to the OpsItem * Overview page (as provided by the DescribeOpsItems API action) can view * and search on the specified data. Operational data that is not searchable is * only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API action).

Use the /aws/resources key in * OperationalData to specify a related resource in the request. Use the * /aws/automations key in OperationalData to associate an Automation * runbook with the OpsItem. To view AWS CLI example commands that use these keys, * see Creating * OpsItems manually in the AWS Systems Manager User Guide.

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

Keys that you want to remove from the OperationalData map.

*/ inline const Aws::Vector& GetOperationalDataToDelete() const{ return m_operationalDataToDelete; } /** *

Keys that you want to remove from the OperationalData map.

*/ inline bool OperationalDataToDeleteHasBeenSet() const { return m_operationalDataToDeleteHasBeenSet; } /** *

Keys that you want to remove from the OperationalData map.

*/ inline void SetOperationalDataToDelete(const Aws::Vector& value) { m_operationalDataToDeleteHasBeenSet = true; m_operationalDataToDelete = value; } /** *

Keys that you want to remove from the OperationalData map.

*/ inline void SetOperationalDataToDelete(Aws::Vector&& value) { m_operationalDataToDeleteHasBeenSet = true; m_operationalDataToDelete = std::move(value); } /** *

Keys that you want to remove from the OperationalData map.

*/ inline UpdateOpsItemRequest& WithOperationalDataToDelete(const Aws::Vector& value) { SetOperationalDataToDelete(value); return *this;} /** *

Keys that you want to remove from the OperationalData map.

*/ inline UpdateOpsItemRequest& WithOperationalDataToDelete(Aws::Vector&& value) { SetOperationalDataToDelete(std::move(value)); return *this;} /** *

Keys that you want to remove from the OperationalData map.

*/ inline UpdateOpsItemRequest& AddOperationalDataToDelete(const Aws::String& value) { m_operationalDataToDeleteHasBeenSet = true; m_operationalDataToDelete.push_back(value); return *this; } /** *

Keys that you want to remove from the OperationalData map.

*/ inline UpdateOpsItemRequest& AddOperationalDataToDelete(Aws::String&& value) { m_operationalDataToDeleteHasBeenSet = true; m_operationalDataToDelete.push_back(std::move(value)); return *this; } /** *

Keys that you want to remove from the OperationalData map.

*/ inline UpdateOpsItemRequest& AddOperationalDataToDelete(const char* value) { m_operationalDataToDeleteHasBeenSet = true; m_operationalDataToDelete.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline const Aws::Vector& GetNotifications() const{ return m_notifications; } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline void SetNotifications(const Aws::Vector& value) { m_notificationsHasBeenSet = true; m_notifications = value; } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline void SetNotifications(Aws::Vector&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline UpdateOpsItemRequest& WithNotifications(const Aws::Vector& value) { SetNotifications(value); return *this;} /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline UpdateOpsItemRequest& WithNotifications(Aws::Vector&& value) { SetNotifications(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline UpdateOpsItemRequest& AddNotifications(const OpsItemNotification& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.

*/ inline UpdateOpsItemRequest& AddNotifications(OpsItemNotification&& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(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 UpdateOpsItemRequest& WithPriority(int value) { SetPriority(value); return *this;} /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline const Aws::Vector& GetRelatedOpsItems() const{ return m_relatedOpsItems; } /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline bool RelatedOpsItemsHasBeenSet() const { return m_relatedOpsItemsHasBeenSet; } /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline void SetRelatedOpsItems(const Aws::Vector& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems = value; } /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline void SetRelatedOpsItems(Aws::Vector&& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems = std::move(value); } /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline UpdateOpsItemRequest& WithRelatedOpsItems(const Aws::Vector& value) { SetRelatedOpsItems(value); return *this;} /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline UpdateOpsItemRequest& WithRelatedOpsItems(Aws::Vector&& value) { SetRelatedOpsItems(std::move(value)); return *this;} /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline UpdateOpsItemRequest& AddRelatedOpsItems(const RelatedOpsItem& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems.push_back(value); return *this; } /** *

One or more OpsItems that share something in common with the current * OpsItems. For example, related OpsItems can include OpsItems with similar error * messages, impacted resources, or statuses for the impacted resource.

*/ inline UpdateOpsItemRequest& AddRelatedOpsItems(RelatedOpsItem&& value) { m_relatedOpsItemsHasBeenSet = true; m_relatedOpsItems.push_back(std::move(value)); return *this; } /** *

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

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

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

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

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

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

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

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

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

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

The OpsItem status. Status can be Open, In * Progress, or Resolved. For more information, see Editing * OpsItem details in the AWS Systems Manager User Guide.

*/ inline UpdateOpsItemRequest& 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 UpdateOpsItemRequest& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} /** *

The ID of the OpsItem.

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

The ID of the OpsItem.

*/ inline UpdateOpsItemRequest& 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 UpdateOpsItemRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *

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

*/ inline UpdateOpsItemRequest& 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 UpdateOpsItemRequest& WithTitle(const char* value) { SetTitle(value); return *this;} /** *

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new category for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

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

Specify a new severity for an OpsItem.

*/ inline UpdateOpsItemRequest& WithSeverity(const char* value) { SetSeverity(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet; Aws::Map m_operationalData; bool m_operationalDataHasBeenSet; Aws::Vector m_operationalDataToDelete; bool m_operationalDataToDeleteHasBeenSet; Aws::Vector m_notifications; bool m_notificationsHasBeenSet; int m_priority; bool m_priorityHasBeenSet; Aws::Vector m_relatedOpsItems; bool m_relatedOpsItemsHasBeenSet; OpsItemStatus m_status; bool m_statusHasBeenSet; Aws::String m_opsItemId; bool m_opsItemIdHasBeenSet; Aws::String m_title; bool m_titleHasBeenSet; Aws::String m_category; bool m_categoryHasBeenSet; Aws::String m_severity; bool m_severityHasBeenSet; }; } // namespace Model } // namespace SSM } // namespace Aws