/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A count of OpsItems.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the IAM entity that created the * OpsItem.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } inline OpsItemSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} inline OpsItemSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} 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; } inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } inline OpsItemSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} 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; } inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } inline OpsItemSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} inline OpsItemSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} 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; } inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } inline OpsItemSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} 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; } inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } inline OpsItemSummary& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ /** *The impacted Amazon Web Services resource.
*/ inline const Aws::String& GetSource() const{ return m_source; } inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } inline OpsItemSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;} inline OpsItemSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} inline OpsItemSummary& WithSource(const char* value) { SetSource(value); return *this;} ///@} ///@{ /** *The OpsItem status.
*/ inline const OpsItemStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } inline void SetStatus(const OpsItemStatus& value) { m_statusHasBeenSet = true; m_status = value; } inline void SetStatus(OpsItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } inline OpsItemSummary& WithStatus(const OpsItemStatus& value) { SetStatus(value); return *this;} 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; } inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; } inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; } inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); } inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); } inline OpsItemSummary& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} inline OpsItemSummary& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;} 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; } inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } inline OpsItemSummary& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} inline OpsItemSummary& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} 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::MapA list of OpsItems by category.
*/ inline const Aws::String& GetCategory() const{ return m_category; } inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } inline OpsItemSummary& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} inline OpsItemSummary& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} 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; } inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } inline OpsItemSummary& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} inline OpsItemSummary& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} 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/insight
This type of OpsItem is used by * OpsCenter for aggregating and reporting on duplicate OpsItems.
The time a runbook workflow started. Currently reported only for the OpsItem
* type /aws/changerequest.
The time a runbook workflow ended. Currently reported only for the OpsItem
* type /aws/changerequest.
The time specified in a change request for a runbook workflow to start.
* Currently supported only for the OpsItem type
* /aws/changerequest.
The time specified in a change request for a runbook workflow to end.
* Currently supported only for the OpsItem type
* /aws/changerequest.