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

Either a count, remaining count, or a version number in a delete inventory * summary.

See Also:

AWS * API Reference

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

The inventory type version.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The inventory type version.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The inventory type version.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

The inventory type version.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

The inventory type version.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

The inventory type version.

*/ inline InventoryDeletionSummaryItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The inventory type version.

*/ inline InventoryDeletionSummaryItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The inventory type version.

*/ inline InventoryDeletionSummaryItem& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

A count of the number of deleted items.

*/ inline int GetCount() const{ return m_count; } /** *

A count of the number of deleted items.

*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *

A count of the number of deleted items.

*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *

A count of the number of deleted items.

*/ inline InventoryDeletionSummaryItem& WithCount(int value) { SetCount(value); return *this;} /** *

The remaining number of items to delete.

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

The remaining number of items to delete.

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

The remaining number of items to delete.

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

The remaining number of items to delete.

*/ inline InventoryDeletionSummaryItem& WithRemainingCount(int value) { SetRemainingCount(value); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; int m_remainingCount; bool m_remainingCountHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws