AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetVersion() const{ return m_version; }
46 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
47 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
48 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
49 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
50 inline InventoryDeletionSummaryItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
51 inline InventoryDeletionSummaryItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
52 inline InventoryDeletionSummaryItem& WithVersion(const char* value) { SetVersion(value); return *this;}
54
56
59 inline int GetCount() const{ return m_count; }
60 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
61 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
62 inline InventoryDeletionSummaryItem& WithCount(int value) { SetCount(value); return *this;}
64
66
69 inline int GetRemainingCount() const{ return m_remainingCount; }
70 inline bool RemainingCountHasBeenSet() const { return m_remainingCountHasBeenSet; }
71 inline void SetRemainingCount(int value) { m_remainingCountHasBeenSet = true; m_remainingCount = value; }
72 inline InventoryDeletionSummaryItem& WithRemainingCount(int value) { SetRemainingCount(value); return *this;}
74 private:
75
76 Aws::String m_version;
77 bool m_versionHasBeenSet = false;
78
79 int m_count;
80 bool m_countHasBeenSet = false;
81
82 int m_remainingCount;
83 bool m_remainingCountHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SSM
88} // namespace Aws
AWS_SSM_API InventoryDeletionSummaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryDeletionSummaryItem & WithRemainingCount(int value)
InventoryDeletionSummaryItem & WithVersion(const Aws::String &value)
InventoryDeletionSummaryItem & WithCount(int value)
AWS_SSM_API InventoryDeletionSummaryItem(Aws::Utils::Json::JsonView jsonValue)
InventoryDeletionSummaryItem & WithVersion(Aws::String &&value)
InventoryDeletionSummaryItem & WithVersion(const char *value)
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