7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pi/model/ContextType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/pi/model/Severity.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/pi/model/Recommendation.h>
14#include <aws/pi/model/Data.h>
54 template<
typename InsightIdT = Aws::String>
55 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet =
true; m_insightId = std::forward<InsightIdT>(value); }
56 template<
typename InsightIdT = Aws::String>
67 template<
typename InsightTypeT = Aws::String>
68 void SetInsightType(InsightTypeT&& value) { m_insightTypeHasBeenSet =
true; m_insightType = std::forward<InsightTypeT>(value); }
69 template<
typename InsightTypeT = Aws::String>
90 template<
typename StartTimeT = Aws::Utils::DateTime>
91 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
92 template<
typename StartTimeT = Aws::Utils::DateTime>
103 template<
typename EndTimeT = Aws::Utils::DateTime>
104 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
105 template<
typename EndTimeT = Aws::Utils::DateTime>
127 template<
typename SupportingInsightsT = Aws::Vector<Insight>>
128 void SetSupportingInsights(SupportingInsightsT&& value) { m_supportingInsightsHasBeenSet =
true; m_supportingInsights = std::forward<SupportingInsightsT>(value); }
129 template<
typename SupportingInsightsT = Aws::Vector<Insight>>
131 template<
typename SupportingInsightsT = Insight>
132 Insight&
AddSupportingInsights(SupportingInsightsT&& value) { m_supportingInsightsHasBeenSet =
true; m_supportingInsights.emplace_back(std::forward<SupportingInsightsT>(value));
return *
this; }
143 template<
typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
145 template<
typename DescriptionT = Aws::String>
157 template<
typename RecommendationsT = Aws::Vector<Recommendation>>
158 void SetRecommendations(RecommendationsT&& value) { m_recommendationsHasBeenSet =
true; m_recommendations = std::forward<RecommendationsT>(value); }
159 template<
typename RecommendationsT = Aws::Vector<Recommendation>>
161 template<
typename RecommendationsT = Recommendation>
162 Insight&
AddRecommendations(RecommendationsT&& value) { m_recommendationsHasBeenSet =
true; m_recommendations.emplace_back(std::forward<RecommendationsT>(value));
return *
this; }
172 template<
typename InsightDataT = Aws::Vector<Data>>
173 void SetInsightData(InsightDataT&& value) { m_insightDataHasBeenSet =
true; m_insightData = std::forward<InsightDataT>(value); }
174 template<
typename InsightDataT = Aws::Vector<Data>>
176 template<
typename InsightDataT = Data>
177 Insight&
AddInsightData(InsightDataT&& value) { m_insightDataHasBeenSet =
true; m_insightData.emplace_back(std::forward<InsightDataT>(value));
return *
this; }
187 template<
typename BaselineDataT = Aws::Vector<Data>>
188 void SetBaselineData(BaselineDataT&& value) { m_baselineDataHasBeenSet =
true; m_baselineData = std::forward<BaselineDataT>(value); }
189 template<
typename BaselineDataT = Aws::Vector<Data>>
191 template<
typename BaselineDataT = Data>
192 Insight&
AddBaselineData(BaselineDataT&& value) { m_baselineDataHasBeenSet =
true; m_baselineData.emplace_back(std::forward<BaselineDataT>(value));
return *
this; }
197 bool m_insightIdHasBeenSet =
false;
200 bool m_insightTypeHasBeenSet =
false;
203 bool m_contextHasBeenSet =
false;
206 bool m_startTimeHasBeenSet =
false;
209 bool m_endTimeHasBeenSet =
false;
212 bool m_severityHasBeenSet =
false;
215 bool m_supportingInsightsHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
221 bool m_recommendationsHasBeenSet =
false;
224 bool m_insightDataHasBeenSet =
false;
227 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