/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class DeleteInventoryResult { public: AWS_SSM_API DeleteInventoryResult(); AWS_SSM_API DeleteInventoryResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API DeleteInventoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

Every DeleteInventory operation is assigned a unique ID. This * option returns a unique ID. You can use this ID to query the status of a delete * operation. This option is useful for ensuring that a delete operation has * completed before you begin other operations.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

The name of the inventory data type specified in the request.

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

A summary of the delete operation. For more information about this summary, * see Deleting * custom inventory in the Amazon Web Services Systems Manager User * Guide.

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

A summary of the delete operation. For more information about this summary, * see Deleting * custom inventory in the Amazon Web Services Systems Manager User * Guide.

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

A summary of the delete operation. For more information about this summary, * see Deleting * custom inventory in the Amazon Web Services Systems Manager User * Guide.

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

A summary of the delete operation. For more information about this summary, * see Deleting * custom inventory in the Amazon Web Services Systems Manager User * Guide.

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

A summary of the delete operation. For more information about this summary, * see Deleting * custom inventory in the Amazon Web Services Systems Manager User * Guide.

*/ inline DeleteInventoryResult& WithDeletionSummary(InventoryDeletionSummary&& value) { SetDeletionSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteInventoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteInventoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteInventoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deletionId; Aws::String m_typeName; InventoryDeletionSummary m_deletionSummary; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws