AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
FindingsReportSummary.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeGuruProfiler {
21namespace Model {
22
30 public:
31 AWS_CODEGURUPROFILER_API FindingsReportSummary() = default;
32 AWS_CODEGURUPROFILER_API FindingsReportSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEGURUPROFILER_API FindingsReportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
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) {
65 m_profileEndTimeHasBeenSet = true;
66 m_profileEndTime = std::forward<ProfileEndTimeT>(value);
67 }
68 template <typename ProfileEndTimeT = Aws::Utils::DateTime>
69 FindingsReportSummary& WithProfileEndTime(ProfileEndTimeT&& value) {
70 SetProfileEndTime(std::forward<ProfileEndTimeT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::Utils::DateTime& GetProfileStartTime() const { return m_profileStartTime; }
82 inline bool ProfileStartTimeHasBeenSet() const { return m_profileStartTimeHasBeenSet; }
83 template <typename ProfileStartTimeT = Aws::Utils::DateTime>
84 void SetProfileStartTime(ProfileStartTimeT&& value) {
85 m_profileStartTimeHasBeenSet = true;
86 m_profileStartTime = std::forward<ProfileStartTimeT>(value);
87 }
88 template <typename ProfileStartTimeT = Aws::Utils::DateTime>
89 FindingsReportSummary& WithProfileStartTime(ProfileStartTimeT&& value) {
90 SetProfileStartTime(std::forward<ProfileStartTimeT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
101 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
102 template <typename ProfilingGroupNameT = Aws::String>
103 void SetProfilingGroupName(ProfilingGroupNameT&& value) {
104 m_profilingGroupNameHasBeenSet = true;
105 m_profilingGroupName = std::forward<ProfilingGroupNameT>(value);
106 }
107 template <typename ProfilingGroupNameT = Aws::String>
108 FindingsReportSummary& WithProfilingGroupName(ProfilingGroupNameT&& value) {
109 SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value));
110 return *this;
111 }
113
115
119 inline int GetTotalNumberOfFindings() const { return m_totalNumberOfFindings; }
120 inline bool TotalNumberOfFindingsHasBeenSet() const { return m_totalNumberOfFindingsHasBeenSet; }
121 inline void SetTotalNumberOfFindings(int value) {
122 m_totalNumberOfFindingsHasBeenSet = true;
123 m_totalNumberOfFindings = value;
124 }
127 return *this;
128 }
130 private:
131 Aws::String m_id;
132
133 Aws::Utils::DateTime m_profileEndTime{};
134
135 Aws::Utils::DateTime m_profileStartTime{};
136
137 Aws::String m_profilingGroupName;
138
139 int m_totalNumberOfFindings{0};
140 bool m_idHasBeenSet = false;
141 bool m_profileEndTimeHasBeenSet = false;
142 bool m_profileStartTimeHasBeenSet = false;
143 bool m_profilingGroupNameHasBeenSet = false;
144 bool m_totalNumberOfFindingsHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace CodeGuruProfiler
149} // 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