AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InventoryDeletionSummaryItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSM_API InventoryDeletionSummaryItem() = default;
39
40
42
45 inline const Aws::String& GetVersion() const { return m_version; }
46 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
47 template<typename VersionT = Aws::String>
48 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
49 template<typename VersionT = Aws::String>
50 InventoryDeletionSummaryItem& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
52
54
57 inline int GetCount() const { return m_count; }
58 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
59 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
60 inline InventoryDeletionSummaryItem& WithCount(int value) { SetCount(value); return *this;}
62
64
67 inline int GetRemainingCount() const { return m_remainingCount; }
68 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
69 inline void SetRemainingCount(int value) { m_remainingCountHasBeenSet = true; m_remainingCount = value; }
70 inline InventoryDeletionSummaryItem& WithRemainingCount(int value) { SetRemainingCount(value); return *this;}
72 private:
73
74 Aws::String m_version;
75 bool m_versionHasBeenSet = false;
76
77 int m_count{0};
78 bool m_countHasBeenSet = false;
79
80 int m_remainingCount{0};
81 bool m_remainingCountHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SSM
86} // namespace Aws
AWS_SSM_API InventoryDeletionSummaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API InventoryDeletionSummaryItem()=default
InventoryDeletionSummaryItem & WithVersion(VersionT &&value)
InventoryDeletionSummaryItem & WithRemainingCount(int value)
InventoryDeletionSummaryItem & WithCount(int value)
AWS_SSM_API InventoryDeletionSummaryItem(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue