/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Operations engineers and IT professionals use OpsCenter to view, investigate,
* and remediate operational issues impacting the performance and health of their
* AWS resources. For more information, see AWS
* Systems Manager OpsCenter in the AWS Systems Manager User Guide.
* See Also:
AWS API
* Reference
The ARN of the AWS account that created the OpsItem.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The ARN of the AWS account that created the OpsItem.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The ARN of the AWS account that created the OpsItem.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The ARN of the AWS account that created the OpsItem.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The ARN of the AWS account that created the OpsItem.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The ARN of the AWS account that created the OpsItem.
*/ inline OpsItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The ARN of the AWS account that created the OpsItem.
*/ inline OpsItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The ARN of the AWS account that created the OpsItem.
*/ inline OpsItem& 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 OpsItem& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The date and time the OpsItem was created.
*/ inline OpsItem& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The OpsItem description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The OpsItem description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The OpsItem description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The OpsItem description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The OpsItem description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The OpsItem description.
*/ inline OpsItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The OpsItem description.
*/ inline OpsItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The OpsItem description.
*/ inline OpsItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline OpsItem& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline OpsItem& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *The ARN of the AWS account that last updated the OpsItem.
*/ inline OpsItem& 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 OpsItem& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time the OpsItem was last updated.
*/ inline OpsItem& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 const Aws::VectorThe 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::VectorThe Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.
*/ inline void SetNotifications(Aws::VectorThe Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.
*/ inline OpsItem& WithNotifications(const Aws::VectorThe Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.
*/ inline OpsItem& WithNotifications(Aws::VectorThe Amazon Resource Name (ARN) of an SNS topic where notifications are sent * when this OpsItem is edited or changed.
*/ inline OpsItem& 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 OpsItem& 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 OpsItem& WithPriority(int value) { SetPriority(value); return *this;} /** *One or more OpsItems that share something in common with the current OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline const Aws::VectorOne or more OpsItems that share something in common with the current OpsItem. * 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 OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline void SetRelatedOpsItems(const Aws::VectorOne or more OpsItems that share something in common with the current OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline void SetRelatedOpsItems(Aws::VectorOne or more OpsItems that share something in common with the current OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline OpsItem& WithRelatedOpsItems(const Aws::VectorOne or more OpsItems that share something in common with the current OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline OpsItem& WithRelatedOpsItems(Aws::VectorOne or more OpsItems that share something in common with the current OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline OpsItem& 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 OpsItem. * For example, related OpsItems can include OpsItems with similar error messages, * impacted resources, or statuses for the impacted resource.
*/ inline OpsItem& 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.
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.
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.
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.
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.
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.
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 OpsItem& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} /** *The ID of the OpsItem.
*/ inline OpsItem& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;} /** *The ID of the OpsItem.
*/ inline OpsItem& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;} /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline OpsItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline OpsItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of this OpsItem. Each time the OpsItem is edited the version * number increments by one.
*/ inline OpsItem& WithVersion(const char* value) { SetVersion(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 OpsItem& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *A short heading that describes the nature of the OpsItem and the impacted * resource.
*/ inline OpsItem& 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 OpsItem& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline const Aws::String& GetSource() const{ return m_source; } /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline OpsItem& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline OpsItem& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The * impacted resource is a subset of source.
*/ inline OpsItem& WithSource(const char* value) { SetSource(value); return *this;} /** *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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline const Aws::String& GetCategory() const{ return m_category; } /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline OpsItem& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline OpsItem& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} /** *An OpsItem category. Category options include: Availability, Cost, * Performance, Recovery, Security.
*/ inline OpsItem& WithCategory(const char* value) { SetCategory(value); return *this;} /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline const Aws::String& GetSeverity() const{ return m_severity; } /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline OpsItem& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline OpsItem& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} /** *The severity of the OpsItem. Severity options range from 1 to 4.
*/ inline OpsItem& WithSeverity(const char* value) { SetSeverity(value); return *this;} private: Aws::String m_createdBy; bool m_createdByHasBeenSet; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet; Aws::Vector