7#include <aws/b2bi/B2BIClient.h>
8#include <aws/b2bi/model/GetTransformerJobRequest.h>
9#include <aws/b2bi/model/GetTransformerJobResult.h>
10#include <aws/b2bi/model/TransformerJobStatus.h>
11#include <aws/core/utils/Waiter.h>
12#include <aws/core/utils/memory/AWSMemory.h>
19template <
typename DerivedClient = B2BIClient>
28 "TransformerJobSucceededWaiter", Aws::Utils::WaiterState::SUCCESS,
Aws::String(
"succeeded"),
35 "TransformerJobSucceededWaiter", Aws::Utils::WaiterState::FAILURE,
Aws::String(
"failed"),
42 auto operation = [
this](
const RequestT& req) {
return static_cast<DerivedClient*
>(
this)->GetTransformerJob(req); };
44 return waiter.
Wait(request);
Aws::Utils::WaiterOutcome< Model::GetTransformerJobOutcome > WaitUntilTransformerJobSucceeded(const Model::GetTransformerJobRequest &request)
const R & GetResult() const
WaiterOutcome< OutcomeT > Wait(const RequestT &request)
Aws::Utils::Outcome< GetTransformerJobResult, B2BIError > GetTransformerJobOutcome
Crt::Variant< int, bool, Aws::String > ExpectedValue
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
UniquePtr< T > MakeUnique(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector