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

Status information returned by the DeleteInventory * operation.

See Also:

AWS * API Reference

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

The deletion ID returned by the DeleteInventory operation.

*/ inline const Aws::String& GetDeletionId() const{ return m_deletionId; } /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline bool DeletionIdHasBeenSet() const { return m_deletionIdHasBeenSet; } /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline void SetDeletionId(const Aws::String& value) { m_deletionIdHasBeenSet = true; m_deletionId = value; } /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline void SetDeletionId(Aws::String&& value) { m_deletionIdHasBeenSet = true; m_deletionId = std::move(value); } /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline void SetDeletionId(const char* value) { m_deletionIdHasBeenSet = true; m_deletionId.assign(value); } /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline InventoryDeletionStatusItem& WithDeletionId(const Aws::String& value) { SetDeletionId(value); return *this;} /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline InventoryDeletionStatusItem& WithDeletionId(Aws::String&& value) { SetDeletionId(std::move(value)); return *this;} /** *

The deletion ID returned by the DeleteInventory operation.

*/ inline InventoryDeletionStatusItem& WithDeletionId(const char* value) { SetDeletionId(value); return *this;} /** *

The name of the inventory data type.

*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *

The name of the inventory data type.

*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *

The name of the inventory data type.

*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *

The name of the inventory data type.

*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *

The name of the inventory data type.

*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *

The name of the inventory data type.

*/ inline InventoryDeletionStatusItem& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *

The name of the inventory data type.

*/ inline InventoryDeletionStatusItem& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *

The name of the inventory data type.

*/ inline InventoryDeletionStatusItem& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *

The UTC timestamp when the delete operation started.

*/ inline const Aws::Utils::DateTime& GetDeletionStartTime() const{ return m_deletionStartTime; } /** *

The UTC timestamp when the delete operation started.

*/ inline bool DeletionStartTimeHasBeenSet() const { return m_deletionStartTimeHasBeenSet; } /** *

The UTC timestamp when the delete operation started.

*/ inline void SetDeletionStartTime(const Aws::Utils::DateTime& value) { m_deletionStartTimeHasBeenSet = true; m_deletionStartTime = value; } /** *

The UTC timestamp when the delete operation started.

*/ inline void SetDeletionStartTime(Aws::Utils::DateTime&& value) { m_deletionStartTimeHasBeenSet = true; m_deletionStartTime = std::move(value); } /** *

The UTC timestamp when the delete operation started.

*/ inline InventoryDeletionStatusItem& WithDeletionStartTime(const Aws::Utils::DateTime& value) { SetDeletionStartTime(value); return *this;} /** *

The UTC timestamp when the delete operation started.

*/ inline InventoryDeletionStatusItem& WithDeletionStartTime(Aws::Utils::DateTime&& value) { SetDeletionStartTime(std::move(value)); return *this;} /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline const InventoryDeletionStatus& GetLastStatus() const{ return m_lastStatus; } /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; } /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline void SetLastStatus(const InventoryDeletionStatus& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; } /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline void SetLastStatus(InventoryDeletionStatus&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); } /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline InventoryDeletionStatusItem& WithLastStatus(const InventoryDeletionStatus& value) { SetLastStatus(value); return *this;} /** *

The status of the operation. Possible values are InProgress and Complete.

*/ inline InventoryDeletionStatusItem& WithLastStatus(InventoryDeletionStatus&& value) { SetLastStatus(std::move(value)); return *this;} /** *

Information about the status.

*/ inline const Aws::String& GetLastStatusMessage() const{ return m_lastStatusMessage; } /** *

Information about the status.

*/ inline bool LastStatusMessageHasBeenSet() const { return m_lastStatusMessageHasBeenSet; } /** *

Information about the status.

*/ inline void SetLastStatusMessage(const Aws::String& value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage = value; } /** *

Information about the status.

*/ inline void SetLastStatusMessage(Aws::String&& value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage = std::move(value); } /** *

Information about the status.

*/ inline void SetLastStatusMessage(const char* value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage.assign(value); } /** *

Information about the status.

*/ inline InventoryDeletionStatusItem& WithLastStatusMessage(const Aws::String& value) { SetLastStatusMessage(value); return *this;} /** *

Information about the status.

*/ inline InventoryDeletionStatusItem& WithLastStatusMessage(Aws::String&& value) { SetLastStatusMessage(std::move(value)); return *this;} /** *

Information about the status.

*/ inline InventoryDeletionStatusItem& WithLastStatusMessage(const char* value) { SetLastStatusMessage(value); return *this;} /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline const InventoryDeletionSummary& GetDeletionSummary() const{ return m_deletionSummary; } /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline bool DeletionSummaryHasBeenSet() const { return m_deletionSummaryHasBeenSet; } /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline void SetDeletionSummary(const InventoryDeletionSummary& value) { m_deletionSummaryHasBeenSet = true; m_deletionSummary = value; } /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline void SetDeletionSummary(InventoryDeletionSummary&& value) { m_deletionSummaryHasBeenSet = true; m_deletionSummary = std::move(value); } /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline InventoryDeletionStatusItem& WithDeletionSummary(const InventoryDeletionSummary& value) { SetDeletionSummary(value); return *this;} /** *

Information about the delete operation. For more information about this * summary, see Understanding * the delete inventory summary in the Amazon Web Services Systems Manager * User Guide.

*/ inline InventoryDeletionStatusItem& WithDeletionSummary(InventoryDeletionSummary&& value) { SetDeletionSummary(std::move(value)); return *this;} /** *

The UTC timestamp of when the last status report.

*/ inline const Aws::Utils::DateTime& GetLastStatusUpdateTime() const{ return m_lastStatusUpdateTime; } /** *

The UTC timestamp of when the last status report.

*/ inline bool LastStatusUpdateTimeHasBeenSet() const { return m_lastStatusUpdateTimeHasBeenSet; } /** *

The UTC timestamp of when the last status report.

*/ inline void SetLastStatusUpdateTime(const Aws::Utils::DateTime& value) { m_lastStatusUpdateTimeHasBeenSet = true; m_lastStatusUpdateTime = value; } /** *

The UTC timestamp of when the last status report.

*/ inline void SetLastStatusUpdateTime(Aws::Utils::DateTime&& value) { m_lastStatusUpdateTimeHasBeenSet = true; m_lastStatusUpdateTime = std::move(value); } /** *

The UTC timestamp of when the last status report.

*/ inline InventoryDeletionStatusItem& WithLastStatusUpdateTime(const Aws::Utils::DateTime& value) { SetLastStatusUpdateTime(value); return *this;} /** *

The UTC timestamp of when the last status report.

*/ inline InventoryDeletionStatusItem& WithLastStatusUpdateTime(Aws::Utils::DateTime&& value) { SetLastStatusUpdateTime(std::move(value)); return *this;} private: Aws::String m_deletionId; bool m_deletionIdHasBeenSet = false; Aws::String m_typeName; bool m_typeNameHasBeenSet = false; Aws::Utils::DateTime m_deletionStartTime; bool m_deletionStartTimeHasBeenSet = false; InventoryDeletionStatus m_lastStatus; bool m_lastStatusHasBeenSet = false; Aws::String m_lastStatusMessage; bool m_lastStatusMessageHasBeenSet = false; InventoryDeletionSummary m_deletionSummary; bool m_deletionSummaryHasBeenSet = false; Aws::Utils::DateTime m_lastStatusUpdateTime; bool m_lastStatusUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws