7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/BatchGetWorkerError.h>
12#include <aws/deadline/model/BatchGetWorkerItem.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename WorkersT = Aws::Vector<BatchGetWorkerItem>>
40 m_workersHasBeenSet =
true;
41 m_workers = std::forward<WorkersT>(value);
43 template <
typename WorkersT = Aws::Vector<BatchGetWorkerItem>>
48 template <
typename WorkersT = BatchGetWorkerItem>
50 m_workersHasBeenSet =
true;
51 m_workers.emplace_back(std::forward<WorkersT>(value));
61 template <
typename ErrorsT = Aws::Vector<BatchGetWorkerError>>
63 m_errorsHasBeenSet =
true;
64 m_errors = std::forward<ErrorsT>(value);
66 template <
typename ErrorsT = Aws::Vector<BatchGetWorkerError>>
71 template <
typename ErrorsT = BatchGetWorkerError>
73 m_errorsHasBeenSet =
true;
74 m_errors.emplace_back(std::forward<ErrorsT>(value));
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
102 bool m_workersHasBeenSet =
false;
103 bool m_errorsHasBeenSet =
false;
104 bool m_requestIdHasBeenSet =
false;
AWS_DEADLINE_API BatchGetWorkerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
BatchGetWorkerResult & WithWorkers(WorkersT &&value)
const Aws::Vector< BatchGetWorkerItem > & GetWorkers() const
BatchGetWorkerResult & WithRequestId(RequestIdT &&value)
void SetErrors(ErrorsT &&value)
void SetWorkers(WorkersT &&value)
BatchGetWorkerResult & WithErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
BatchGetWorkerResult & AddWorkers(WorkersT &&value)
AWS_DEADLINE_API BatchGetWorkerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEADLINE_API BatchGetWorkerResult()=default
const Aws::Vector< BatchGetWorkerError > & GetErrors() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchGetWorkerResult & AddErrors(ErrorsT &&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