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>
56 inline void SetInsightId(
const char* value) { m_insightIdHasBeenSet =
true; m_insightId.assign(value); }
71 inline void SetInsightType(
const char* value) { m_insightTypeHasBeenSet =
true; m_insightType.assign(value); }
153 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
187 inline Insight&
AddInsightData(
Data&& value) { m_insightDataHasBeenSet =
true; m_insightData.push_back(std::move(value));
return *
this; }
207 bool m_insightIdHasBeenSet =
false;
210 bool m_insightTypeHasBeenSet =
false;
213 bool m_contextHasBeenSet =
false;
216 bool m_startTimeHasBeenSet =
false;
219 bool m_endTimeHasBeenSet =
false;
222 bool m_severityHasBeenSet =
false;
225 bool m_supportingInsightsHasBeenSet =
false;
228 bool m_descriptionHasBeenSet =
false;
231 bool m_recommendationsHasBeenSet =
false;
234 bool m_insightDataHasBeenSet =
false;
237 bool m_baselineDataHasBeenSet =
false;
const Aws::Vector< Recommendation > & GetRecommendations() const
void SetDescription(const char *value)
const Aws::String & GetInsightType() const
const Aws::String & GetDescription() const
void SetInsightType(const char *value)
Insight & WithEndTime(Aws::Utils::DateTime &&value)
Insight & WithRecommendations(Aws::Vector< Recommendation > &&value)
Insight & AddRecommendations(const Recommendation &value)
void SetStartTime(Aws::Utils::DateTime &&value)
Insight & WithRecommendations(const Aws::Vector< Recommendation > &value)
Insight & WithStartTime(Aws::Utils::DateTime &&value)
Insight & WithEndTime(const Aws::Utils::DateTime &value)
void SetInsightId(Aws::String &&value)
bool BaselineDataHasBeenSet() const
Insight & AddBaselineData(const Data &value)
void SetDescription(Aws::String &&value)
Insight & WithInsightType(Aws::String &&value)
Insight & AddSupportingInsights(const Insight &value)
void SetDescription(const Aws::String &value)
Insight & AddBaselineData(Data &&value)
Insight & AddRecommendations(Recommendation &&value)
Insight & WithInsightData(Aws::Vector< Data > &&value)
bool InsightIdHasBeenSet() const
void SetSeverity(const Severity &value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PI_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBaselineData(Aws::Vector< Data > &&value)
bool SeverityHasBeenSet() const
bool InsightTypeHasBeenSet() const
bool RecommendationsHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetContext(const ContextType &value)
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
void SetSupportingInsights(Aws::Vector< Insight > &&value)
Insight & AddInsightData(Data &&value)
Insight & WithSeverity(Severity &&value)
bool EndTimeHasBeenSet() const
bool ContextHasBeenSet() const
const Aws::String & GetInsightId() const
bool DescriptionHasBeenSet() const
Insight & WithInsightId(const char *value)
void SetBaselineData(const Aws::Vector< Data > &value)
void SetRecommendations(Aws::Vector< Recommendation > &&value)
Insight & WithInsightId(Aws::String &&value)
bool SupportingInsightsHasBeenSet() const
void SetInsightType(Aws::String &&value)
Insight & WithBaselineData(const Aws::Vector< Data > &value)
Insight & AddSupportingInsights(Insight &&value)
Insight & WithBaselineData(Aws::Vector< Data > &&value)
void SetInsightData(const Aws::Vector< Data > &value)
Insight & WithInsightData(const Aws::Vector< Data > &value)
void SetContext(ContextType &&value)
Insight & WithDescription(Aws::String &&value)
Insight & WithSupportingInsights(Aws::Vector< Insight > &&value)
Insight & AddInsightData(const Data &value)
Insight & WithInsightType(const Aws::String &value)
void SetInsightId(const Aws::String &value)
const ContextType & GetContext() const
bool InsightDataHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetSeverity(Severity &&value)
const Severity & GetSeverity() const
void SetRecommendations(const Aws::Vector< Recommendation > &value)
Insight & WithInsightType(const char *value)
Insight & WithStartTime(const Aws::Utils::DateTime &value)
void SetInsightId(const char *value)
const Aws::Vector< Data > & GetBaselineData() const
Insight & WithContext(ContextType &&value)
Insight & WithSeverity(const Severity &value)
Insight & WithContext(const ContextType &value)
void SetInsightType(const Aws::String &value)
Insight & WithDescription(const char *value)
void SetSupportingInsights(const Aws::Vector< Insight > &value)
const Aws::Vector< Insight > & GetSupportingInsights() const
void SetStartTime(const Aws::Utils::DateTime &value)
Insight & WithSupportingInsights(const Aws::Vector< Insight > &value)
Insight & WithDescription(const Aws::String &value)
Insight & WithInsightId(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetInsightData(Aws::Vector< Data > &&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