7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/codeguruprofiler/model/Pattern.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codeguruprofiler/model/Match.h>
24namespace CodeGuruProfiler
50 inline void SetAllMatchesCount(
int value) { m_allMatchesCountHasBeenSet =
true; m_allMatchesCount = value; }
60 inline void SetAllMatchesSum(
double value) { m_allMatchesSumHasBeenSet =
true; m_allMatchesSum = value; }
85 inline void SetPattern(
const Pattern& value) { m_patternHasBeenSet =
true; m_pattern = value; }
86 inline void SetPattern(
Pattern&& value) { m_patternHasBeenSet =
true; m_pattern = std::move(value); }
120 int m_allMatchesCount;
121 bool m_allMatchesCountHasBeenSet =
false;
123 double m_allMatchesSum;
124 bool m_allMatchesSumHasBeenSet =
false;
127 bool m_endTimeHasBeenSet =
false;
130 bool m_patternHasBeenSet =
false;
133 bool m_startTimeHasBeenSet =
false;
136 bool m_topMatchesHasBeenSet =
false;
void SetEndTime(Aws::Utils::DateTime &&value)
void SetAllMatchesSum(double value)
Recommendation & WithStartTime(Aws::Utils::DateTime &&value)
Recommendation & WithTopMatches(Aws::Vector< Match > &&value)
Recommendation & WithTopMatches(const Aws::Vector< Match > &value)
Recommendation & WithStartTime(const Aws::Utils::DateTime &value)
bool PatternHasBeenSet() const
int GetAllMatchesCount() const
Recommendation & WithPattern(Pattern &&value)
double GetAllMatchesSum() const
bool EndTimeHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
Recommendation & AddTopMatches(const Match &value)
bool TopMatchesHasBeenSet() const
Recommendation & WithPattern(const Pattern &value)
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)
void SetStartTime(const Aws::Utils::DateTime &value)
bool StartTimeHasBeenSet() const
Recommendation & WithAllMatchesSum(double value)
void SetPattern(Pattern &&value)
Recommendation & AddTopMatches(Match &&value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllMatchesCount(int value)
bool AllMatchesSumHasBeenSet() const
bool AllMatchesCountHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetTopMatches(Aws::Vector< Match > &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetPattern(const Pattern &value)
AWS_CODEGURUPROFILER_API Recommendation()
Recommendation & WithEndTime(Aws::Utils::DateTime &&value)
Recommendation & WithEndTime(const Aws::Utils::DateTime &value)
AWS_CODEGURUPROFILER_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
void SetTopMatches(const Aws::Vector< Match > &value)
Recommendation & WithAllMatchesCount(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue