AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline FindingsReportSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline FindingsReportSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline FindingsReportSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
63 inline const Aws::Utils::DateTime& GetProfileEndTime() const{ return m_profileEndTime; }
64 inline bool ProfileEndTimeHasBeenSet() const { return m_profileEndTimeHasBeenSet; }
65 inline void SetProfileEndTime(const Aws::Utils::DateTime& value) { m_profileEndTimeHasBeenSet = true; m_profileEndTime = value; }
66 inline void SetProfileEndTime(Aws::Utils::DateTime&& value) { m_profileEndTimeHasBeenSet = true; m_profileEndTime = std::move(value); }
68 inline FindingsReportSummary& WithProfileEndTime(Aws::Utils::DateTime&& value) { SetProfileEndTime(std::move(value)); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetProfileStartTime() const{ return m_profileStartTime; }
78 inline bool ProfileStartTimeHasBeenSet() const { return m_profileStartTimeHasBeenSet; }
79 inline void SetProfileStartTime(const Aws::Utils::DateTime& value) { m_profileStartTimeHasBeenSet = true; m_profileStartTime = value; }
80 inline void SetProfileStartTime(Aws::Utils::DateTime&& value) { m_profileStartTimeHasBeenSet = true; m_profileStartTime = std::move(value); }
82 inline FindingsReportSummary& WithProfileStartTime(Aws::Utils::DateTime&& value) { SetProfileStartTime(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
91 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
92 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
93 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
94 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
96 inline FindingsReportSummary& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
97 inline FindingsReportSummary& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
99
101
105 inline int GetTotalNumberOfFindings() const{ return m_totalNumberOfFindings; }
106 inline bool TotalNumberOfFindingsHasBeenSet() const { return m_totalNumberOfFindingsHasBeenSet; }
107 inline void SetTotalNumberOfFindings(int value) { m_totalNumberOfFindingsHasBeenSet = true; m_totalNumberOfFindings = value; }
110 private:
111
112 Aws::String m_id;
113 bool m_idHasBeenSet = false;
114
115 Aws::Utils::DateTime m_profileEndTime;
116 bool m_profileEndTimeHasBeenSet = false;
117
118 Aws::Utils::DateTime m_profileStartTime;
119 bool m_profileStartTimeHasBeenSet = false;
120
121 Aws::String m_profilingGroupName;
122 bool m_profilingGroupNameHasBeenSet = false;
123
124 int m_totalNumberOfFindings;
125 bool m_totalNumberOfFindingsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace CodeGuruProfiler
130} // namespace Aws
const Aws::Utils::DateTime & GetProfileStartTime() const
FindingsReportSummary & WithId(const Aws::String &value)
AWS_CODEGURUPROFILER_API FindingsReportSummary(Aws::Utils::Json::JsonView jsonValue)
FindingsReportSummary & WithProfileStartTime(const Aws::Utils::DateTime &value)
FindingsReportSummary & WithId(Aws::String &&value)
void SetProfileEndTime(const Aws::Utils::DateTime &value)
void SetProfileStartTime(const Aws::Utils::DateTime &value)
FindingsReportSummary & WithProfilingGroupName(Aws::String &&value)
FindingsReportSummary & WithId(const char *value)
FindingsReportSummary & WithProfileEndTime(const Aws::Utils::DateTime &value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
FindingsReportSummary & WithProfileStartTime(Aws::Utils::DateTime &&value)
FindingsReportSummary & WithProfileEndTime(Aws::Utils::DateTime &&value)
FindingsReportSummary & WithProfilingGroupName(const Aws::String &value)
FindingsReportSummary & WithProfilingGroupName(const char *value)
FindingsReportSummary & WithTotalNumberOfFindings(int value)
AWS_CODEGURUPROFILER_API FindingsReportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetProfileEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue