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

Information about the delete operation.

See Also:

AWS * API Reference

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

The total number of items to delete. This count doesn't change during the * delete operation.

*/ inline int GetTotalCount() const{ return m_totalCount; } /** *

The total number of items to delete. This count doesn't change during the * delete operation.

*/ inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; } /** *

The total number of items to delete. This count doesn't change during the * delete operation.

*/ inline void SetTotalCount(int value) { m_totalCountHasBeenSet = true; m_totalCount = value; } /** *

The total number of items to delete. This count doesn't change during the * delete operation.

*/ inline InventoryDeletionSummary& WithTotalCount(int value) { SetTotalCount(value); return *this;} /** *

Remaining number of items to delete.

*/ inline int GetRemainingCount() const{ return m_remainingCount; } /** *

Remaining number of items to delete.

*/ inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; } /** *

Remaining number of items to delete.

*/ inline void SetRemainingCount(int value) { m_remainingCountHasBeenSet = true; m_remainingCount = value; } /** *

Remaining number of items to delete.

*/ inline InventoryDeletionSummary& WithRemainingCount(int value) { SetRemainingCount(value); return *this;} /** *

A list of counts and versions for deleted items.

*/ inline const Aws::Vector& GetSummaryItems() const{ return m_summaryItems; } /** *

A list of counts and versions for deleted items.

*/ inline bool SummaryItemsHasBeenSet() const { return m_summaryItemsHasBeenSet; } /** *

A list of counts and versions for deleted items.

*/ inline void SetSummaryItems(const Aws::Vector& value) { m_summaryItemsHasBeenSet = true; m_summaryItems = value; } /** *

A list of counts and versions for deleted items.

*/ inline void SetSummaryItems(Aws::Vector&& value) { m_summaryItemsHasBeenSet = true; m_summaryItems = std::move(value); } /** *

A list of counts and versions for deleted items.

*/ inline InventoryDeletionSummary& WithSummaryItems(const Aws::Vector& value) { SetSummaryItems(value); return *this;} /** *

A list of counts and versions for deleted items.

*/ inline InventoryDeletionSummary& WithSummaryItems(Aws::Vector&& value) { SetSummaryItems(std::move(value)); return *this;} /** *

A list of counts and versions for deleted items.

*/ inline InventoryDeletionSummary& AddSummaryItems(const InventoryDeletionSummaryItem& value) { m_summaryItemsHasBeenSet = true; m_summaryItems.push_back(value); return *this; } /** *

A list of counts and versions for deleted items.

*/ inline InventoryDeletionSummary& AddSummaryItems(InventoryDeletionSummaryItem&& value) { m_summaryItemsHasBeenSet = true; m_summaryItems.push_back(std::move(value)); return *this; } private: int m_totalCount; bool m_totalCountHasBeenSet = false; int m_remainingCount; bool m_remainingCountHasBeenSet = false; Aws::Vector m_summaryItems; bool m_summaryItemsHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws