7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/eks/EKS_EXPORTS.h>
11#include <aws/eks/model/Cancellation.h>
12#include <aws/eks/model/ErrorDetail.h>
13#include <aws/eks/model/UpdateParam.h>
14#include <aws/eks/model/UpdateStatus.h>
15#include <aws/eks/model/UpdateType.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
66 m_statusHasBeenSet =
true;
82 m_typeHasBeenSet =
true;
97 template <
typename ParamsT = Aws::Vector<UpdateParam>>
99 m_paramsHasBeenSet =
true;
100 m_params = std::forward<ParamsT>(value);
102 template <
typename ParamsT = Aws::Vector<UpdateParam>>
107 template <
typename ParamsT = UpdateParam>
109 m_paramsHasBeenSet =
true;
110 m_params.emplace_back(std::forward<ParamsT>(value));
121 template <
typename CreatedAtT = Aws::Utils::DateTime>
123 m_createdAtHasBeenSet =
true;
124 m_createdAt = std::forward<CreatedAtT>(value);
126 template <
typename CreatedAtT = Aws::Utils::DateTime>
139 template <
typename ErrorsT = Aws::Vector<ErrorDetail>>
141 m_errorsHasBeenSet =
true;
142 m_errors = std::forward<ErrorsT>(value);
144 template <
typename ErrorsT = Aws::Vector<ErrorDetail>>
149 template <
typename ErrorsT = ErrorDetail>
151 m_errorsHasBeenSet =
true;
152 m_errors.emplace_back(std::forward<ErrorsT>(value));
164 template <
typename CancellationT = Cancellation>
166 m_cancellationHasBeenSet =
true;
167 m_cancellation = std::forward<CancellationT>(value);
169 template <
typename CancellationT = Cancellation>
188 Cancellation m_cancellation;
189 bool m_idHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
191 bool m_typeHasBeenSet =
false;
192 bool m_paramsHasBeenSet =
false;
193 bool m_createdAtHasBeenSet =
false;
194 bool m_errorsHasBeenSet =
false;
195 bool m_cancellationHasBeenSet =
false;
Update & WithId(IdT &&value)
bool CancellationHasBeenSet() const
const Aws::String & GetId() const
Update & WithType(UpdateType value)
const Aws::Vector< UpdateParam > & GetParams() const
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
Update & AddParams(ParamsT &&value)
void SetStatus(UpdateStatus value)
Update & WithErrors(ErrorsT &&value)
AWS_EKS_API Update & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ParamsHasBeenSet() const
Update & AddErrors(ErrorsT &&value)
AWS_EKS_API Update()=default
void SetCancellation(CancellationT &&value)
UpdateType GetType() const
const Cancellation & GetCancellation() const
Update & WithCancellation(CancellationT &&value)
void SetType(UpdateType value)
Update & WithStatus(UpdateStatus value)
Update & WithParams(ParamsT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
void SetErrors(ErrorsT &&value)
AWS_EKS_API Update(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ErrorDetail > & GetErrors() const
UpdateStatus GetStatus() const
bool CreatedAtHasBeenSet() const
Update & WithCreatedAt(CreatedAtT &&value)
bool ErrorsHasBeenSet() const
void SetParams(ParamsT &&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