7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/Match.h>
9#include <aws/codeguruprofiler/model/Pattern.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CodeGuruProfiler {
45 m_allMatchesCountHasBeenSet =
true;
46 m_allMatchesCount = value;
61 m_allMatchesSumHasBeenSet =
true;
62 m_allMatchesSum = value;
78 template <
typename EndTimeT = Aws::Utils::DateTime>
80 m_endTimeHasBeenSet =
true;
81 m_endTime = std::forward<EndTimeT>(value);
83 template <
typename EndTimeT = Aws::Utils::DateTime>
97 template <
typename PatternT = Pattern>
99 m_patternHasBeenSet =
true;
100 m_pattern = std::forward<PatternT>(value);
102 template <
typename PatternT = Pattern>
117 template <
typename StartTimeT = Aws::Utils::DateTime>
119 m_startTimeHasBeenSet =
true;
120 m_startTime = std::forward<StartTimeT>(value);
122 template <
typename StartTimeT = Aws::Utils::DateTime>
135 template <
typename TopMatchesT = Aws::Vector<Match>>
137 m_topMatchesHasBeenSet =
true;
138 m_topMatches = std::forward<TopMatchesT>(value);
140 template <
typename TopMatchesT = Aws::Vector<Match>>
145 template <
typename TopMatchesT = Match>
147 m_topMatchesHasBeenSet =
true;
148 m_topMatches.emplace_back(std::forward<TopMatchesT>(value));
153 int m_allMatchesCount{0};
155 double m_allMatchesSum{0.0};
164 bool m_allMatchesCountHasBeenSet =
false;
165 bool m_allMatchesSumHasBeenSet =
false;
166 bool m_endTimeHasBeenSet =
false;
167 bool m_patternHasBeenSet =
false;
168 bool m_startTimeHasBeenSet =
false;
169 bool m_topMatchesHasBeenSet =
false;
void SetAllMatchesSum(double value)
void SetStartTime(StartTimeT &&value)
Recommendation & WithPattern(PatternT &&value)
bool PatternHasBeenSet() const
int GetAllMatchesCount() const
double GetAllMatchesSum() const
bool EndTimeHasBeenSet() const
bool TopMatchesHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Vector< Match > & GetTopMatches() const
const Pattern & GetPattern() const
AWS_CODEGURUPROFILER_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithTopMatches(TopMatchesT &&value)
bool StartTimeHasBeenSet() const
void SetPattern(PatternT &&value)
Recommendation & AddTopMatches(TopMatchesT &&value)
Recommendation & WithAllMatchesSum(double value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllMatchesCount(int value)
void SetEndTime(EndTimeT &&value)
bool AllMatchesSumHasBeenSet() const
bool AllMatchesCountHasBeenSet() const
Recommendation & WithStartTime(StartTimeT &&value)
AWS_CODEGURUPROFILER_API Recommendation()=default
const Aws::Utils::DateTime & GetStartTime() const
Recommendation & WithEndTime(EndTimeT &&value)
AWS_CODEGURUPROFILER_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithAllMatchesCount(int value)
void SetTopMatches(TopMatchesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue