AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 PatchSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
61 inline int GetInstalledCount() const { return m_installedCount; }
62 inline bool InstalledCountHasBeenSet() const { return m_installedCountHasBeenSet; }
63 inline void SetInstalledCount(int value) { m_installedCountHasBeenSet = true; m_installedCount = value; }
64 inline PatchSummary& WithInstalledCount(int value) { SetInstalledCount(value); return *this;}
66
68
73 inline int GetMissingCount() const { return m_missingCount; }
74 inline bool MissingCountHasBeenSet() const { return m_missingCountHasBeenSet; }
75 inline void SetMissingCount(int value) { m_missingCountHasBeenSet = true; m_missingCount = value; }
76 inline PatchSummary& WithMissingCount(int value) { SetMissingCount(value); return *this;}
78
80
85 inline int GetFailedCount() const { return m_failedCount; }
86 inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
87 inline void SetFailedCount(int value) { m_failedCountHasBeenSet = true; m_failedCount = value; }
88 inline PatchSummary& WithFailedCount(int value) { SetFailedCount(value); return *this;}
90
92
97 inline int GetInstalledOtherCount() const { return m_installedOtherCount; }
98 inline bool InstalledOtherCountHasBeenSet() const { return m_installedOtherCountHasBeenSet; }
99 inline void SetInstalledOtherCount(int value) { m_installedOtherCountHasBeenSet = true; m_installedOtherCount = value; }
100 inline PatchSummary& WithInstalledOtherCount(int value) { SetInstalledOtherCount(value); return *this;}
102
104
109 inline int GetInstalledRejectedCount() const { return m_installedRejectedCount; }
110 inline bool InstalledRejectedCountHasBeenSet() const { return m_installedRejectedCountHasBeenSet; }
111 inline void SetInstalledRejectedCount(int value) { m_installedRejectedCountHasBeenSet = true; m_installedRejectedCount = value; }
112 inline PatchSummary& WithInstalledRejectedCount(int value) { SetInstalledRejectedCount(value); return *this;}
114
116
121 inline int GetInstalledPendingReboot() const { return m_installedPendingReboot; }
122 inline bool InstalledPendingRebootHasBeenSet() const { return m_installedPendingRebootHasBeenSet; }
123 inline void SetInstalledPendingReboot(int value) { m_installedPendingRebootHasBeenSet = true; m_installedPendingReboot = value; }
124 inline PatchSummary& WithInstalledPendingReboot(int value) { SetInstalledPendingReboot(value); return *this;}
126
128
133 inline const Aws::String& GetOperationStartTime() const { return m_operationStartTime; }
134 inline bool OperationStartTimeHasBeenSet() const { return m_operationStartTimeHasBeenSet; }
135 template<typename OperationStartTimeT = Aws::String>
136 void SetOperationStartTime(OperationStartTimeT&& value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime = std::forward<OperationStartTimeT>(value); }
137 template<typename OperationStartTimeT = Aws::String>
138 PatchSummary& WithOperationStartTime(OperationStartTimeT&& value) { SetOperationStartTime(std::forward<OperationStartTimeT>(value)); return *this;}
140
142
147 inline const Aws::String& GetOperationEndTime() const { return m_operationEndTime; }
148 inline bool OperationEndTimeHasBeenSet() const { return m_operationEndTimeHasBeenSet; }
149 template<typename OperationEndTimeT = Aws::String>
150 void SetOperationEndTime(OperationEndTimeT&& value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime = std::forward<OperationEndTimeT>(value); }
151 template<typename OperationEndTimeT = Aws::String>
152 PatchSummary& WithOperationEndTime(OperationEndTimeT&& value) { SetOperationEndTime(std::forward<OperationEndTimeT>(value)); return *this;}
154
156
160 inline const Aws::String& GetRebootOption() const { return m_rebootOption; }
161 inline bool RebootOptionHasBeenSet() const { return m_rebootOptionHasBeenSet; }
162 template<typename RebootOptionT = Aws::String>
163 void SetRebootOption(RebootOptionT&& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = std::forward<RebootOptionT>(value); }
164 template<typename RebootOptionT = Aws::String>
165 PatchSummary& WithRebootOption(RebootOptionT&& value) { SetRebootOption(std::forward<RebootOptionT>(value)); return *this;}
167
169
174 inline const Aws::String& GetOperation() const { return m_operation; }
175 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
176 template<typename OperationT = Aws::String>
177 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
178 template<typename OperationT = Aws::String>
179 PatchSummary& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
181 private:
182
183 Aws::String m_id;
184 bool m_idHasBeenSet = false;
185
186 int m_installedCount{0};
187 bool m_installedCountHasBeenSet = false;
188
189 int m_missingCount{0};
190 bool m_missingCountHasBeenSet = false;
191
192 int m_failedCount{0};
193 bool m_failedCountHasBeenSet = false;
194
195 int m_installedOtherCount{0};
196 bool m_installedOtherCountHasBeenSet = false;
197
198 int m_installedRejectedCount{0};
199 bool m_installedRejectedCountHasBeenSet = false;
200
201 int m_installedPendingReboot{0};
202 bool m_installedPendingRebootHasBeenSet = false;
203
204 Aws::String m_operationStartTime;
205 bool m_operationStartTimeHasBeenSet = false;
206
207 Aws::String m_operationEndTime;
208 bool m_operationEndTimeHasBeenSet = false;
209
210 Aws::String m_rebootOption;
211 bool m_rebootOptionHasBeenSet = false;
212
213 Aws::String m_operation;
214 bool m_operationHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace SecurityHub
219} // namespace Aws
PatchSummary & WithRebootOption(RebootOptionT &&value)
AWS_SECURITYHUB_API PatchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperationStartTime(OperationStartTimeT &&value)
PatchSummary & WithInstalledRejectedCount(int value)
AWS_SECURITYHUB_API PatchSummary()=default
PatchSummary & WithInstalledPendingReboot(int value)
const Aws::String & GetOperationStartTime() const
const Aws::String & GetOperation() const
PatchSummary & WithInstalledCount(int value)
PatchSummary & WithOperation(OperationT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
PatchSummary & WithFailedCount(int value)
AWS_SECURITYHUB_API PatchSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOperationEndTime() const
const Aws::String & GetRebootOption() const
PatchSummary & WithId(IdT &&value)
void SetOperation(OperationT &&value)
void SetRebootOption(RebootOptionT &&value)
PatchSummary & WithMissingCount(int value)
const Aws::String & GetId() const
PatchSummary & WithOperationEndTime(OperationEndTimeT &&value)
PatchSummary & WithOperationStartTime(OperationStartTimeT &&value)
void SetOperationEndTime(OperationEndTimeT &&value)
PatchSummary & WithInstalledOtherCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue