AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FindingsReportSummary.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeGuruProfiler
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEGURUPROFILER_API FindingsReportSummary() = default;
37 AWS_CODEGURUPROFILER_API FindingsReportSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUPROFILER_API FindingsReportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 FindingsReportSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
61 inline const Aws::Utils::DateTime& GetProfileEndTime() const { return m_profileEndTime; }
62 inline bool ProfileEndTimeHasBeenSet() const { return m_profileEndTimeHasBeenSet; }
63 template<typename ProfileEndTimeT = Aws::Utils::DateTime>
64 void SetProfileEndTime(ProfileEndTimeT&& value) { m_profileEndTimeHasBeenSet = true; m_profileEndTime = std::forward<ProfileEndTimeT>(value); }
65 template<typename ProfileEndTimeT = Aws::Utils::DateTime>
66 FindingsReportSummary& WithProfileEndTime(ProfileEndTimeT&& value) { SetProfileEndTime(std::forward<ProfileEndTimeT>(value)); return *this;}
68
70
75 inline const Aws::Utils::DateTime& GetProfileStartTime() const { return m_profileStartTime; }
76 inline bool ProfileStartTimeHasBeenSet() const { return m_profileStartTimeHasBeenSet; }
77 template<typename ProfileStartTimeT = Aws::Utils::DateTime>
78 void SetProfileStartTime(ProfileStartTimeT&& value) { m_profileStartTimeHasBeenSet = true; m_profileStartTime = std::forward<ProfileStartTimeT>(value); }
79 template<typename ProfileStartTimeT = Aws::Utils::DateTime>
80 FindingsReportSummary& WithProfileStartTime(ProfileStartTimeT&& value) { SetProfileStartTime(std::forward<ProfileStartTimeT>(value)); return *this;}
82
84
88 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
89 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
90 template<typename ProfilingGroupNameT = Aws::String>
91 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
92 template<typename ProfilingGroupNameT = Aws::String>
93 FindingsReportSummary& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
95
97
101 inline int GetTotalNumberOfFindings() const { return m_totalNumberOfFindings; }
102 inline bool TotalNumberOfFindingsHasBeenSet() const { return m_totalNumberOfFindingsHasBeenSet; }
103 inline void SetTotalNumberOfFindings(int value) { m_totalNumberOfFindingsHasBeenSet = true; m_totalNumberOfFindings = value; }
106 private:
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::Utils::DateTime m_profileEndTime{};
112 bool m_profileEndTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_profileStartTime{};
115 bool m_profileStartTimeHasBeenSet = false;
116
117 Aws::String m_profilingGroupName;
118 bool m_profilingGroupNameHasBeenSet = false;
119
120 int m_totalNumberOfFindings{0};
121 bool m_totalNumberOfFindingsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CodeGuruProfiler
126} // namespace Aws
const Aws::Utils::DateTime & GetProfileStartTime() const
FindingsReportSummary & WithProfileEndTime(ProfileEndTimeT &&value)
AWS_CODEGURUPROFILER_API FindingsReportSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API FindingsReportSummary()=default
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
FindingsReportSummary & WithProfileStartTime(ProfileStartTimeT &&value)
FindingsReportSummary & WithTotalNumberOfFindings(int value)
AWS_CODEGURUPROFILER_API FindingsReportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingsReportSummary & WithProfilingGroupName(ProfilingGroupNameT &&value)
const Aws::Utils::DateTime & GetProfileEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue