7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pi/PI_EXPORTS.h>
11#include <aws/pi/model/ContextType.h>
12#include <aws/pi/model/Data.h>
13#include <aws/pi/model/Recommendation.h>
14#include <aws/pi/model/Severity.h>
48 template <
typename InsightIdT = Aws::String>
50 m_insightIdHasBeenSet =
true;
51 m_insightId = std::forward<InsightIdT>(value);
53 template <
typename InsightIdT = Aws::String>
67 template <
typename InsightTypeT = Aws::String>
69 m_insightTypeHasBeenSet =
true;
70 m_insightType = std::forward<InsightTypeT>(value);
72 template <
typename InsightTypeT = Aws::String>
86 m_contextHasBeenSet =
true;
102 template <
typename StartTimeT = Aws::Utils::DateTime>
104 m_startTimeHasBeenSet =
true;
105 m_startTime = std::forward<StartTimeT>(value);
107 template <
typename StartTimeT = Aws::Utils::DateTime>
121 template <
typename EndTimeT = Aws::Utils::DateTime>
123 m_endTimeHasBeenSet =
true;
124 m_endTime = std::forward<EndTimeT>(value);
126 template <
typename EndTimeT = Aws::Utils::DateTime>
141 m_severityHasBeenSet =
true;
157 template <
typename SupportingInsightsT = Aws::Vector<Insight>>
159 m_supportingInsightsHasBeenSet =
true;
160 m_supportingInsights = std::forward<SupportingInsightsT>(value);
162 template <
typename SupportingInsightsT = Aws::Vector<Insight>>
167 template <
typename SupportingInsightsT = Insight>
169 m_supportingInsightsHasBeenSet =
true;
170 m_supportingInsights.emplace_back(std::forward<SupportingInsightsT>(value));
183 template <
typename DescriptionT = Aws::String>
185 m_descriptionHasBeenSet =
true;
186 m_description = std::forward<DescriptionT>(value);
188 template <
typename DescriptionT = Aws::String>
203 template <
typename RecommendationsT = Aws::Vector<Recommendation>>
205 m_recommendationsHasBeenSet =
true;
206 m_recommendations = std::forward<RecommendationsT>(value);
208 template <
typename RecommendationsT = Aws::Vector<Recommendation>>
213 template <
typename RecommendationsT = Recommendation>
215 m_recommendationsHasBeenSet =
true;
216 m_recommendations.emplace_back(std::forward<RecommendationsT>(value));
228 template <
typename InsightDataT = Aws::Vector<Data>>
230 m_insightDataHasBeenSet =
true;
231 m_insightData = std::forward<InsightDataT>(value);
233 template <
typename InsightDataT = Aws::Vector<Data>>
238 template <
typename InsightDataT = Data>
240 m_insightDataHasBeenSet =
true;
241 m_insightData.emplace_back(std::forward<InsightDataT>(value));
253 template <
typename BaselineDataT = Aws::Vector<Data>>
255 m_baselineDataHasBeenSet =
true;
256 m_baselineData = std::forward<BaselineDataT>(value);
258 template <
typename BaselineDataT = Aws::Vector<Data>>
263 template <
typename BaselineDataT = Data>
265 m_baselineDataHasBeenSet =
true;
266 m_baselineData.emplace_back(std::forward<BaselineDataT>(value));
292 bool m_insightIdHasBeenSet =
false;
293 bool m_insightTypeHasBeenSet =
false;
294 bool m_contextHasBeenSet =
false;
295 bool m_startTimeHasBeenSet =
false;
296 bool m_endTimeHasBeenSet =
false;
297 bool m_severityHasBeenSet =
false;
298 bool m_supportingInsightsHasBeenSet =
false;
299 bool m_descriptionHasBeenSet =
false;
300 bool m_recommendationsHasBeenSet =
false;
301 bool m_insightDataHasBeenSet =
false;
302 bool m_baselineDataHasBeenSet =
false;
Insight & WithDescription(DescriptionT &&value)
const Aws::Vector< Recommendation > & GetRecommendations() const
const Aws::String & GetInsightType() const
const Aws::String & GetDescription() const
void SetInsightId(InsightIdT &&value)
AWS_PI_API Insight()=default
Insight & WithSeverity(Severity value)
void SetEndTime(EndTimeT &&value)
bool BaselineDataHasBeenSet() const
Insight & WithRecommendations(RecommendationsT &&value)
Insight & WithInsightType(InsightTypeT &&value)
Insight & WithBaselineData(BaselineDataT &&value)
Severity GetSeverity() const
bool InsightIdHasBeenSet() const
void SetInsightType(InsightTypeT &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PI_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SeverityHasBeenSet() const
bool InsightTypeHasBeenSet() const
bool RecommendationsHasBeenSet() const
bool StartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_PI_API Insight(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Vector< Data > & GetInsightData() const
bool EndTimeHasBeenSet() const
void SetSeverity(Severity value)
bool ContextHasBeenSet() const
const Aws::String & GetInsightId() const
bool DescriptionHasBeenSet() const
Insight & AddBaselineData(BaselineDataT &&value)
Insight & WithSupportingInsights(SupportingInsightsT &&value)
void SetBaselineData(BaselineDataT &&value)
bool SupportingInsightsHasBeenSet() const
void SetDescription(DescriptionT &&value)
Insight & AddRecommendations(RecommendationsT &&value)
Insight & WithInsightData(InsightDataT &&value)
Insight & AddInsightData(InsightDataT &&value)
ContextType GetContext() const
Insight & WithContext(ContextType value)
void SetStartTime(StartTimeT &&value)
Insight & WithStartTime(StartTimeT &&value)
void SetContext(ContextType value)
Insight & WithInsightId(InsightIdT &&value)
bool InsightDataHasBeenSet() const
void SetRecommendations(RecommendationsT &&value)
void SetSupportingInsights(SupportingInsightsT &&value)
Insight & AddSupportingInsights(SupportingInsightsT &&value)
const Aws::Vector< Data > & GetBaselineData() const
const Aws::Vector< Insight > & GetSupportingInsights() const
Insight & WithEndTime(EndTimeT &&value)
void SetInsightData(InsightDataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue