AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InventoryDeletionSummaryItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
29 public:
30 AWS_SSM_API InventoryDeletionSummaryItem() = default;
34
36
39 inline const Aws::String& GetVersion() const { return m_version; }
40 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
41 template <typename VersionT = Aws::String>
42 void SetVersion(VersionT&& value) {
43 m_versionHasBeenSet = true;
44 m_version = std::forward<VersionT>(value);
45 }
46 template <typename VersionT = Aws::String>
48 SetVersion(std::forward<VersionT>(value));
49 return *this;
50 }
52
54
57 inline int GetCount() const { return m_count; }
58 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
59 inline void SetCount(int value) {
60 m_countHasBeenSet = true;
61 m_count = value;
62 }
64 SetCount(value);
65 return *this;
66 }
68
70
73 inline int GetRemainingCount() const { return m_remainingCount; }
74 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
75 inline void SetRemainingCount(int value) {
76 m_remainingCountHasBeenSet = true;
77 m_remainingCount = value;
78 }
80 SetRemainingCount(value);
81 return *this;
82 }
84 private:
85 Aws::String m_version;
86
87 int m_count{0};
88
89 int m_remainingCount{0};
90 bool m_versionHasBeenSet = false;
91 bool m_countHasBeenSet = false;
92 bool m_remainingCountHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SSM
97} // 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