AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InsightSummary.h
1
6#pragma once
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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EKS
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_EKS_API InsightSummary() = default;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 InsightSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 InsightSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline Category GetCategory() const { return m_category; }
72 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
73 inline void SetCategory(Category value) { m_categoryHasBeenSet = true; m_category = value; }
74 inline InsightSummary& WithCategory(Category value) { SetCategory(value); return *this;}
76
78
81 inline const Aws::String& GetKubernetesVersion() const { return m_kubernetesVersion; }
82 inline bool KubernetesVersionHasBeenSet() const { return m_kubernetesVersionHasBeenSet; }
83 template<typename KubernetesVersionT = Aws::String>
84 void SetKubernetesVersion(KubernetesVersionT&& value) { m_kubernetesVersionHasBeenSet = true; m_kubernetesVersion = std::forward<KubernetesVersionT>(value); }
85 template<typename KubernetesVersionT = Aws::String>
86 InsightSummary& WithKubernetesVersion(KubernetesVersionT&& value) { SetKubernetesVersion(std::forward<KubernetesVersionT>(value)); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetLastRefreshTime() const { return m_lastRefreshTime; }
95 inline bool LastRefreshTimeHasBeenSet() const { return m_lastRefreshTimeHasBeenSet; }
96 template<typename LastRefreshTimeT = Aws::Utils::DateTime>
97 void SetLastRefreshTime(LastRefreshTimeT&& value) { m_lastRefreshTimeHasBeenSet = true; m_lastRefreshTime = std::forward<LastRefreshTimeT>(value); }
98 template<typename LastRefreshTimeT = Aws::Utils::DateTime>
99 InsightSummary& WithLastRefreshTime(LastRefreshTimeT&& value) { SetLastRefreshTime(std::forward<LastRefreshTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastTransitionTime() const { return m_lastTransitionTime; }
107 inline bool LastTransitionTimeHasBeenSet() const { return m_lastTransitionTimeHasBeenSet; }
108 template<typename LastTransitionTimeT = Aws::Utils::DateTime>
109 void SetLastTransitionTime(LastTransitionTimeT&& value) { m_lastTransitionTimeHasBeenSet = true; m_lastTransitionTime = std::forward<LastTransitionTimeT>(value); }
110 template<typename LastTransitionTimeT = Aws::Utils::DateTime>
111 InsightSummary& WithLastTransitionTime(LastTransitionTimeT&& value) { SetLastTransitionTime(std::forward<LastTransitionTimeT>(value)); return *this;}
113
115
119 inline const Aws::String& GetDescription() const { return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 template<typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
123 template<typename DescriptionT = Aws::String>
124 InsightSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
126
128
131 inline const InsightStatus& GetInsightStatus() const { return m_insightStatus; }
132 inline bool InsightStatusHasBeenSet() const { return m_insightStatusHasBeenSet; }
133 template<typename InsightStatusT = InsightStatus>
134 void SetInsightStatus(InsightStatusT&& value) { m_insightStatusHasBeenSet = true; m_insightStatus = std::forward<InsightStatusT>(value); }
135 template<typename InsightStatusT = InsightStatus>
136 InsightSummary& WithInsightStatus(InsightStatusT&& value) { SetInsightStatus(std::forward<InsightStatusT>(value)); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Category m_category{Category::NOT_SET};
147 bool m_categoryHasBeenSet = false;
148
149 Aws::String m_kubernetesVersion;
150 bool m_kubernetesVersionHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastRefreshTime{};
153 bool m_lastRefreshTimeHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastTransitionTime{};
156 bool m_lastTransitionTimeHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 InsightStatus m_insightStatus;
162 bool m_insightStatusHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace EKS
167} // namespace Aws
const InsightStatus & GetInsightStatus() const
void SetDescription(DescriptionT &&value)
InsightSummary & WithLastTransitionTime(LastTransitionTimeT &&value)
const Aws::String & GetId() const
AWS_EKS_API InsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightSummary & WithDescription(DescriptionT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetLastRefreshTime(LastRefreshTimeT &&value)
void SetKubernetesVersion(KubernetesVersionT &&value)
const Aws::String & GetKubernetesVersion() const
InsightSummary & WithLastRefreshTime(LastRefreshTimeT &&value)
const Aws::Utils::DateTime & GetLastTransitionTime() const
const Aws::String & GetDescription() const
InsightSummary & WithName(NameT &&value)
InsightSummary & WithInsightStatus(InsightStatusT &&value)
InsightSummary & WithId(IdT &&value)
InsightSummary & WithKubernetesVersion(KubernetesVersionT &&value)
AWS_EKS_API InsightSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCategory(Category value)
void SetInsightStatus(InsightStatusT &&value)
InsightSummary & WithCategory(Category value)
const Aws::Utils::DateTime & GetLastRefreshTime() const
AWS_EKS_API InsightSummary()=default
void SetLastTransitionTime(LastTransitionTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue