// Retrieves the specified quantum task.
Retrieves the specified quantum task.
// Retrieves the specified quantum task .
func (c *Client) GetQuantumTask(ctx context.Context, params *GetQuantumTaskInput, optFns ...func(*Options)) (*GetQuantumTaskOutput, error) {
	if params == nil {
		params = &GetQuantumTaskInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetQuantumTask", params, optFns, addOperationGetQuantumTaskMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetQuantumTaskOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetQuantumTask ( ctx context . Context , params * GetQuantumTaskInput , optFns ... func ( * Options ) ) ( * GetQuantumTaskOutput , error ) { if params == nil { params = & GetQuantumTaskInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetQuantumTaskMiddlewares ) if err != nil { return nil , err } out := result . ( * GetQuantumTaskOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves the specified quantum task.
Retrieves the specified quantum task .