AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PatchSummary.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API PatchSummary();
36 AWS_SECURITYHUB_API PatchSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API PatchSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline PatchSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline PatchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline PatchSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
63 inline int GetInstalledCount() const{ return m_installedCount; }
64 inline bool InstalledCountHasBeenSet() const { return m_installedCountHasBeenSet; }
65 inline void SetInstalledCount(int value) { m_installedCountHasBeenSet = true; m_installedCount = value; }
66 inline PatchSummary& WithInstalledCount(int value) { SetInstalledCount(value); return *this;}
68
70
75 inline int GetMissingCount() const{ return m_missingCount; }
76 inline bool MissingCountHasBeenSet() const { return m_missingCountHasBeenSet; }
77 inline void SetMissingCount(int value) { m_missingCountHasBeenSet = true; m_missingCount = value; }
78 inline PatchSummary& WithMissingCount(int value) { SetMissingCount(value); return *this;}
80
82
87 inline int GetFailedCount() const{ return m_failedCount; }
88 inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
89 inline void SetFailedCount(int value) { m_failedCountHasBeenSet = true; m_failedCount = value; }
90 inline PatchSummary& WithFailedCount(int value) { SetFailedCount(value); return *this;}
92
94
99 inline int GetInstalledOtherCount() const{ return m_installedOtherCount; }
100 inline bool InstalledOtherCountHasBeenSet() const { return m_installedOtherCountHasBeenSet; }
101 inline void SetInstalledOtherCount(int value) { m_installedOtherCountHasBeenSet = true; m_installedOtherCount = value; }
102 inline PatchSummary& WithInstalledOtherCount(int value) { SetInstalledOtherCount(value); return *this;}
104
106
111 inline int GetInstalledRejectedCount() const{ return m_installedRejectedCount; }
112 inline bool InstalledRejectedCountHasBeenSet() const { return m_installedRejectedCountHasBeenSet; }
113 inline void SetInstalledRejectedCount(int value) { m_installedRejectedCountHasBeenSet = true; m_installedRejectedCount = value; }
114 inline PatchSummary& WithInstalledRejectedCount(int value) { SetInstalledRejectedCount(value); return *this;}
116
118
123 inline int GetInstalledPendingReboot() const{ return m_installedPendingReboot; }
124 inline bool InstalledPendingRebootHasBeenSet() const { return m_installedPendingRebootHasBeenSet; }
125 inline void SetInstalledPendingReboot(int value) { m_installedPendingRebootHasBeenSet = true; m_installedPendingReboot = value; }
126 inline PatchSummary& WithInstalledPendingReboot(int value) { SetInstalledPendingReboot(value); return *this;}
128
130
147 inline const Aws::String& GetOperationStartTime() const{ return m_operationStartTime; }
148 inline bool OperationStartTimeHasBeenSet() const { return m_operationStartTimeHasBeenSet; }
149 inline void SetOperationStartTime(const Aws::String& value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime = value; }
150 inline void SetOperationStartTime(Aws::String&& value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime = std::move(value); }
151 inline void SetOperationStartTime(const char* value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime.assign(value); }
152 inline PatchSummary& WithOperationStartTime(const Aws::String& value) { SetOperationStartTime(value); return *this;}
153 inline PatchSummary& WithOperationStartTime(Aws::String&& value) { SetOperationStartTime(std::move(value)); return *this;}
154 inline PatchSummary& WithOperationStartTime(const char* value) { SetOperationStartTime(value); return *this;}
156
158
175 inline const Aws::String& GetOperationEndTime() const{ return m_operationEndTime; }
176 inline bool OperationEndTimeHasBeenSet() const { return m_operationEndTimeHasBeenSet; }
177 inline void SetOperationEndTime(const Aws::String& value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime = value; }
178 inline void SetOperationEndTime(Aws::String&& value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime = std::move(value); }
179 inline void SetOperationEndTime(const char* value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime.assign(value); }
180 inline PatchSummary& WithOperationEndTime(const Aws::String& value) { SetOperationEndTime(value); return *this;}
181 inline PatchSummary& WithOperationEndTime(Aws::String&& value) { SetOperationEndTime(std::move(value)); return *this;}
182 inline PatchSummary& WithOperationEndTime(const char* value) { SetOperationEndTime(value); return *this;}
184
186
190 inline const Aws::String& GetRebootOption() const{ return m_rebootOption; }
191 inline bool RebootOptionHasBeenSet() const { return m_rebootOptionHasBeenSet; }
192 inline void SetRebootOption(const Aws::String& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = value; }
193 inline void SetRebootOption(Aws::String&& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = std::move(value); }
194 inline void SetRebootOption(const char* value) { m_rebootOptionHasBeenSet = true; m_rebootOption.assign(value); }
195 inline PatchSummary& WithRebootOption(const Aws::String& value) { SetRebootOption(value); return *this;}
196 inline PatchSummary& WithRebootOption(Aws::String&& value) { SetRebootOption(std::move(value)); return *this;}
197 inline PatchSummary& WithRebootOption(const char* value) { SetRebootOption(value); return *this;}
199
201
206 inline const Aws::String& GetOperation() const{ return m_operation; }
207 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
208 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
209 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
210 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
211 inline PatchSummary& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
212 inline PatchSummary& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
213 inline PatchSummary& WithOperation(const char* value) { SetOperation(value); return *this;}
215 private:
216
217 Aws::String m_id;
218 bool m_idHasBeenSet = false;
219
220 int m_installedCount;
221 bool m_installedCountHasBeenSet = false;
222
223 int m_missingCount;
224 bool m_missingCountHasBeenSet = false;
225
226 int m_failedCount;
227 bool m_failedCountHasBeenSet = false;
228
229 int m_installedOtherCount;
230 bool m_installedOtherCountHasBeenSet = false;
231
232 int m_installedRejectedCount;
233 bool m_installedRejectedCountHasBeenSet = false;
234
235 int m_installedPendingReboot;
236 bool m_installedPendingRebootHasBeenSet = false;
237
238 Aws::String m_operationStartTime;
239 bool m_operationStartTimeHasBeenSet = false;
240
241 Aws::String m_operationEndTime;
242 bool m_operationEndTimeHasBeenSet = false;
243
244 Aws::String m_rebootOption;
245 bool m_rebootOptionHasBeenSet = false;
246
247 Aws::String m_operation;
248 bool m_operationHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace SecurityHub
253} // namespace Aws
void SetOperationEndTime(Aws::String &&value)
AWS_SECURITYHUB_API PatchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PatchSummary & WithOperationStartTime(const Aws::String &value)
void SetRebootOption(const char *value)
PatchSummary & WithOperationEndTime(const char *value)
void SetOperationStartTime(const Aws::String &value)
PatchSummary & WithInstalledRejectedCount(int value)
AWS_SECURITYHUB_API PatchSummary()
PatchSummary & WithOperationStartTime(Aws::String &&value)
PatchSummary & WithInstalledPendingReboot(int value)
PatchSummary & WithId(const Aws::String &value)
const Aws::String & GetOperationStartTime() const
void SetOperation(const char *value)
void SetOperation(Aws::String &&value)
const Aws::String & GetOperation() const
PatchSummary & WithInstalledCount(int value)
PatchSummary & WithRebootOption(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
PatchSummary & WithFailedCount(int value)
PatchSummary & WithRebootOption(const char *value)
AWS_SECURITYHUB_API PatchSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOperationEndTime(const char *value)
const Aws::String & GetOperationEndTime() const
void SetOperationStartTime(Aws::String &&value)
PatchSummary & WithOperation(const Aws::String &value)
void SetOperation(const Aws::String &value)
const Aws::String & GetRebootOption() const
PatchSummary & WithId(const char *value)
PatchSummary & WithOperation(Aws::String &&value)
PatchSummary & WithOperationStartTime(const char *value)
PatchSummary & WithOperation(const char *value)
PatchSummary & WithRebootOption(Aws::String &&value)
void SetOperationEndTime(const Aws::String &value)
void SetOperationStartTime(const char *value)
PatchSummary & WithMissingCount(int value)
void SetRebootOption(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
void SetId(Aws::String &&value)
PatchSummary & WithId(Aws::String &&value)
PatchSummary & WithOperationEndTime(Aws::String &&value)
PatchSummary & WithOperationEndTime(const Aws::String &value)
void SetRebootOption(const Aws::String &value)
PatchSummary & WithInstalledOtherCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue