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/ErrorDetail.h>
12#include <aws/eks/model/UpdateParam.h>
13#include <aws/eks/model/UpdateStatus.h>
14#include <aws/eks/model/UpdateType.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
65 m_statusHasBeenSet =
true;
81 m_typeHasBeenSet =
true;
96 template <
typename ParamsT = Aws::Vector<UpdateParam>>
98 m_paramsHasBeenSet =
true;
99 m_params = std::forward<ParamsT>(value);
101 template <
typename ParamsT = Aws::Vector<UpdateParam>>
106 template <
typename ParamsT = UpdateParam>
108 m_paramsHasBeenSet =
true;
109 m_params.emplace_back(std::forward<ParamsT>(value));
120 template <
typename CreatedAtT = Aws::Utils::DateTime>
122 m_createdAtHasBeenSet =
true;
123 m_createdAt = std::forward<CreatedAtT>(value);
125 template <
typename CreatedAtT = Aws::Utils::DateTime>
138 template <
typename ErrorsT = Aws::Vector<ErrorDetail>>
140 m_errorsHasBeenSet =
true;
141 m_errors = std::forward<ErrorsT>(value);
143 template <
typename ErrorsT = Aws::Vector<ErrorDetail>>
148 template <
typename ErrorsT = ErrorDetail>
150 m_errorsHasBeenSet =
true;
151 m_errors.emplace_back(std::forward<ErrorsT>(value));
167 bool m_idHasBeenSet =
false;
168 bool m_statusHasBeenSet =
false;
169 bool m_typeHasBeenSet =
false;
170 bool m_paramsHasBeenSet =
false;
171 bool m_createdAtHasBeenSet =
false;
172 bool m_errorsHasBeenSet =
false;
Update & WithId(IdT &&value)
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
UpdateType GetType() const
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