7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/model/Category.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/eks/model/InsightStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/eks/model/InsightCategorySpecificSummary.h>
15#include <aws/eks/model/InsightResourceDetail.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
88 template<
typename KubernetesVersionT = Aws::String>
89 void SetKubernetesVersion(KubernetesVersionT&& value) { m_kubernetesVersionHasBeenSet =
true; m_kubernetesVersion = std::forward<KubernetesVersionT>(value); }
90 template<
typename KubernetesVersionT = Aws::String>
101 template<
typename LastRefreshTimeT = Aws::Utils::DateTime>
102 void SetLastRefreshTime(LastRefreshTimeT&& value) { m_lastRefreshTimeHasBeenSet =
true; m_lastRefreshTime = std::forward<LastRefreshTimeT>(value); }
103 template<
typename LastRefreshTimeT = Aws::Utils::DateTime>
113 template<
typename LastTransitionTimeT = Aws::Utils::DateTime>
114 void SetLastTransitionTime(LastTransitionTimeT&& value) { m_lastTransitionTimeHasBeenSet =
true; m_lastTransitionTime = std::forward<LastTransitionTimeT>(value); }
115 template<
typename LastTransitionTimeT = Aws::Utils::DateTime>
126 template<
typename DescriptionT = Aws::String>
127 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
128 template<
typename DescriptionT = Aws::String>
138 template<
typename InsightStatusT = InsightStatus>
139 void SetInsightStatus(InsightStatusT&& value) { m_insightStatusHasBeenSet =
true; m_insightStatus = std::forward<InsightStatusT>(value); }
140 template<
typename InsightStatusT = InsightStatus>
150 template<
typename RecommendationT = Aws::String>
151 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
152 template<
typename RecommendationT = Aws::String>
162 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
163 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
164 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
166 template<
typename AdditionalInfoKeyT = Aws::String,
typename AdditionalInfoValueT = Aws::String>
168 m_additionalInfoHasBeenSet =
true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
return *
this;
178 template<
typename ResourcesT = Aws::Vector<InsightResourceDetail>>
179 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
180 template<
typename ResourcesT = Aws::Vector<InsightResourceDetail>>
182 template<
typename ResourcesT = InsightResourceDetail>
183 Insight&
AddResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources.emplace_back(std::forward<ResourcesT>(value));
return *
this; }
194 template<
typename CategorySpecificSummaryT = InsightCategorySpecificSummary>
195 void SetCategorySpecificSummary(CategorySpecificSummaryT&& value) { m_categorySpecificSummaryHasBeenSet =
true; m_categorySpecificSummary = std::forward<CategorySpecificSummaryT>(value); }
196 template<
typename CategorySpecificSummaryT = InsightCategorySpecificSummary>
202 bool m_idHasBeenSet =
false;
205 bool m_nameHasBeenSet =
false;
208 bool m_categoryHasBeenSet =
false;
211 bool m_kubernetesVersionHasBeenSet =
false;
214 bool m_lastRefreshTimeHasBeenSet =
false;
217 bool m_lastTransitionTimeHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
222 InsightStatus m_insightStatus;
223 bool m_insightStatusHasBeenSet =
false;
226 bool m_recommendationHasBeenSet =
false;
229 bool m_additionalInfoHasBeenSet =
false;
232 bool m_resourcesHasBeenSet =
false;
234 InsightCategorySpecificSummary m_categorySpecificSummary;
235 bool m_categorySpecificSummaryHasBeenSet =
false;
const Aws::String & GetKubernetesVersion() const
bool IdHasBeenSet() const
Insight & WithLastRefreshTime(LastRefreshTimeT &&value)
bool KubernetesVersionHasBeenSet() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastTransitionTimeHasBeenSet() const
bool AdditionalInfoHasBeenSet() const
Insight & WithName(NameT &&value)
Insight & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
const InsightCategorySpecificSummary & GetCategorySpecificSummary() const
void SetInsightStatus(InsightStatusT &&value)
void SetKubernetesVersion(KubernetesVersionT &&value)
const Aws::Utils::DateTime & GetLastTransitionTime() const
void SetResources(ResourcesT &&value)
Insight & WithId(IdT &&value)
AWS_EKS_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
Category GetCategory() const
bool LastRefreshTimeHasBeenSet() const
const Aws::String & GetName() const
AWS_EKS_API Insight()=default
const Aws::Map< Aws::String, Aws::String > & GetAdditionalInfo() const
AWS_EKS_API Insight(Aws::Utils::Json::JsonView jsonValue)
Insight & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
void SetLastTransitionTime(LastTransitionTimeT &&value)
Insight & WithCategory(Category value)
void SetLastRefreshTime(LastRefreshTimeT &&value)
const Aws::Utils::DateTime & GetLastRefreshTime() const
void SetCategorySpecificSummary(CategorySpecificSummaryT &&value)
bool ResourcesHasBeenSet() const
void SetCategory(Category value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
Insight & WithKubernetesVersion(KubernetesVersionT &&value)
Insight & AddResources(ResourcesT &&value)
const Aws::String & GetId() const
Insight & WithResources(ResourcesT &&value)
bool CategorySpecificSummaryHasBeenSet() const
bool InsightStatusHasBeenSet() const
void SetRecommendation(RecommendationT &&value)
Insight & WithCategorySpecificSummary(CategorySpecificSummaryT &&value)
const Aws::Vector< InsightResourceDetail > & GetResources() const
void SetAdditionalInfo(AdditionalInfoT &&value)
Insight & WithRecommendation(RecommendationT &&value)
Insight & WithInsightStatus(InsightStatusT &&value)
Insight & WithLastTransitionTime(LastTransitionTimeT &&value)
bool RecommendationHasBeenSet() const
const Aws::String & GetRecommendation() const
void SetDescription(DescriptionT &&value)
Insight & WithAdditionalInfo(AdditionalInfoT &&value)
bool CategoryHasBeenSet() const
const InsightStatus & GetInsightStatus() const
bool NameHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue