7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/model/UpdateStatus.h>
10#include <aws/eks/model/UpdateType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/eks/model/UpdateParam.h>
14#include <aws/eks/model/ErrorDetail.h>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
84 template<
typename ParamsT = Aws::Vector<UpdateParam>>
85 void SetParams(ParamsT&& value) { m_paramsHasBeenSet =
true; m_params = std::forward<ParamsT>(value); }
86 template<
typename ParamsT = Aws::Vector<UpdateParam>>
88 template<
typename ParamsT = UpdateParam>
89 Update&
AddParams(ParamsT&& value) { m_paramsHasBeenSet =
true; m_params.emplace_back(std::forward<ParamsT>(value));
return *
this; }
98 template<
typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
100 template<
typename CreatedAtT = Aws::Utils::DateTime>
110 template<
typename ErrorsT = Aws::Vector<ErrorDetail>>
111 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
112 template<
typename ErrorsT = Aws::Vector<ErrorDetail>>
114 template<
typename ErrorsT = ErrorDetail>
115 Update&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
120 bool m_idHasBeenSet =
false;
123 bool m_statusHasBeenSet =
false;
126 bool m_typeHasBeenSet =
false;
129 bool m_paramsHasBeenSet =
false;
132 bool m_createdAtHasBeenSet =
false;
135 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