AWS SDK for C++  1.9.124
AWS SDK for C++
PatchSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
63  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
69  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 
75  inline PatchSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
76 
81  inline PatchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
82 
87  inline PatchSummary& WithId(const char* value) { SetId(value); return *this;}
88 
89 
94  inline int GetInstalledCount() const{ return m_installedCount; }
95 
100  inline bool InstalledCountHasBeenSet() const { return m_installedCountHasBeenSet; }
101 
106  inline void SetInstalledCount(int value) { m_installedCountHasBeenSet = true; m_installedCount = value; }
107 
112  inline PatchSummary& WithInstalledCount(int value) { SetInstalledCount(value); return *this;}
113 
114 
119  inline int GetMissingCount() const{ return m_missingCount; }
120 
125  inline bool MissingCountHasBeenSet() const { return m_missingCountHasBeenSet; }
126 
131  inline void SetMissingCount(int value) { m_missingCountHasBeenSet = true; m_missingCount = value; }
132 
137  inline PatchSummary& WithMissingCount(int value) { SetMissingCount(value); return *this;}
138 
139 
144  inline int GetFailedCount() const{ return m_failedCount; }
145 
150  inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
151 
156  inline void SetFailedCount(int value) { m_failedCountHasBeenSet = true; m_failedCount = value; }
157 
162  inline PatchSummary& WithFailedCount(int value) { SetFailedCount(value); return *this;}
163 
164 
169  inline int GetInstalledOtherCount() const{ return m_installedOtherCount; }
170 
175  inline bool InstalledOtherCountHasBeenSet() const { return m_installedOtherCountHasBeenSet; }
176 
181  inline void SetInstalledOtherCount(int value) { m_installedOtherCountHasBeenSet = true; m_installedOtherCount = value; }
182 
187  inline PatchSummary& WithInstalledOtherCount(int value) { SetInstalledOtherCount(value); return *this;}
188 
189 
194  inline int GetInstalledRejectedCount() const{ return m_installedRejectedCount; }
195 
200  inline bool InstalledRejectedCountHasBeenSet() const { return m_installedRejectedCountHasBeenSet; }
201 
206  inline void SetInstalledRejectedCount(int value) { m_installedRejectedCountHasBeenSet = true; m_installedRejectedCount = value; }
207 
212  inline PatchSummary& WithInstalledRejectedCount(int value) { SetInstalledRejectedCount(value); return *this;}
213 
214 
219  inline int GetInstalledPendingReboot() const{ return m_installedPendingReboot; }
220 
225  inline bool InstalledPendingRebootHasBeenSet() const { return m_installedPendingRebootHasBeenSet; }
226 
231  inline void SetInstalledPendingReboot(int value) { m_installedPendingRebootHasBeenSet = true; m_installedPendingReboot = value; }
232 
237  inline PatchSummary& WithInstalledPendingReboot(int value) { SetInstalledPendingReboot(value); return *this;}
238 
239 
247  inline const Aws::String& GetOperationStartTime() const{ return m_operationStartTime; }
248 
256  inline bool OperationStartTimeHasBeenSet() const { return m_operationStartTimeHasBeenSet; }
257 
265  inline void SetOperationStartTime(const Aws::String& value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime = value; }
266 
274  inline void SetOperationStartTime(Aws::String&& value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime = std::move(value); }
275 
283  inline void SetOperationStartTime(const char* value) { m_operationStartTimeHasBeenSet = true; m_operationStartTime.assign(value); }
284 
292  inline PatchSummary& WithOperationStartTime(const Aws::String& value) { SetOperationStartTime(value); return *this;}
293 
301  inline PatchSummary& WithOperationStartTime(Aws::String&& value) { SetOperationStartTime(std::move(value)); return *this;}
302 
310  inline PatchSummary& WithOperationStartTime(const char* value) { SetOperationStartTime(value); return *this;}
311 
312 
320  inline const Aws::String& GetOperationEndTime() const{ return m_operationEndTime; }
321 
329  inline bool OperationEndTimeHasBeenSet() const { return m_operationEndTimeHasBeenSet; }
330 
338  inline void SetOperationEndTime(const Aws::String& value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime = value; }
339 
347  inline void SetOperationEndTime(Aws::String&& value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime = std::move(value); }
348 
356  inline void SetOperationEndTime(const char* value) { m_operationEndTimeHasBeenSet = true; m_operationEndTime.assign(value); }
357 
365  inline PatchSummary& WithOperationEndTime(const Aws::String& value) { SetOperationEndTime(value); return *this;}
366 
374  inline PatchSummary& WithOperationEndTime(Aws::String&& value) { SetOperationEndTime(std::move(value)); return *this;}
375 
383  inline PatchSummary& WithOperationEndTime(const char* value) { SetOperationEndTime(value); return *this;}
384 
385 
389  inline const Aws::String& GetRebootOption() const{ return m_rebootOption; }
390 
394  inline bool RebootOptionHasBeenSet() const { return m_rebootOptionHasBeenSet; }
395 
399  inline void SetRebootOption(const Aws::String& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = value; }
400 
404  inline void SetRebootOption(Aws::String&& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = std::move(value); }
405 
409  inline void SetRebootOption(const char* value) { m_rebootOptionHasBeenSet = true; m_rebootOption.assign(value); }
410 
414  inline PatchSummary& WithRebootOption(const Aws::String& value) { SetRebootOption(value); return *this;}
415 
419  inline PatchSummary& WithRebootOption(Aws::String&& value) { SetRebootOption(std::move(value)); return *this;}
420 
424  inline PatchSummary& WithRebootOption(const char* value) { SetRebootOption(value); return *this;}
425 
426 
431  inline const Aws::String& GetOperation() const{ return m_operation; }
432 
437  inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
438 
443  inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
444 
449  inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
450 
455  inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
456 
461  inline PatchSummary& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
462 
467  inline PatchSummary& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
468 
473  inline PatchSummary& WithOperation(const char* value) { SetOperation(value); return *this;}
474 
475  private:
476 
477  Aws::String m_id;
478  bool m_idHasBeenSet;
479 
480  int m_installedCount;
481  bool m_installedCountHasBeenSet;
482 
483  int m_missingCount;
484  bool m_missingCountHasBeenSet;
485 
486  int m_failedCount;
487  bool m_failedCountHasBeenSet;
488 
489  int m_installedOtherCount;
490  bool m_installedOtherCountHasBeenSet;
491 
492  int m_installedRejectedCount;
493  bool m_installedRejectedCountHasBeenSet;
494 
495  int m_installedPendingReboot;
496  bool m_installedPendingRebootHasBeenSet;
497 
498  Aws::String m_operationStartTime;
499  bool m_operationStartTimeHasBeenSet;
500 
501  Aws::String m_operationEndTime;
502  bool m_operationEndTimeHasBeenSet;
503 
504  Aws::String m_rebootOption;
505  bool m_rebootOptionHasBeenSet;
506 
507  Aws::String m_operation;
508  bool m_operationHasBeenSet;
509  };
510 
511 } // namespace Model
512 } // namespace SecurityHub
513 } // namespace Aws
Aws::SecurityHub::Model::PatchSummary::MissingCountHasBeenSet
bool MissingCountHasBeenSet() const
Definition: PatchSummary.h:125
Aws::SecurityHub::Model::PatchSummary::WithOperation
PatchSummary & WithOperation(Aws::String &&value)
Definition: PatchSummary.h:467
Aws::SecurityHub::Model::PatchSummary::OperationHasBeenSet
bool OperationHasBeenSet() const
Definition: PatchSummary.h:437
Aws::SecurityHub::Model::PatchSummary::WithOperation
PatchSummary & WithOperation(const char *value)
Definition: PatchSummary.h:473
Aws::SecurityHub::Model::PatchSummary::GetInstalledPendingReboot
int GetInstalledPendingReboot() const
Definition: PatchSummary.h:219
Aws::SecurityHub::Model::PatchSummary::GetOperationStartTime
const Aws::String & GetOperationStartTime() const
Definition: PatchSummary.h:247
Aws::SecurityHub::Model::PatchSummary::GetInstalledRejectedCount
int GetInstalledRejectedCount() const
Definition: PatchSummary.h:194
Aws::SecurityHub::Model::PatchSummary::SetFailedCount
void SetFailedCount(int value)
Definition: PatchSummary.h:156
Aws::SecurityHub::Model::PatchSummary::WithInstalledCount
PatchSummary & WithInstalledCount(int value)
Definition: PatchSummary.h:112
Aws::SecurityHub::Model::PatchSummary::SetRebootOption
void SetRebootOption(const Aws::String &value)
Definition: PatchSummary.h:399
Aws::SecurityHub::Model::PatchSummary::operator=
PatchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::PatchSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: PatchSummary.h:51
Aws::SecurityHub::Model::PatchSummary::WithOperationEndTime
PatchSummary & WithOperationEndTime(const char *value)
Definition: PatchSummary.h:383
Aws::SecurityHub::Model::PatchSummary::SetOperationStartTime
void SetOperationStartTime(Aws::String &&value)
Definition: PatchSummary.h:274
Aws::SecurityHub::Model::PatchSummary::InstalledCountHasBeenSet
bool InstalledCountHasBeenSet() const
Definition: PatchSummary.h:100
Aws::SecurityHub::Model::PatchSummary::SetInstalledCount
void SetInstalledCount(int value)
Definition: PatchSummary.h:106
Aws::SecurityHub::Model::PatchSummary::WithId
PatchSummary & WithId(Aws::String &&value)
Definition: PatchSummary.h:81
Aws::SecurityHub::Model::PatchSummary::SetOperationStartTime
void SetOperationStartTime(const Aws::String &value)
Definition: PatchSummary.h:265
Aws::SecurityHub::Model::PatchSummary::SetOperationEndTime
void SetOperationEndTime(const char *value)
Definition: PatchSummary.h:356
Aws::SecurityHub::Model::PatchSummary::SetInstalledPendingReboot
void SetInstalledPendingReboot(int value)
Definition: PatchSummary.h:231
Aws::SecurityHub::Model::PatchSummary::SetInstalledOtherCount
void SetInstalledOtherCount(int value)
Definition: PatchSummary.h:181
Aws::SecurityHub::Model::PatchSummary::GetOperation
const Aws::String & GetOperation() const
Definition: PatchSummary.h:431
Aws::SecurityHub::Model::PatchSummary::WithOperationStartTime
PatchSummary & WithOperationStartTime(const Aws::String &value)
Definition: PatchSummary.h:292
Aws::SecurityHub::Model::PatchSummary::SetId
void SetId(const Aws::String &value)
Definition: PatchSummary.h:57
Aws::SecurityHub::Model::PatchSummary::SetOperation
void SetOperation(const Aws::String &value)
Definition: PatchSummary.h:443
Aws::SecurityHub::Model::PatchSummary::WithRebootOption
PatchSummary & WithRebootOption(const char *value)
Definition: PatchSummary.h:424
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::PatchSummary::SetOperation
void SetOperation(const char *value)
Definition: PatchSummary.h:455
Aws::SecurityHub::Model::PatchSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::PatchSummary::OperationStartTimeHasBeenSet
bool OperationStartTimeHasBeenSet() const
Definition: PatchSummary.h:256
Aws::SecurityHub::Model::PatchSummary::GetOperationEndTime
const Aws::String & GetOperationEndTime() const
Definition: PatchSummary.h:320
Aws::SecurityHub::Model::PatchSummary::WithRebootOption
PatchSummary & WithRebootOption(const Aws::String &value)
Definition: PatchSummary.h:414
Aws::SecurityHub::Model::PatchSummary::WithInstalledRejectedCount
PatchSummary & WithInstalledRejectedCount(int value)
Definition: PatchSummary.h:212
Aws::SecurityHub::Model::PatchSummary::SetRebootOption
void SetRebootOption(Aws::String &&value)
Definition: PatchSummary.h:404
Aws::SecurityHub::Model::PatchSummary::WithOperation
PatchSummary & WithOperation(const Aws::String &value)
Definition: PatchSummary.h:461
Aws::SecurityHub::Model::PatchSummary::WithRebootOption
PatchSummary & WithRebootOption(Aws::String &&value)
Definition: PatchSummary.h:419
Aws::SecurityHub::Model::PatchSummary::SetId
void SetId(Aws::String &&value)
Definition: PatchSummary.h:63
Aws::SecurityHub::Model::PatchSummary::WithOperationStartTime
PatchSummary & WithOperationStartTime(Aws::String &&value)
Definition: PatchSummary.h:301
Aws::SecurityHub::Model::PatchSummary::SetOperation
void SetOperation(Aws::String &&value)
Definition: PatchSummary.h:449
Aws::SecurityHub::Model::PatchSummary::WithInstalledPendingReboot
PatchSummary & WithInstalledPendingReboot(int value)
Definition: PatchSummary.h:237
Aws::SecurityHub::Model::PatchSummary::WithOperationEndTime
PatchSummary & WithOperationEndTime(const Aws::String &value)
Definition: PatchSummary.h:365
Aws::SecurityHub::Model::PatchSummary::GetId
const Aws::String & GetId() const
Definition: PatchSummary.h:45
Aws::SecurityHub::Model::PatchSummary::GetMissingCount
int GetMissingCount() const
Definition: PatchSummary.h:119
Aws::SecurityHub::Model::PatchSummary::SetRebootOption
void SetRebootOption(const char *value)
Definition: PatchSummary.h:409
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::PatchSummary::SetOperationEndTime
void SetOperationEndTime(Aws::String &&value)
Definition: PatchSummary.h:347
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::PatchSummary::WithOperationEndTime
PatchSummary & WithOperationEndTime(Aws::String &&value)
Definition: PatchSummary.h:374
Aws::SecurityHub::Model::PatchSummary::InstalledOtherCountHasBeenSet
bool InstalledOtherCountHasBeenSet() const
Definition: PatchSummary.h:175
Aws::SecurityHub::Model::PatchSummary::PatchSummary
PatchSummary()
Aws::SecurityHub::Model::PatchSummary::PatchSummary
PatchSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::PatchSummary::InstalledPendingRebootHasBeenSet
bool InstalledPendingRebootHasBeenSet() const
Definition: PatchSummary.h:225
Aws::SecurityHub::Model::PatchSummary::RebootOptionHasBeenSet
bool RebootOptionHasBeenSet() const
Definition: PatchSummary.h:394
Aws::SecurityHub::Model::PatchSummary::GetInstalledCount
int GetInstalledCount() const
Definition: PatchSummary.h:94
Aws::SecurityHub::Model::PatchSummary::GetInstalledOtherCount
int GetInstalledOtherCount() const
Definition: PatchSummary.h:169
Aws::SecurityHub::Model::PatchSummary::WithFailedCount
PatchSummary & WithFailedCount(int value)
Definition: PatchSummary.h:162
Aws::SecurityHub::Model::PatchSummary::FailedCountHasBeenSet
bool FailedCountHasBeenSet() const
Definition: PatchSummary.h:150
Aws::SecurityHub::Model::PatchSummary::InstalledRejectedCountHasBeenSet
bool InstalledRejectedCountHasBeenSet() const
Definition: PatchSummary.h:200
Aws::SecurityHub::Model::PatchSummary::WithInstalledOtherCount
PatchSummary & WithInstalledOtherCount(int value)
Definition: PatchSummary.h:187
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::PatchSummary::WithMissingCount
PatchSummary & WithMissingCount(int value)
Definition: PatchSummary.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::PatchSummary::WithOperationStartTime
PatchSummary & WithOperationStartTime(const char *value)
Definition: PatchSummary.h:310
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::PatchSummary::GetRebootOption
const Aws::String & GetRebootOption() const
Definition: PatchSummary.h:389
Aws::SecurityHub::Model::PatchSummary::SetInstalledRejectedCount
void SetInstalledRejectedCount(int value)
Definition: PatchSummary.h:206
Aws::SecurityHub::Model::PatchSummary::SetId
void SetId(const char *value)
Definition: PatchSummary.h:69
Aws::SecurityHub::Model::PatchSummary::OperationEndTimeHasBeenSet
bool OperationEndTimeHasBeenSet() const
Definition: PatchSummary.h:329
Aws::SecurityHub::Model::PatchSummary::WithId
PatchSummary & WithId(const Aws::String &value)
Definition: PatchSummary.h:75
Aws::SecurityHub::Model::PatchSummary
Definition: PatchSummary.h:33
Aws::SecurityHub::Model::PatchSummary::WithId
PatchSummary & WithId(const char *value)
Definition: PatchSummary.h:87
Aws::SecurityHub::Model::PatchSummary::SetOperationStartTime
void SetOperationStartTime(const char *value)
Definition: PatchSummary.h:283
Aws::SecurityHub::Model::PatchSummary::SetMissingCount
void SetMissingCount(int value)
Definition: PatchSummary.h:131
Aws::SecurityHub::Model::PatchSummary::SetOperationEndTime
void SetOperationEndTime(const Aws::String &value)
Definition: PatchSummary.h:338
Aws::SecurityHub::Model::PatchSummary::GetFailedCount
int GetFailedCount() const
Definition: PatchSummary.h:144