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/BatchGetStepError.h>
12#include <aws/deadline/model/BatchGetStepItem.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename StepsT = Aws::Vector<BatchGetStepItem>>
40 m_stepsHasBeenSet =
true;
41 m_steps = std::forward<StepsT>(value);
43 template <
typename StepsT = Aws::Vector<BatchGetStepItem>>
45 SetSteps(std::forward<StepsT>(value));
48 template <
typename StepsT = BatchGetStepItem>
50 m_stepsHasBeenSet =
true;
51 m_steps.emplace_back(std::forward<StepsT>(value));
61 template <
typename ErrorsT = Aws::Vector<BatchGetStepError>>
63 m_errorsHasBeenSet =
true;
64 m_errors = std::forward<ErrorsT>(value);
66 template <
typename ErrorsT = Aws::Vector<BatchGetStepError>>
71 template <
typename ErrorsT = BatchGetStepError>
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_stepsHasBeenSet =
false;
103 bool m_errorsHasBeenSet =
false;
104 bool m_requestIdHasBeenSet =
false;
void SetSteps(StepsT &&value)
BatchGetStepResult & WithRequestId(RequestIdT &&value)
BatchGetStepResult & WithErrors(ErrorsT &&value)
const Aws::Vector< BatchGetStepError > & GetErrors() const
void SetErrors(ErrorsT &&value)
const Aws::Vector< BatchGetStepItem > & GetSteps() const
BatchGetStepResult & AddSteps(StepsT &&value)
AWS_DEADLINE_API BatchGetStepResult()=default
AWS_DEADLINE_API BatchGetStepResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetStepResult & AddErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
BatchGetStepResult & WithSteps(StepsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DEADLINE_API BatchGetStepResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() 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