AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatusCounts.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_INSPECTOR2_API StatusCounts();
33 AWS_INSPECTOR2_API StatusCounts(Aws::Utils::Json::JsonView jsonValue);
34 AWS_INSPECTOR2_API StatusCounts& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetFailed() const{ return m_failed; }
43 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
44 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
45 inline StatusCounts& WithFailed(int value) { SetFailed(value); return *this;}
47
49
52 inline int GetPassed() const{ return m_passed; }
53 inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; }
54 inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; }
55 inline StatusCounts& WithPassed(int value) { SetPassed(value); return *this;}
57
59
62 inline int GetSkipped() const{ return m_skipped; }
63 inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
64 inline void SetSkipped(int value) { m_skippedHasBeenSet = true; m_skipped = value; }
65 inline StatusCounts& WithSkipped(int value) { SetSkipped(value); return *this;}
67 private:
68
69 int m_failed;
70 bool m_failedHasBeenSet = false;
71
72 int m_passed;
73 bool m_passedHasBeenSet = false;
74
75 int m_skipped;
76 bool m_skippedHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Inspector2
81} // namespace Aws
AWS_INSPECTOR2_API StatusCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
StatusCounts & WithSkipped(int value)
AWS_INSPECTOR2_API StatusCounts(Aws::Utils::Json::JsonView jsonValue)
StatusCounts & WithFailed(int value)
StatusCounts & WithPassed(int value)
Aws::Utils::Json::JsonValue JsonValue