AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryDeletionSummary.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/model/InventoryDeletionSummaryItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
46 inline int GetTotalCount() const{ return m_totalCount; }
47 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
48 inline void SetTotalCount(int value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
49 inline InventoryDeletionSummary& WithTotalCount(int value) { SetTotalCount(value); return *this;}
51
53
56 inline int GetRemainingCount() const{ return m_remainingCount; }
57 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
58 inline void SetRemainingCount(int value) { m_remainingCountHasBeenSet = true; m_remainingCount = value; }
59 inline InventoryDeletionSummary& WithRemainingCount(int value) { SetRemainingCount(value); return *this;}
61
63
66 inline const Aws::Vector<InventoryDeletionSummaryItem>& GetSummaryItems() const{ return m_summaryItems; }
67 inline bool SummaryItemsHasBeenSet() const { return m_summaryItemsHasBeenSet; }
68 inline void SetSummaryItems(const Aws::Vector<InventoryDeletionSummaryItem>& value) { m_summaryItemsHasBeenSet = true; m_summaryItems = value; }
69 inline void SetSummaryItems(Aws::Vector<InventoryDeletionSummaryItem>&& value) { m_summaryItemsHasBeenSet = true; m_summaryItems = std::move(value); }
72 inline InventoryDeletionSummary& AddSummaryItems(const InventoryDeletionSummaryItem& value) { m_summaryItemsHasBeenSet = true; m_summaryItems.push_back(value); return *this; }
73 inline InventoryDeletionSummary& AddSummaryItems(InventoryDeletionSummaryItem&& value) { m_summaryItemsHasBeenSet = true; m_summaryItems.push_back(std::move(value)); return *this; }
75 private:
76
77 int m_totalCount;
78 bool m_totalCountHasBeenSet = false;
79
80 int m_remainingCount;
81 bool m_remainingCountHasBeenSet = false;
82
84 bool m_summaryItemsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SSM
89} // namespace Aws
InventoryDeletionSummary & WithTotalCount(int value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryDeletionSummary & WithSummaryItems(Aws::Vector< InventoryDeletionSummaryItem > &&value)
void SetSummaryItems(Aws::Vector< InventoryDeletionSummaryItem > &&value)
InventoryDeletionSummary & WithRemainingCount(int value)
const Aws::Vector< InventoryDeletionSummaryItem > & GetSummaryItems() const
AWS_SSM_API InventoryDeletionSummary(Aws::Utils::Json::JsonView jsonValue)
InventoryDeletionSummary & AddSummaryItems(const InventoryDeletionSummaryItem &value)
InventoryDeletionSummary & WithSummaryItems(const Aws::Vector< InventoryDeletionSummaryItem > &value)
InventoryDeletionSummary & AddSummaryItems(InventoryDeletionSummaryItem &&value)
AWS_SSM_API InventoryDeletionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSummaryItems(const Aws::Vector< InventoryDeletionSummaryItem > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue