7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/CancelJobsErrorDetail.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template <
typename SuccessfulT = Aws::Vector<Aws::String>>
46 m_successfulHasBeenSet =
true;
47 m_successful = std::forward<SuccessfulT>(value);
49 template <
typename SuccessfulT = Aws::Vector<Aws::String>>
54 template <
typename SuccessfulT = Aws::String>
56 m_successfulHasBeenSet =
true;
57 m_successful.emplace_back(std::forward<SuccessfulT>(value));
69 template <
typename ErrorsT = Aws::Vector<CancelJobsErrorDetail>>
71 m_errorsHasBeenSet =
true;
72 m_errors = std::forward<ErrorsT>(value);
74 template <
typename ErrorsT = Aws::Vector<CancelJobsErrorDetail>>
79 template <
typename ErrorsT = CancelJobsErrorDetail>
81 m_errorsHasBeenSet =
true;
82 m_errors.emplace_back(std::forward<ErrorsT>(value));
90 template <
typename RequestIdT = Aws::String>
92 m_requestIdHasBeenSet =
true;
93 m_requestId = std::forward<RequestIdT>(value);
95 template <
typename RequestIdT = Aws::String>
110 bool m_successfulHasBeenSet =
false;
111 bool m_errorsHasBeenSet =
false;
112 bool m_requestIdHasBeenSet =
false;
AWS_BATCH_API CancelJobsResult()=default
CancelJobsResult & WithSuccessful(SuccessfulT &&value)
CancelJobsResult & WithErrors(ErrorsT &&value)
CancelJobsResult & AddErrors(ErrorsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
CancelJobsResult & AddSuccessful(SuccessfulT &&value)
AWS_BATCH_API CancelJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetSuccessful() const
void SetErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
void SetSuccessful(SuccessfulT &&value)
AWS_BATCH_API CancelJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelJobsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< CancelJobsErrorDetail > & GetErrors() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue