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>
13#include <aws/groundstation/model/DescribeContactVersionRequest.h>
14#include <aws/groundstation/model/DescribeContactVersionResult.h>
15#include <aws/groundstation/model/VersionStatus.h>
20namespace GroundStation {
22template <
typename DerivedClient = GroundStationClient>
30 "ContactScheduledWaiter", Aws::Utils::WaiterState::FAILURE,
Aws::String(
"FAILED_TO_SCHEDULE"),
37 "ContactScheduledWaiter", Aws::Utils::WaiterState::SUCCESS,
Aws::String(
"SCHEDULED"),
44 auto operation = [
this](
const RequestT& req) {
return static_cast<DerivedClient*
>(
this)->DescribeContact(req); };
46 return waiter.
Wait(request);
55 "ContactUpdatedWaiter", Aws::Utils::WaiterState::FAILURE,
Aws::String(
"FAILED_TO_UPDATE"),
62 "ContactUpdatedWaiter", Aws::Utils::WaiterState::SUCCESS,
Aws::String(
"ACTIVE"),
69 auto operation = [
this](
const RequestT& req) {
return static_cast<DerivedClient*
>(
this)->DescribeContactVersion(req); };
71 return waiter.
Wait(request);
Aws::Utils::WaiterOutcome< Model::DescribeContactVersionOutcome > WaitUntilContactUpdated(const Model::DescribeContactVersionRequest &request)
Aws::Utils::WaiterOutcome< Model::DescribeContactOutcome > WaitUntilContactScheduled(const Model::DescribeContactRequest &request)
const R & GetResult() const
WaiterOutcome< OutcomeT > Wait(const RequestT &request)
AWS_GROUNDSTATION_API Aws::String GetNameForVersionStatus(VersionStatus value)
Aws::Utils::Outcome< DescribeContactVersionResult, GroundStationError > DescribeContactVersionOutcome
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