7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKS_EXPORTS.h>
12#include <aws/eks/model/Category.h>
13#include <aws/eks/model/InsightCategorySpecificSummary.h>
14#include <aws/eks/model/InsightResourceDetail.h>
15#include <aws/eks/model/InsightStatus.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
85 m_categoryHasBeenSet =
true;
100 template <
typename KubernetesVersionT = Aws::String>
102 m_kubernetesVersionHasBeenSet =
true;
103 m_kubernetesVersion = std::forward<KubernetesVersionT>(value);
105 template <
typename KubernetesVersionT = Aws::String>
119 template <
typename LastRefreshTimeT = Aws::Utils::DateTime>
121 m_lastRefreshTimeHasBeenSet =
true;
122 m_lastRefreshTime = std::forward<LastRefreshTimeT>(value);
124 template <
typename LastRefreshTimeT = Aws::Utils::DateTime>
137 template <
typename LastTransitionTimeT = Aws::Utils::DateTime>
139 m_lastTransitionTimeHasBeenSet =
true;
140 m_lastTransitionTime = std::forward<LastTransitionTimeT>(value);
142 template <
typename LastTransitionTimeT = Aws::Utils::DateTime>
156 template <
typename DescriptionT = Aws::String>
158 m_descriptionHasBeenSet =
true;
159 m_description = std::forward<DescriptionT>(value);
161 template <
typename DescriptionT = Aws::String>
174 template <
typename InsightStatusT = InsightStatus>
176 m_insightStatusHasBeenSet =
true;
177 m_insightStatus = std::forward<InsightStatusT>(value);
179 template <
typename InsightStatusT = InsightStatus>
192 template <
typename RecommendationT = Aws::String>
194 m_recommendationHasBeenSet =
true;
195 m_recommendation = std::forward<RecommendationT>(value);
197 template <
typename RecommendationT = Aws::String>
210 template <
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
212 m_additionalInfoHasBeenSet =
true;
213 m_additionalInfo = std::forward<AdditionalInfoT>(value);
215 template <
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
220 template <
typename AdditionalInfoKeyT = Aws::String,
typename AdditionalInfoValueT = Aws::String>
222 m_additionalInfoHasBeenSet =
true;
223 m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
234 template <
typename ResourcesT = Aws::Vector<InsightResourceDetail>>
236 m_resourcesHasBeenSet =
true;
237 m_resources = std::forward<ResourcesT>(value);
239 template <
typename ResourcesT = Aws::Vector<InsightResourceDetail>>
244 template <
typename ResourcesT = InsightResourceDetail>
246 m_resourcesHasBeenSet =
true;
247 m_resources.emplace_back(std::forward<ResourcesT>(value));
260 template <
typename CategorySpecificSummaryT = InsightCategorySpecificSummary>
262 m_categorySpecificSummaryHasBeenSet =
true;
263 m_categorySpecificSummary = std::forward<CategorySpecificSummaryT>(value);
265 template <
typename CategorySpecificSummaryT = InsightCategorySpecificSummary>
286 InsightStatus m_insightStatus;
294 InsightCategorySpecificSummary m_categorySpecificSummary;
295 bool m_idHasBeenSet =
false;
296 bool m_nameHasBeenSet =
false;
297 bool m_categoryHasBeenSet =
false;
298 bool m_kubernetesVersionHasBeenSet =
false;
299 bool m_lastRefreshTimeHasBeenSet =
false;
300 bool m_lastTransitionTimeHasBeenSet =
false;
301 bool m_descriptionHasBeenSet =
false;
302 bool m_insightStatusHasBeenSet =
false;
303 bool m_recommendationHasBeenSet =
false;
304 bool m_additionalInfoHasBeenSet =
false;
305 bool m_resourcesHasBeenSet =
false;
306 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