7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/TerminateServiceJobsErrorDetail.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));
70 template <
typename ErrorsT = Aws::Vector<TerminateServiceJobsErrorDetail>>
72 m_errorsHasBeenSet =
true;
73 m_errors = std::forward<ErrorsT>(value);
75 template <
typename ErrorsT = Aws::Vector<TerminateServiceJobsErrorDetail>>
80 template <
typename ErrorsT = TerminateServiceJobsErrorDetail>
82 m_errorsHasBeenSet =
true;
83 m_errors.emplace_back(std::forward<ErrorsT>(value));
91 template <
typename RequestIdT = Aws::String>
93 m_requestIdHasBeenSet =
true;
94 m_requestId = std::forward<RequestIdT>(value);
96 template <
typename RequestIdT = Aws::String>
111 bool m_successfulHasBeenSet =
false;
112 bool m_errorsHasBeenSet =
false;
113 bool m_requestIdHasBeenSet =
false;
AWS_BATCH_API TerminateServiceJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TerminateServiceJobsResult & WithSuccessful(SuccessfulT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetSuccessful(SuccessfulT &&value)
const Aws::Vector< TerminateServiceJobsErrorDetail > & GetErrors() const
const Aws::String & GetRequestId() const
TerminateServiceJobsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetSuccessful() const
AWS_BATCH_API TerminateServiceJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BATCH_API TerminateServiceJobsResult()=default
TerminateServiceJobsResult & AddErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
TerminateServiceJobsResult & AddSuccessful(SuccessfulT &&value)
void SetErrors(ErrorsT &&value)
TerminateServiceJobsResult & WithErrors(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