7#include <aws/core/utils/Waiter.h>
8#include <aws/core/utils/memory/AWSMemory.h>
9#include <aws/groundstation/GroundStationClient.h>
10#include <aws/groundstation/model/ContactStatus.h>
11#include <aws/groundstation/model/DescribeContactRequest.h>
12#include <aws/groundstation/model/DescribeContactResult.h>
17namespace GroundStation {
19template <
typename DerivedClient = GroundStationClient>
27 "ContactScheduledWaiter", Aws::Utils::WaiterState::FAILURE,
Aws::String(
"FAILED_TO_SCHEDULE"),
34 "ContactScheduledWaiter", Aws::Utils::WaiterState::SUCCESS,
Aws::String(
"SCHEDULED"),
41 auto operation = [
this](
const RequestT& req) {
return static_cast<DerivedClient*
>(
this)->DescribeContact(req); };
43 return waiter.
Wait(request);
Aws::Utils::WaiterOutcome< Model::DescribeContactOutcome > WaitUntilContactScheduled(const Model::DescribeContactRequest &request)
const R & GetResult() const
WaiterOutcome< OutcomeT > Wait(const RequestT &request)
Aws::Utils::Outcome< DescribeContactResult, GroundStationError > DescribeContactOutcome
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